Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MEC Robot Test Suite
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Commits
d2095e21
Commit
d2095e21
authored
3 years ago
by
piscione
Browse files
Options
Downloads
Patches
Plain Diff
Minor fix.
parent
c307f838
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2
V2.2.1 dev
Pipeline
#6920
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MEC028/WAI/SUB/WaiSubscription.robot
+34
-36
34 additions, 36 deletions
MEC028/WAI/SUB/WaiSubscription.robot
with
34 additions
and
36 deletions
MEC028/WAI/SUB/WaiSubscription.robot
+
34
−
36
View file @
d2095e21
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment