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
e2bb313e
Commit
e2bb313e
authored
Feb 18, 2021
by
Michele Carignani
Browse files
fix
#33
and
#34
parent
915d18a3
Pipeline
#6124
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
GenericKeywords.robot
View file @
e2bb313e
...
...
@@ -25,7 +25,8 @@ Should Be Present In Json List
[
Arguments
]
${expr}
${json_field}
${json_value}
Log
Check if
${json_field}
is present in
${expr}
with the value
${json_value}
:FOR
${item}
IN
@{expr}
\
Exit For Loop If
${item[${json_field}]}
=
=
${json_value}
\
${are_equal}
=
Should Be Equal As Strings
${item["${json_field}"]}
${json_value}
\
Exit For Loop If
${are_equal}
Log
Item found
${item}
[
return
]
${item}
...
...
SRV/UELOCLOOK/PlatUeLocationLookup.robot
View file @
e2bb313e
...
...
@@ -3,7 +3,6 @@
Documentation
...
A test suite for validating UE Location Lookup (UELOCLOOK) operations.
Resource
../../GenericKeywords.robot
Resource
environment/variables.txt
Library
REST
${SCHEMA}
://
${HOST}
:
${PORT}
ssl_verify=false
...
...
@@ -30,7 +29,6 @@ TC_MEC_SRV_UELOCLOOK_001_OK
Check HTTP Response Body Json Schema Is
UserList
Check Result Contains
${response['body']['userList']['user']}
zoneId
${ZONE_ID}
TC_MEC_SRV_UELOCLOOK_001_BR
[
Documentation
]
...
Check that the IUT responds with an error when
...
...
@@ -39,10 +37,9 @@ TC_MEC_SRV_UELOCLOOK_001_BR
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.3
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Get list of user equipments
z
one
${ZONE_ID}
Get list of user equipments
z
0n3
${ZONE_ID}
Check HTTP Response Status Code Is
400
TC_MEC_SRV_UELOCLOOK_001_NF
[
Documentation
]
...
Check that the IUT responds with an error when
...
...
@@ -52,10 +49,7 @@ TC_MEC_SRV_UELOCLOOK_001_NF
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Get list of user equipments
zoneId
${NON_EXISTENT_ZONE_ID}
Check HTTP Response Status Code Is
404
Check HTTP Response Status Code Is
200
TC_MEC_SRV_UELOCLOOK_002_OK
[
Documentation
]
...
...
@@ -66,9 +60,10 @@ TC_MEC_SRV_UELOCLOOK_002_OK
...
OpenAPI
https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserInfo
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Get specific user equipments
${USER_ID}
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
UserInfo
Log
Deprecated
# Get specific user equipments ${USER_ID}
# Check HTTP Response Status Code Is 200
# Check HTTP Response Body Json Schema Is UserInfo
TC_MEC_SRV_UELOCLOOK_002_NF
...
...
Michele Carignani
@carignani
mentioned in issue
#40 (closed)
·
Feb 18, 2021
mentioned in issue
#40 (closed)
mentioned in issue #40
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