Should Not Be Empty${response['body']['_links']['self']['href']}
[TearDown]Remove Subscription Info${Location}
TC_MEC_MEC015_SRV_BW_SUB_NOT_001_BR_01
[Documentation]
...Check that the IUT acknowledges the creation of BWM change event subscription request when commanded by a MEC Application
...ReferenceETSI GS MEC 015 3.1.1, clause 6.2.6.1
...ETSI GS MEC 015 3.1.1, clause 7.3.2
...ETSI GS MEC 015 3.1.1, clause 8.5.3.4
Should Be True${PIC_MEC_SYSTEM}== 1
Should Be True${PIC_SERVICES}== 1
Create New Subscription Info with Invalid subscriptionTypeBwChgEventSubscription
Check HTTP Response Status Code Is400
TC_MEC_MEC015_SRV_BW_SUB_NOT_001_BR_02
[Documentation]
...Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Both callbackReference and websockNotifConfig provided
...ReferenceETSI GS MEC 015 3.1.1, clause 6.2.6.1
...ETSI GS MEC 015 3.1.1, clause 7.3.2
...ETSI GS MEC 015 3.1.1, clause 8.5.3.4
Should Be True${PIC_MEC_SYSTEM}== 1
Should Be True${PIC_SERVICES}== 1
Create New Subscription InfoBwChgEventSubscription_BR
Check HTTP Response Status Code Is400
TC_MEC_MEC015_SRV_BW_SUB_NOT_001_BR_03
[Documentation]
...Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided
...ReferenceETSI GS MEC 015 3.1.1, clause 6.2.6.1
...ETSI GS MEC 015 3.1.1, clause 7.3.2
...ETSI GS MEC 015 3.1.1, clause 8.5.3.4
Should Be True${PIC_MEC_SYSTEM}== 1
Should Be True${PIC_SERVICES}== 1
Create New Subscription InfoBwChgEventSubscription_BR_02
Check HTTP Response Status Code Is400
TC_MEC_MEC015_SRV_BW_SUB_NOT_002_OK
[Documentation]
...Check that the IUT acknowledges the update of BWM change event subscription request when commanded by a MEC Application
...ReferenceETSI GS MEC 015 3.1.1, clause 6.2.6.3
...ETSI GS MEC 015 3.1.1, clause 7.3.2
...ETSI GS MEC 015 3.1.1, clause 8.6.3.2
[Setup]Create New Subscription InfoBwChgEventSubscription
Set Suite Variable${Location}${response['headers']['Location']}
${elements}=Split String${Location}/
${SUBSCRIPTION_ID}=Get From List${elements}-1
Set Suite Variable${SUBSCRIPTION_ID}${SUBSCRIPTION_ID}