Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
828b7b5d
Commit
828b7b5d
authored
Dec 15, 2019
by
Elian Kraja
Committed by
Michele Carignani
May 28, 2020
Browse files
Fix on RobotFiles
parent
57280f5a
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
248 additions
and
211 deletions
+248
-211
SRV/RLOCLOOK/PlatRadioNodeLocation.robot
SRV/RLOCLOOK/PlatRadioNodeLocation.robot
+1
-1
SRV/RLOCLOOK/schemas/AccessPointList.schema.json
SRV/RLOCLOOK/schemas/AccessPointList.schema.json
+127
-123
SRV/UEAREASUB/PlatUeAreaSubscription.robot
SRV/UEAREASUB/PlatUeAreaSubscription.robot
+2
-3
SRV/UEINFOSUB/PlatUeInformationSubscription.robot
SRV/UEINFOSUB/PlatUeInformationSubscription.robot
+3
-4
SRV/UEINFOSUB/environment/variables.txt
SRV/UEINFOSUB/environment/variables.txt
+1
-1
SRV/UEINFOSUB/schemas/ZonalTrafficSubscription.schema.json
SRV/UEINFOSUB/schemas/ZonalTrafficSubscription.schema.json
+70
-74
SRV/UELOCLOOK/PlatUeLocationLookup.robot
SRV/UELOCLOOK/PlatUeLocationLookup.robot
+41
-4
SRV/UELOCLOOK/environment/variables.txt
SRV/UELOCLOOK/environment/variables.txt
+2
-0
SRV/UELOCSUB/PlatUeLocationSubscription.robot
SRV/UELOCSUB/PlatUeLocationSubscription.robot
+1
-1
No files found.
SRV/RLOCLOOK/PlatRadioNodeLocation.robot
View file @
828b7b5d
...
...
@@ -25,7 +25,7 @@ TC_MEC_SRV_RLOCLOOK_001_OK
Get the access points list
${ZONE_ID}
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
AccessPointList
Check Result Conta
ins
${response['body']['accessPointList']
}
zoneId
${ZONE_ID}
Should Be Equal As Str
in
g
s
${response['body']['accessPointList']
['
zoneId
']}
${ZONE_ID}
TC_MEC_SRV_RLOCLOOK_001_NF
...
...
SRV/RLOCLOOK/schemas/AccessPointList.schema.json
View file @
828b7b5d
{
"properties"
:
{
"accessPointList"
:
{
"description"
:
"A type containing list of access points."
,
"type"
:
"object"
,
"required"
:
[
...
...
@@ -121,4 +123,6 @@
"example"
:
"http://example.com/exampleAPI/location/v1/subscriptions/userTracking/subscription123"
}
}
}
\ No newline at end of file
}
}
}
\ No newline at end of file
SRV/UEAREASUB/PlatUeAreaSubscription.robot
View file @
828b7b5d
...
...
@@ -26,9 +26,8 @@ TC_MEC_SRV_UEAREASUB_001_OK
Create new subscription
CircleNotificationSubscription
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
CircleNotificationSubscription
Check Result Contains
${response['body']['circleNotificationSubscription']}
clientCorrelator
${UEAREASUB_CLIENT_ID}
Check Result Contains
${response['body']['circleNotificationSubscription']}
callbackReference
${APP_UEAREASUB_CALLBACK_URI}
Check Result Contains
${response['body']['circleNotificationSubscription']}
address
${IP_ADDRESS}
Should Be Equal As Strings
${response['body']['circleNotificationSubscription']['callbackReference']}
${APP_UEAREASUB_CALLBACK_URI}
Should Be Equal As Strings
${response['body']['circleNotificationSubscription']['address']}
${IP_ADDRESS}
...
...
SRV/UEINFOSUB/PlatUeInformationSubscription.robot
View file @
828b7b5d
...
...
@@ -25,9 +25,8 @@ TC_MEC_SRV_UEINFOSUB_001_OK
Create new subscription
ZonalTrafficSubscription
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
ZonalTrafficSubscription
Check Result Contains
${response['body']['zonalTrafficSubscription']}
clientCorrelator
${ZONAL_TRAF_SUB_CLIENT_ID}
Check Result Contains
${response['body']['zonalTrafficSubscription']}
callbackReference
${ZONAL_TRAF_NOTIF_CALLBACK_URI}
Check Result Contains
${response['body']['zonalTrafficSubscription']}
zoneId
${ZONAL_TRAF_ZONE_ID}
Should Be Equal As Strings
${response['body']['zonalTrafficSubscription']['callbackReference']}
${ZONAL_TRAF_NOTIF_CALLBACK_URI}
Should Be Equal As Strings
${response['body']['zonalTrafficSubscription']['zoneId']}
${ZONAL_TRAF_ZONE_ID}
TC_MEC_SRV_UEINFOSUB_001_BR
...
...
@@ -55,7 +54,7 @@ TC_MEC_SRV_UEINFOSUB_002_OK
Check HTTP Response Status Code Is
204
TC_MEC_SRV_UE
DIST
SUB_002_NF
TC_MEC_SRV_UE
INFO
SUB_002_NF
[
Documentation
]
...
Check that the IUT responds with an error when
...
a request for an unknown URI is sent by a MEC Application
...
...
SRV/UEINFOSUB/environment/variables.txt
View file @
828b7b5d
...
...
@@ -12,7 +12,7 @@ ${apiVersion} v2
# Specific variables
${ZONAL_TRAF_SUB_CLIENT_ID} 0123
${ZONAL_TRAF_NOTIF_CALLBACK_URI} {"notifyURL": "http://clientApp.example.com/location_notifications/123456"}
${ZONAL_TRAF_ZONE_ID} zone
0
1
${ZONAL_TRAF_ZONE_ID} zone1
${SUBSCRIPTION_ID} e0deee2b-6e50-4f33-ab09-8bf0585025d3
${NON_EXISTENT_SUBSCRIPTION_ID} NON_EXISTENT_SUBSCRIPTION_ID
\ No newline at end of file
SRV/UEINFOSUB/schemas/ZonalTrafficSubscription.schema.json
View file @
828b7b5d
{
"name"
:
"zonalTrafficSubscription"
,
"in"
:
"body"
,
"description"
:
"Zonal Traffic Subscription"
,
"required"
:
true
,
"schema"
:
{
"zonalTrafficSubscription"
:
{
"description"
:
"A type containing zonal traffic subscription"
,
"type"
:
"object"
,
"required"
:
[
...
...
SRV/UELOCLOOK/PlatUeLocationLookup.robot
View file @
828b7b5d
...
...
@@ -11,7 +11,8 @@ Library OperatingSystem
Default Tags
TC_MEC_SRV_UELOCLOOK
*** Variables ***
${response}
*** Test Cases ***
...
...
@@ -20,7 +21,7 @@ TC_MEC_SRV_UELOCLOOK_001_OK
...
Check that the IUT responds with a list for the location of User Equipments
...
when queried by a MEC Application
...
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.
2
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.
3
...
OpenAPI
https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserInfo
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
...
...
@@ -35,7 +36,7 @@ TC_MEC_SRV_UELOCLOOK_001_BR
...
Check that the IUT responds with an error when
...
a request with incorrect parameters is sent by a MEC Application
...
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.
2
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.
3
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Get list of user equipments
zone
${ZONE_ID}
...
...
@@ -53,6 +54,34 @@ TC_MEC_SRV_UELOCLOOK_001_NF
Get list of user equipments
zoneId
${NON_EXISTENT_ZONE_ID}
Check HTTP Response Status Code Is
404
TC_MEC_SRV_UELOCLOOK_002_OK
[
Documentation
]
...
Check that the IUT responds with a User Equipment information
...
when queried by a MEC Application
...
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.2
...
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
TC_MEC_SRV_UELOCLOOK_002_NF
[
Documentation
]
...
Check that the IUT responds with an error when
...
a request for an unknown URI is sent by a MEC Application
...
...
Reference
ETSI GS MEC 013 V2.1.1, clause 7.3.2
[
Tags
]
PIC_MEC_PLAT
PIC_SERVICES
Get specific user equipments
${NON_EXISTENT_USER_ID}
Check HTTP Response Status Code Is
404
*** Keywords ***
Get list of user equipments
[
Arguments
]
${key}
${value}
...
...
@@ -61,3 +90,11 @@ Get list of user equipments
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/users?
${key}
=
${value}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
Get specific user equipments
[
Arguments
]
${userId}
Set Headers
{"Accept":"application/json"}
Set Headers
{"Authorization":"
${TOKEN}
"}
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/users/
${userId}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
SRV/UELOCLOOK/environment/variables.txt
View file @
828b7b5d
...
...
@@ -11,4 +11,6 @@ ${apiVersion} v2
# Specific variables
${ZONE_ID} zone01
${USER_ID} ue1
${NON_EXISTENT_USER_ID} NON_EXISTENT_USER_ID
${NON_EXISTENT_ZONE_ID} NON_EXISTENT_ZONE_ID
\ No newline at end of file
SRV/UELOCSUB/PlatUeLocationSubscription.robot
View file @
828b7b5d
...
...
@@ -13,7 +13,7 @@ Default Tags TC_MEC_SRV_UELOCSUB
*** Variables ***
${response}
*** Test Cases ***
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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