Commit b27338ee authored by piscione's avatar piscione
Browse files

Merge branch 'TTF_T027' of https://forge.etsi.org/rep/mec/gs032p3-robot-test-suite into TTF_T027

parents a8ac0b59 c3a387cd
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ TC_MEC_MEC016_MEO_UEAPPCTX_002_BR
    [Setup]    Create application context    AppContext.json
    Set Suite Variable    ${contextId_tbu}    ${response['body']['contextId']}

    Update application context    ${context-id}    UpdateAppContext_BR.json
    Update application context    ${contextId_tbu}    UpdateAppContext_BR.json
    Check HTTP Response Status Code Is    400

    [Teardown]    Delete application context    ${contextId_tbu}
@@ -106,7 +106,11 @@ TC_MEC_MEC016_MEO_UEAPPCTX_003_OK
    # Preamble
    Should Be True    ${PIC_MEC_SYSTEM} == 1
    Should Be True    ${PIC_SERVICES} == 1
    Delete application context    ${context-id}
    
    [Setup]    Create application context    AppContext.json
    Set Suite Variable    ${contextId_tbd}    ${response['body']['contextId']}

    Delete application context    ${contextId_tbd}
    Check HTTP Response Status Code Is    204


+287 −84

File changed.

Preview size limit exceeded, changes collapsed.

+9 −4
Original line number Diff line number Diff line
*** Variables ***
# Generic variables
${AMS_SCHEMA}                   http
${AMS_HOST}                     10.192.2.172
${AMS_PORT}                     8081
${AMS_HOST}                     mockoon
${AMS_PORT}                     3006
${response}                         {}
${TOKEN}                            Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}        
${apiName}        
${apiName}        amsi
${apiVersion}     v1

# Specific variables
${APP_MOBILITY_SERVICE_ID}          KtRGymNQ84dG3mQfRepa
${APP_MOBILITY_SERVICE_ID}          APP_MOBILITY_SERVICE_ID
${APP_MOBILITY_SERVICE_ID2}          APP_MOBILITY_SERVICE_ID2
${MALFORMED_APP_MOBILITY_SERVICE_ID}          MALFORMED_APP_MOBILITY_SERVICE_ID
${APP_MOBILITY_SERVICE_FILTER_APP_MOBILITY_SERVICE_ID}        (eq,appMobilityServiceId,APP_MOBILITY_SERVICE_ID)
${APP_MOBILITY_SERVICE_FILTER_SERVICE_CONSUMER_ID}        (eq,serviceConsumerId[appInstanceId],5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f)
${APP_MOBILITY_SERVICE_FILTER_EXCLUDE_FIELDS}        (eq,appMobilityServiceId,APP_MOBILITY_SERVICE_ID)&exclude_fields=[serviceConsumerId]
${APP_INS_ID}                       5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f
${SUBSCRIPTION_TYPE}                MobilityProcedureSubscription
${SUBSCRIPTION_ID}                  e0deee2b-6e50-4f33-ab09-8bf0585025d3
+16 −0
Original line number Diff line number Diff line
{
    "callbackReference": "http://example.com/callback",
    "requestTestNotification": true,
    "websockNotifConfig": {
        "websocketUri": "ws://example.com/websocket",
        "requestWebsocketUri": true
    },
    "expiryDeadline": {
        "seconds": 1644691200,
        "nanoSeconds": 0
    },
    "filterCriteria": {
        "appInstanceId": "app-123"
    },
    "subscriptionType": "AdjacentAppInfoSubscription"
}
 No newline at end of file
+16 −0
Original line number Diff line number Diff line
{
    "callbackReference": "http://example.com/callback",
    "requestTestNotification": true,
    "websockNotifConfig": {
        "websocketUri": "ws://example.com/websocket",
        "requestWebsocketUri": true
    },
    "expiryDeadline": {
        "seconds": 1644691200,
        "nanoSeconds": 0
    },
    "filterCriteria": {
        "appInstanceId": "app-123"
    },
    "subscriptionType": "INVALID_SUBSCRIPTION_TYPE"
}
 No newline at end of file
Loading