Loading MEC014/SRV/UETAG/PlatUeIdentity.robot +25 −12 Original line number Diff line number Diff line Loading @@ -12,10 +12,13 @@ Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_v *** Test Cases *** TC_MEC_MEC014_SRV_UETAG_001_OK [Documentation] Request UE Identity Tag information ... Check that the IUT responds with the information on a UE Identity tag when queried by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.1, ... ETSI GS MEC 014 3.1.1, clause 6.2.2 [Documentation] ... Check that the IUT responds with the information on a UE Identity tag ... when queried by a MEC Application ... ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2, ... ETSI GS MEC 014 3.1.1, clause 7.3.3.1 ... [Setup] Create new App Instance CreateAppInstanceRequest Get UE Identity Tag information ${APP_INSTANCE_ID} ${UE_IDENTITY_TAG} Check HTTP Response Status Code Is 200 Loading @@ -32,9 +35,15 @@ TC_MEC_MEC014_SRV_UETAG_001_OK TC_MEC_MEC014_SRV_UETAG_001_BR [Documentation] Request UE Identity Tag information using bad parameters ... Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.1 [Documentation] ... Check that the IUT responds with an error ... when a request with incorrect parameters is sent by a MEC Application ... Reference ETSI GS MEC 013 3.1.1 Clause 5.3.4, ... ETSI GS MEC 013 3.1.1 Clause 6.3.9, ... ETSI GS MEC 013 3.1.1 Clause 6.4.9, ... ETSI GS MEC 013 3.1.1 Clause 7.14.3.4 [Setup] Create new App Instance CreateAppInstanceRequest Get UE Identity Tag information using bad parameters ${APP_INSTANCE_ID} ${UE_IDENTITY_TAG} Check HTTP Response Status Code Is 400 Loading @@ -54,8 +63,10 @@ TC_MEC_MEC014_SRV_UETAG_001_NF TC_MEC_MEC014_SRV_UETAG_002_OK [Documentation] Register an UE Identity Tag ... Check that the IUT registers a tag (representing a UE) or a list of tags when commanded by a MEC Application ... Reference ETSI GS MEC 014 V3.1.1, clause 7.3.3.2 ... Reference https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/UeIdentityTagInfo ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2 ... ETSI GS MEC 014 V3.1.1, clause 7.3.3.2 [Setup] Create new App Instance and Check User Identity Tag unregistered state CreateAppInstanceRequest ${APP_INSTANCE_ID} UeIdentityTag Update an UE Identity Tag ${APP_INSTANCE_ID} IdentityTag Check HTTP Response Status Code Is 200 Loading @@ -74,13 +85,14 @@ TC_MEC_MEC014_SRV_UETAG_002_OK TC_MEC_MEC014_SRV_UETAG_002_BR [Documentation] Register an UE Identity Tag using invalid state ... Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.2, ... ETSI GS MEC 014 3.1.1, clause 6.2.2 ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2, ... ETSI GS MEC 014 3.1.1, clause 7.3.3.2 [Setup] Create new App Instance CreateAppInstanceRequest Update an UE Identity Tag ${APP_INSTANCE_ID} IdentityTagBR Check HTTP Response Status Code Is 400 [TearDown] Delete APP Instance ${APP_INSTANCE_ID} TC_MEC_MEC014_SRV_UETAG_002_NF [Documentation] Register an UE Identity Tag using invalid state ... Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application Loading Loading @@ -119,7 +131,8 @@ Create new App Instance Create new App Instance and Check User Identity Tag unregistered state [Arguments] ${content} ${app_instance_id} ${ue_identity_tag} Get UE Identity Tag information ${app_instance_id} ${ue_identity_tag} Create new App Instance ${content} Get UE Identity Tag information ${APP_INSTANCE_ID} ${ue_identity_tag} FOR ${identityTag} IN @{response['body']['ueIdentityTags']} ${ueidentity_tag} Run Keyword And Return Status Should Be Equal As Strings ${identityTag}[ueIdentityTag] ${ue_identity_tag} ${registered_flag} Run Keyword And Return Status Should Be Equal As Strings ${identityTag}[state] UNREGISTERED Loading MEC014/SRV/UETAG/jsons/CreateAppInstanceRequest.json +1 −1 Original line number Diff line number Diff line { "appDId": "e0deee2b-6e50-4f33-ab09-8bf0585025d3", "appInstanceDescription": "description", "appInstanceName": "name" "appInstanceName": "appName" } No newline at end of file Loading
MEC014/SRV/UETAG/PlatUeIdentity.robot +25 −12 Original line number Diff line number Diff line Loading @@ -12,10 +12,13 @@ Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_v *** Test Cases *** TC_MEC_MEC014_SRV_UETAG_001_OK [Documentation] Request UE Identity Tag information ... Check that the IUT responds with the information on a UE Identity tag when queried by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.1, ... ETSI GS MEC 014 3.1.1, clause 6.2.2 [Documentation] ... Check that the IUT responds with the information on a UE Identity tag ... when queried by a MEC Application ... ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2, ... ETSI GS MEC 014 3.1.1, clause 7.3.3.1 ... [Setup] Create new App Instance CreateAppInstanceRequest Get UE Identity Tag information ${APP_INSTANCE_ID} ${UE_IDENTITY_TAG} Check HTTP Response Status Code Is 200 Loading @@ -32,9 +35,15 @@ TC_MEC_MEC014_SRV_UETAG_001_OK TC_MEC_MEC014_SRV_UETAG_001_BR [Documentation] Request UE Identity Tag information using bad parameters ... Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.1 [Documentation] ... Check that the IUT responds with an error ... when a request with incorrect parameters is sent by a MEC Application ... Reference ETSI GS MEC 013 3.1.1 Clause 5.3.4, ... ETSI GS MEC 013 3.1.1 Clause 6.3.9, ... ETSI GS MEC 013 3.1.1 Clause 6.4.9, ... ETSI GS MEC 013 3.1.1 Clause 7.14.3.4 [Setup] Create new App Instance CreateAppInstanceRequest Get UE Identity Tag information using bad parameters ${APP_INSTANCE_ID} ${UE_IDENTITY_TAG} Check HTTP Response Status Code Is 400 Loading @@ -54,8 +63,10 @@ TC_MEC_MEC014_SRV_UETAG_001_NF TC_MEC_MEC014_SRV_UETAG_002_OK [Documentation] Register an UE Identity Tag ... Check that the IUT registers a tag (representing a UE) or a list of tags when commanded by a MEC Application ... Reference ETSI GS MEC 014 V3.1.1, clause 7.3.3.2 ... Reference https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/UeIdentityTagInfo ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2 ... ETSI GS MEC 014 V3.1.1, clause 7.3.3.2 [Setup] Create new App Instance and Check User Identity Tag unregistered state CreateAppInstanceRequest ${APP_INSTANCE_ID} UeIdentityTag Update an UE Identity Tag ${APP_INSTANCE_ID} IdentityTag Check HTTP Response Status Code Is 200 Loading @@ -74,13 +85,14 @@ TC_MEC_MEC014_SRV_UETAG_002_OK TC_MEC_MEC014_SRV_UETAG_002_BR [Documentation] Register an UE Identity Tag using invalid state ... Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.2, ... ETSI GS MEC 014 3.1.1, clause 6.2.2 ... Reference ETSI GS MEC 014 3.1.1, clause 6.2.2, ... ETSI GS MEC 014 3.1.1, clause 7.3.3.2 [Setup] Create new App Instance CreateAppInstanceRequest Update an UE Identity Tag ${APP_INSTANCE_ID} IdentityTagBR Check HTTP Response Status Code Is 400 [TearDown] Delete APP Instance ${APP_INSTANCE_ID} TC_MEC_MEC014_SRV_UETAG_002_NF [Documentation] Register an UE Identity Tag using invalid state ... Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application Loading Loading @@ -119,7 +131,8 @@ Create new App Instance Create new App Instance and Check User Identity Tag unregistered state [Arguments] ${content} ${app_instance_id} ${ue_identity_tag} Get UE Identity Tag information ${app_instance_id} ${ue_identity_tag} Create new App Instance ${content} Get UE Identity Tag information ${APP_INSTANCE_ID} ${ue_identity_tag} FOR ${identityTag} IN @{response['body']['ueIdentityTags']} ${ueidentity_tag} Run Keyword And Return Status Should Be Equal As Strings ${identityTag}[ueIdentityTag] ${ue_identity_tag} ${registered_flag} Run Keyword And Return Status Should Be Equal As Strings ${identityTag}[state] UNREGISTERED Loading
MEC014/SRV/UETAG/jsons/CreateAppInstanceRequest.json +1 −1 Original line number Diff line number Diff line { "appDId": "e0deee2b-6e50-4f33-ab09-8bf0585025d3", "appInstanceDescription": "description", "appInstanceName": "name" "appInstanceName": "appName" } No newline at end of file