diff --git a/MEC014/SRV/UETAG/PlatUeIdentity.robot b/MEC014/SRV/UETAG/PlatUeIdentity.robot index 5a1de9249272e99ea72eba6874ea8bece6c705d9..d7b7f0e4cdeb33ff0e7c4befff2165c19f90c4a0 100644 --- a/MEC014/SRV/UETAG/PlatUeIdentity.robot +++ b/MEC014/SRV/UETAG/PlatUeIdentity.robot @@ -5,7 +5,6 @@ Resource environment/variables.txt Resource ../../../pics.txt Resource ../../../GenericKeywords.robot -Resource resources/UEidentityAPI.robot Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false @@ -97,7 +96,7 @@ 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 ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.2 - [Setup] Delete APP Instance ${NON_EXISTENT_APP_INSTANCE_ID} + #[Setup] Delete APP Instance ${NON_EXISTENT_APP_INSTANCE_ID} Update an UE Identity Tag ${NON_EXISTENT_APP_INSTANCE_ID} IdentityTag Check HTTP Response Status Code Is 404 diff --git a/MEC014/SRV/UETAG/resources/LocationAPI.robot b/MEC014/SRV/UETAG/resources/LocationAPI.robot deleted file mode 100644 index 012566b6272c851febfcbd5da8e253a8e7733b2c..0000000000000000000000000000000000000000 --- a/MEC014/SRV/UETAG/resources/LocationAPI.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Settings *** -Resource ../environment/variables.txt -Resource LocationAPI.robot -#Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false -Library JSONSchemaLibrary schemas/ - -*** Keywords *** -Check Location - [Arguments] ${value} - Log Check Location for userInfo element - Should be Equal ${response['body']['userInfo']['zoneId']} ${value} - Log Location OK diff --git a/MEC014/SRV/UETAG/resources/UEidentityAPI.robot b/MEC014/SRV/UETAG/resources/UEidentityAPI.robot deleted file mode 100644 index 1cb3e49838af816d6e14841a82655d2e534d5be7..0000000000000000000000000000000000000000 --- a/MEC014/SRV/UETAG/resources/UEidentityAPI.robot +++ /dev/null @@ -1,28 +0,0 @@ -*** Settings *** -Resource ../environment/variables.txt -Resource ../../../../pics.txt -Resource ../../../../GenericKeywords.robot -Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false -Library JSONSchemaLibrary schemas/ - - -*** Keywords *** -Check User Identity Tag state - [Arguments] ${ue_identity_tag} ${state} - Should Be True ${PIC_MEC_PLAT} 1 - Should Be True ${PIC_SERVICES} 1 - Log Check ueIdentityTag state ${state} - Set Headers {"Accept":"application/json"} - Set Headers {"Content-Type":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Set Headers {"Content-Length":"0"} - Get /exampleAPI/ui/v1/${APP_INSTANCE_ID}/ue_identity_tag_info?ueIdentityTag=${ue_identity_tag} - ${output}= Output response - Set Suite Variable ${response} ${output} - Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is ueIdentityTagInfo - #Log Check ueIdentityTagsList for ${UE_IDENTITY_TAG} element - ${result}= Should Be Present In Json List ${response['body']['ueIdentityTagInfo']['ueIdentityTags']} ueIdentityTag ${UE_IDENTITY_TAG} - #Log ${UE_IDENTITY_TAG} found with state ${result} - Should Be Equal ${result}[state] ${state} - [return] ${state}