Commit 988a9802 authored by piscione's avatar piscione
Browse files

Fixes on TCs of MEC013

parent 783c288a
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -15,9 +15,10 @@ Default Tags TC_MEC_SRV_UEAREASUB


*** Test Cases ***
TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_01
TC_MEC_MEC013_SRV_UEAREALOOK_001_OK_01
    [Documentation]
    ...    Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - No filter
    ...    Check that the IUT responds with a list of UE area subscriptions 
    ...    when queried by a MEC Application - No filter
    ...
    ...    Reference   ETSI GS MEC 013 3.1.1 Clause 5.3.2
    ...    ETSI GS MEC 013 3.1.1 Clause 6.3.3
@@ -32,9 +33,10 @@ TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_01
    [TearDown]   Remove subscription    ${SUB_ID}


TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_02
TC_MEC_MEC013_SRV_UEAREALOOK_001_OK_02
    [Documentation]
    ...    Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - No filter
    ...    Check that the IUT responds with a list of UE area subscriptions 
    ...    when queried by a MEC Application - No filter
    ...
    ...    Reference   ETSI GS MEC 013 3.1.1 Clause 5.3.2
    ...    ETSI GS MEC 013 3.1.1 Clause 6.3.8
@@ -50,7 +52,7 @@ TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_02
    [TearDown]   Remove subscription    ${SUB_ID}


TP_MEC_MEC013_SRV_UEAREALOOK_002_OK
TC_MEC_MEC013_SRV_UEAREALOOK_002_OK
    [Documentation]
    ...    Check that the IUT acknowledges the change of UE area subscription request 
    ...    when commanded by a MEC Application
@@ -68,7 +70,7 @@ TP_MEC_MEC013_SRV_UEAREALOOK_002_OK
    [TearDown]   Remove subscription    ${SUB_ID}


TP_MEC_MEC013_SRV_UEAREALOOK_002_NF
TC_MEC_MEC013_SRV_UEAREALOOK_002_NF
    [Documentation]
    ...    Check that the IUT responds with an error 
    ...    when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application
@@ -127,6 +129,7 @@ Create new subscription
    Set Headers    {"Authorization":"${TOKEN}"}
    ${file}=    Catenate    SEPARATOR=    jsons/    ${content}    .json
    ${body}=    Get File    ${file}
    Log     ${apiRoot}/${apiName}/${apiVersion}/subscriptions/area
    Post    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/area    ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
+1 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "UserAreaSubscription",
    "callbackReference" :"somecallback",
    "areaDefine": {
        "shape": 1,
        "points": [
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ ${response}


*** Test Cases ***

TC_MEC_MEC013_SRV_UEDISTLOOK_001_OK
    [Documentation]
    ...    Check that the IUT responds with the list of UE distance subscriptions to a UE 
@@ -97,6 +96,7 @@ Create new subscription
    Set Headers    {"Authorization":"${TOKEN}"}
    ${file}=    Catenate    SEPARATOR=    jsons/    ${content}    .json
    ${body}=    Get File    ${file}
    Log   ${body}
    Post    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/distance    ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
+15 −17
Original line number Diff line number Diff line
{
                    "userDistanceSubscription": {
      "subscriptionType": "UserDistanceSubscription",
      "clientCorrelator": "0123",
      "callbackReference": "http://my.callback.com/user-distance/some-id",
@@ -15,4 +14,3 @@
      "criteria": "AllWithinDistance",
      "checkImmediate": true
}
 No newline at end of file
                  }
 No newline at end of file
+6 −6
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ TC_MEC_MEC013_SRV_UELOCLOOK_002_OK_03


    
TP_MEC_MEC013_SRV_UELOCLOOK_002_BR
TC_MEC_MEC013_SRV_UELOCLOOK_002_BR
        [Documentation]
    ...  Check that the IUT responds with an error when 
    ...   inconsistent request was sent by a MEC Application - Invalid filter
@@ -104,7 +104,7 @@ TP_MEC_MEC013_SRV_UELOCLOOK_002_BR
    


TP_MEC_MEC013_SRV_UELOCLOOK_002_NF
TC_MEC_MEC013_SRV_UELOCLOOK_002_NF
        [Documentation]
    ...  Check that the IUT responds with an error 
    ...  when inconsistent request was sent by a MEC Application
@@ -113,14 +113,14 @@ TP_MEC_MEC013_SRV_UELOCLOOK_002_NF
    ...    ETSI GS MEC 013 3.1.1, clause 7.5.3.1

    [Tags]    PIC_MEC_PLAT    PIC_SERVICES
    [Setup]   Create multiple subscriptions and get sub ids    UserLocationEventSubscription    UserLocationPeriodicSubscription
    [Setup]   Remove subscriptions    ${SUB_ID_01}   ${SUB_ID_02}
    Get subscriptions
    Check HTTP Response Status Code Is    404
    [TearDown]   Remove subscriptions    ${SUB_ID_01}   ${SUB_ID_02}
    


TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_01
TC_MEC_MEC013_SRV_UELOCLOOK_003_OK_01
    [Documentation]
    ...    Check that the IUT responds with the subscription 
    ...    when queried by a MEC Application - UE location Event
@@ -139,7 +139,7 @@ TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_01
    [TearDown]   Remove subscription    ${SUB_ID}
    

TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_02
TC_MEC_MEC013_SRV_UELOCLOOK_003_OK_02
    [Documentation]
    ...    Check that the IUT responds with the subscription when queried by a MEC Application - UE location Periodic
    ...
@@ -158,7 +158,7 @@ TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_02
    

    
TP_MEC_MEC013_SRV_UELOCLOOK_003_NF
TC_MEC_MEC013_SRV_UELOCLOOK_003_NF
    [Documentation]
    ...    Check that the IUT responds with an error 
    ...    when the non existing subscription is queried by a MEC Application
Loading