Skip to content
Snippets Groups Projects
Commit 30948435 authored by scivoletto's avatar scivoletto
Browse files

added preamble and postable to MEC016 MEO UEAPPCTX

parent 6696d307
No related branches found
No related tags found
1 merge request!3Merge of TT027 branch into master
......@@ -23,7 +23,9 @@ TC_MEC_MEC016_MEO_UEAPPCTX_001_OK
Check HTTP Response Body Json Schema Is AppContext
Check HTTP Response Header Contains Location
Should Be Equal As Strings ${response['body']['appInfo']['appName']} MyNewWornderfulApp
Set Suite Variable ${contextId} ${response['body']['contextId']}
Set Suite Variable ${contextId_tbd} ${response['body']['contextId']}
[Teardown] Delete application context ${contextId_tbd}
TC_MEC_MEC016_MEO_UEAPPCTX_001_BR
......@@ -55,10 +57,17 @@ TC_MEC_MEC016_MEO_UEAPPCTX_002_OK
... Reference https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml
Should Be True ${PIC_MEC_SYSTEM} == 1
Should Be True ${PIC_SERVICES} == 1
[Setup] Create application context AppContext.json
Set Suite Variable ${contextId_tbu} ${response['body']['contextId']}
# Test Body
Update application context ${context-id} UpdateAppContext.json
Update application context ${contextId_tbu} UpdateAppContext.json
Check HTTP Response Status Code Is 204
[Teardown] Delete application context ${contextId_tbu}
TC_MEC_MEC016_MEO_UEAPPCTX_002_BR
[Documentation]
... Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
......@@ -66,9 +75,15 @@ TC_MEC_MEC016_MEO_UEAPPCTX_002_BR
... Reference https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml
Should Be True ${PIC_MEC_SYSTEM} == 1
Should Be True ${PIC_SERVICES} == 1
[Setup] Create application context AppContext.json
Set Suite Variable ${contextId_tbu} ${response['body']['contextId']}
Update application context ${context-id} UpdateAppContext_BR.json
Check HTTP Response Status Code Is 400
[Teardown] Delete application context ${contextId_tbu}
TC_MEC_MEC016_MEO_UEAPPCTX_002_NF
[Documentation]
......@@ -78,6 +93,7 @@ TC_MEC_MEC016_MEO_UEAPPCTX_002_NF
# Preamble
Should Be True ${PIC_MEC_SYSTEM} == 1
Should Be True ${PIC_SERVICES} == 1
Update application context using wrong endpoint ${context-id} UpdateAppContext.json
Check HTTP Response Status Code Is 404
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment