Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Commits
76ef6941
Commit
76ef6941
authored
May 07, 2021
by
piscione
Browse files
Minor fix.
parent
6d098739
Changes
1
Hide whitespace changes
Inline
Side-by-side
MEC028/WAI/SUB/WaiSubscription.robot
View file @
76ef6941
...
@@ -9,43 +9,7 @@ Library String
...
@@ -9,43 +9,7 @@ Library String
Library
OperatingSystem
Library
OperatingSystem
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
#POST
*** Test Cases ***
*** Test Cases ***
TP_MEC_MEC028_SRV_WAI_007_OK
[
Documentation
]
...
Check that the IUT responds with a Notification Subscription
...
Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription
AssocStaSubscription.json
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
AssocStaSubscription
Should Be Equal As Strings
${response['body']['subscriptionType']}
${SUB_TYPE}
Should Be Equal As Strings
${response['body']['_links']['self']['href']}
${HREF}
Should Be Equal As Strings
${response['headers']['Location']}
${HREF}
TP_MEC_MEC028_SRV_WAI_007_BR
[
Documentation
]
...
Check that the IUT responds with an error when an invalid Subscription request is sent
...
ETSI GS MEC 028 2.1.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription
AssocStaSubscription_BR.json
Check HTTP Response Status Code Is
400
TP_MEC_MEC028_SRV_WAI_007_NF
[
Documentation
]
...
Check that the IUT responds with an error when a request with not existing parameters is sent
...
Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription using wrong endpoint
AssocStaSubscription.json
Check HTTP Response Status Code Is
404
#GET
TP_MEC_MEC028_SRV_WAI_005_OK
TP_MEC_MEC028_SRV_WAI_005_OK
[
Documentation
]
[
Documentation
]
...
Check that the IUT responds with the requested list of subscription
...
Check that the IUT responds with the requested list of subscription
...
@@ -93,6 +57,40 @@ TP_MEC_MEC028_SRV_WAI_006_NF
...
@@ -93,6 +57,40 @@ TP_MEC_MEC028_SRV_WAI_006_NF
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Retrieve the subscription information using wrong endpoint
Retrieve the subscription information using wrong endpoint
Check HTTP Response Status Code Is
404
Check HTTP Response Status Code Is
404
TP_MEC_MEC028_SRV_WAI_007_OK
[
Documentation
]
...
Check that the IUT responds with a Notification Subscription
...
Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription
AssocStaSubscription.json
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
AssocStaSubscription
Should Be Equal As Strings
${response['body']['subscriptionType']}
${SUB_TYPE}
Should Be Equal As Strings
${response['body']['_links']['self']['href']}
${HREF}
Should Be Equal As Strings
${response['headers']['Location']}
${HREF}
TP_MEC_MEC028_SRV_WAI_007_BR
[
Documentation
]
...
Check that the IUT responds with an error when an invalid Subscription request is sent
...
ETSI GS MEC 028 2.1.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription
AssocStaSubscription_BR.json
Check HTTP Response Status Code Is
400
TP_MEC_MEC028_SRV_WAI_007_NF
[
Documentation
]
...
Check that the IUT responds with an error when a request with not existing parameters is sent
...
Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Send a request for creating a subscription using wrong endpoint
AssocStaSubscription.json
Check HTTP Response Status Code Is
404
*** Keywords ***
*** Keywords ***
Send a request for creating a subscription
Send a request for creating a subscription
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment