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
a28c0a04
Commit
a28c0a04
authored
Feb 03, 2021
by
Michele Carignani
Browse files
fix RnisSubscriptions_BV
parent
a6952dbd
Pipeline
#5887
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
SRV/RNIS/RnisSubscriptions_BV.robot
View file @
a28c0a04
...
...
@@ -20,7 +20,9 @@ Request RNIS subscription list
Get RNIS subscription list
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
SubscriptionLinkList
Check Subscription
${response['body']}
${SUBSCRIPTION_VALUE}
# The following step is faulty in the design, thus it is commented. It is kept since
# it is required by the Test Purpose TP_MEC_SRV_RNIS_011_OK
# Check Subscription ${response['body']} ${SUBSCRIPTION_VALUE}
Create RNIS subscription
...
...
@@ -28,9 +30,9 @@ Create RNIS subscription
...
Check that the RNIS service creates a new RNIS subscription
...
ETSI GS MEC 012 2.1.1, clause 7.6.3.4
...
Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml
Post RNIS subscription request
CellChangeSubscription
Post RNIS subscription request
CellChangeSubscription
Request
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
CellChangeSubscription
Request
Check HTTP Response Body Json Schema Is
CellChangeSubscription
Check CellChangeSubscription
${response['body']}
...
...
@@ -79,7 +81,8 @@ Post RNIS subscription request
Set Headers
{"Accept":"application/json"}
Set Headers
{"Content-Type":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
${body}
=
Get File
jsons/CellChangeSubscriptionRequest.json
${json_file}
=
Catenate
SEPARATOR=
jsons/
${content}
.json
${body}
=
Get File
${json_file}
${body}
=
Replace String
${body}
\
${HREF}
${HREF}
${body}
=
Replace String
${body}
\
${LINKS_SELF}
${LINKS_SELF}
Log
${body}
...
...
SRV/RNIS/resources/RadioNetworkInformationAPI.robot
View file @
a28c0a04
...
...
@@ -19,7 +19,7 @@ Check Subscription
Check CellChangeSubscription
[
Arguments
]
${received_value}
Should Be Equal
${received_value['_links']['self']}
${LINKS_SELF}
Should Be Equal
${received_value['_links']['self']
['href']
}
${LINKS_SELF}
Check RabInfo
...
...
Michele Carignani
@carignani
mentioned in issue
#30 (closed)
·
Feb 03, 2021
mentioned in issue
#30 (closed)
mentioned in issue #30
Toggle commit list
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