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
80c9d45b
Commit
80c9d45b
authored
Aug 08, 2019
by
Yann Garcia
Browse files
Merge with MEC 021 work
parent
1a9fad41
Changes
5
Hide whitespace changes
Inline
Side-by-side
SRV/RNIS/RnisQuery_BV.robot
View file @
80c9d45b
...
...
@@ -3,8 +3,8 @@
*** Settings ***
Resource
environment/variables.txt
Resource
environment
/pics.txt
Resource
resources
/GenericKeywords.robot
Resource
../..
/pics.txt
Resource
../..
/GenericKeywords.robot
Resource
resources/RadioNetworkInformationAPI.robot
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
...
...
SRV/RNIS/RnisSpecificSubscription_BI_BO.robot
View file @
80c9d45b
...
...
@@ -3,8 +3,8 @@
*** Settings ***
Resource
environment/variables.txt
Resource
environment
/pics.txt
Resource
resources
/GenericKeywords.robot
Resource
../..
/pics.txt
Resource
../..
/GenericKeywords.robot
Resource
resources/RadioNetworkInformationAPI.robot
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
...
...
SRV/RNIS/RnisSpecificSubscription_BV.robot
View file @
80c9d45b
...
...
@@ -3,8 +3,8 @@
*** Settings ***
Resource
environment/variables.txt
Resource
environment
/pics.txt
Resource
resources
/GenericKeywords.robot
Resource
../..
/pics.txt
Resource
../..
/GenericKeywords.robot
Resource
resources/RadioNetworkInformationAPI.robot
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
...
...
SRV/RNIS/resources/GenericKeywords.robot
deleted
100644 → 0
View file @
1a9fad41
*** Settings ***
Resource
../environment/variables.txt
Resource
GenericKeywords.robot
Library
REST
${MEC-APP_SCHEMA}
://
${MEC-APP_HOST}
:
${MEC-APP_PORT}
ssl_verify=false
Library
JSONSchemaLibrary
schemas/
*** Keywords ***
Get User Equipment for location with filters
[
Arguments
]
${value}
Set Headers
{"Accept":"application/json"}
Get
/location/v2/users/
${value}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
Check HTTP Response Status Code Is
[
Arguments
]
${expected_status}
${status}
=
Convert To Integer
${expected_status}
Should Be Equal
${response['status']}
${status}
Log
Status code validated
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Should Be Present In Json List
[
Arguments
]
${expr}
${json_field}
${json_value}
Log
Check if
${json_field}
is present in
${expr}
with the value
${jsonvalue}
:FOR
${item}
IN
@{expr}
\
Exit For Loop If
"
${item['${json_field}']}
" == "
${json_value}
"
Log
Item found
${item}
[
return
]
${item}
Check Result Contains
[
Arguments
]
${source}
${parameter}
${value}
Should Be Present In Json List
${source}
${parameter}
${value}
Check ProblemDetails
[
Arguments
]
${expected_status}
${status}
=
Convert To Integer
${expected_status}
Should Be Equal
${response['body']['problemDetails']['status']}
${status}
Log
ProblemDetails Status code validated
pics.txt
View file @
80c9d45b
*** Variables ***
${PIC_MEC_PLAT} 1
${PIC_MEC_PLAT} 1
${PIC_SERVICES} 1
${PIC_RNIS_QUERY} 1
${PIC_AMS} 1
\ No newline at end of file
${PIC_RNIS_SPECIFIC_SUBSCRIPTION} 1
${PIC_AMS} 1
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