Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Compare revisions
77ab3899808459758e67ca3defa3a106d1716340...83ee998a6e8ee2ae0c3e98cfac8ec6e6c18dfe3b
Commits (3)
Fix issue
#44
· 4a53b4a9
Elian Kraja
authored
Oct 08, 2021
4a53b4a9
Upgrading test to v2.2.1. Editorial updates
· e6df2bf7
Elian Kraja
authored
Oct 08, 2021
e6df2bf7
Editorial fixes
· 83ee998a
Elian Kraja
authored
Oct 08, 2021
83ee998a
Hide whitespace changes
Inline
Side-by-side
MEC028/WAI/AP_INFO/WaiApInfo.robot
View file @
83ee998a
...
...
@@ -15,7 +15,7 @@ TP_MEC_MEC028_SRV_WAI_001_OK
[
Documentation
]
...
Check that the IUT responds with the list of WLAN Access Point
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/ApInfo
##Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/ApInfo
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the access point information
...
...
@@ -32,7 +32,7 @@ TP_MEC_MEC028_SRV_WAI_002_OK
[
Documentation
]
...
Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/ApInfo
##Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/ApInfo
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the access point information using filters
${filter}
...
...
@@ -50,7 +50,7 @@ TP_MEC_MEC028_SRV_WAI_002_BR
[
Documentation
]
...
Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/ApInfo
##Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/ApInfo
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the access point information using filters
${bad_filter}
...
...
MEC028/WAI/EXT_SUB/ExistingSubscription.robot
View file @
83ee998a
...
...
@@ -14,7 +14,7 @@ TP_MEC_MEC028_SRV_WAI_008_OK
[
Documentation
]
...
Check that the IUT responds with the list of Subscription"
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
##Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve existing subscription information
${SUB_ID}
...
...
@@ -22,7 +22,7 @@ TP_MEC_MEC028_SRV_WAI_008_OK
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']['callbackReference']}
${CALLBACK_URI}
Should Be Equal As Strings
${response['body']['apId']['
macI
d']}
${
MAC
_ID}
Should Be Equal As Strings
${response['body']['apId']['
bssi
d']}
${
BSS
_ID}
TP_MEC_MEC028_SRV_WAI_008_NF
[
Documentation
]
...
...
@@ -47,7 +47,7 @@ TP_MEC_MEC028_SRV_WAI_009_OK
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']['callbackReference']}
${NEW_CALLBACK_URI}
Should Be Equal As Strings
${response['body']['apId']['
macI
d']}
${
MAC
_ID}
Should Be Equal As Strings
${response['body']['apId']['
bssi
d']}
${
BSS
_ID}
TP_MEC_MEC028_SRV_WAI_009_BR
[
Documentation
]
...
...
MEC028/WAI/EXT_SUB/environment/variables.txt
View file @
83ee998a
...
...
@@ -14,4 +14,4 @@ ${SUB_ID} 1
${NOT_EXISTING_SUB_ID} 99
${CALLBACK_URI} http://callback.uri/1
${NEW_CALLBACK_URI} http://new.callback.uri/1
${MAC_ID} macId01
\ No newline at end of file
${BSS_ID} bssid01
\ No newline at end of file
MEC028/WAI/EXT_SUB/jsons/UpdateAssocStaSubscription.json
View file @
83ee998a
{
"_links"
:{
"href"
:
""
},
"apId"
:
{
"macId"
:
"macId01"
},
"callbackReference"
:
"http://new.callback.uri/1"
,
"subscriptionType"
:
"AssocStaSubscription"
"subscriptionType"
:
"AssocStaSubscription"
,
"callbackReference"
:
"http://meAppClient.example.com/wai/v2/notifications/3"
,
"_links"
:
{
"self"
:
{
"href"
:
"http://meAppServer.example.com/wai/v2/subscriptions/sub123"
}
},
"apId"
:
{
"bssid"
:
"005C0A0A0A0A"
},
"notificationEvent"
:
{
"threshold"
:
1
,
"trigger"
:
1
}
}
\ No newline at end of file
MEC028/WAI/EXT_SUB/jsons/UpdateAssocStaSubscription_BR.json
View file @
83ee998a
{
"_links"
:{
"href"
:
""
},
"apId"
:
{
"macId"
:
"macId01"
},
"callbackReference"
:
"http://callback.uri/1"
,
"subscriptionType"
:
"INVALID_VALUE"
"subscription"
:
"AssocStaSubscription"
,
"callback"
:
"http://meAppClient.example.com/wai/v2/notifications/3"
,
"_links"
:
{
"self"
:
{
"href"
:
"http://meAppServer.example.com/wai/v2/subscriptions/sub123"
}
},
"apId"
:
{
"bssid"
:
"005C0A0A0A0A"
},
"notificationEvent"
:
{
"threshold"
:
1
,
"trigger"
:
1
}
}
\ No newline at end of file
MEC028/WAI/MEAS/WaiMeasurement.robot
View file @
83ee998a
...
...
@@ -57,8 +57,8 @@ TP_MEC_MEC028_SRV_WAI_014_OK
...
"https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList"
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Check HTTP Response Body Json Schema Is
MeasurementConfig
Retrieve a specified measurement configuration
${MEAS_ID}
Check HTTP Response Body Json Schema Is
MeasurementConfig
Check HTTP Response Status Code Is
200
Should Be Equal As Strings
${response['body']['measurementId']}
${MEAS_ID}
...
...
@@ -122,7 +122,7 @@ TP_MEC_MEC028_SRV_WAI_016_NF
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Delete a specified measurement configuration
${INVALID_MEASUREMENT_CONFIG_ID}
Check HTTP Response Status Code Is
2
04
Check HTTP Response Status Code Is
4
04
*** Keywords ***
...
...
MEC028/WAI/SUB/WaiSubscription.robot
View file @
83ee998a
...
...
@@ -14,23 +14,19 @@ TP_MEC_MEC028_SRV_WAI_005_OK
[
Documentation
]
...
Check that the IUT responds with the requested list of subscription
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
#Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the subscription information
${SUB_FILTER}
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
SubscriptionLinkList
FOR
${assocStaSub}
IN
@{response['body']['assocStaSubscription']}
${passed}
Run Keyword And Return Status
Should Be Equal As Strings
${assocStaSub['_links']['self']['href']}
${HREF}
Exit For Loop If
${passed}
END
TP_MEC_MEC028_SRV_WAI_006_OK
[
Documentation
]
...
Check that the IUT responds with the requested list of subscription
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
#Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
...
...
@@ -43,8 +39,7 @@ TP_MEC_MEC028_SRV_WAI_006_BR
[
Documentation
]
...
Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription #Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the subscription information
${INVALID_SUB_FILTER}
...
...
@@ -54,7 +49,9 @@ TP_MEC_MEC028_SRV_WAI_006_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.2.1, clause 7.5.3.1
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription #Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
Should Be True
${PIC_MEC_SYSTEM}
=
= 1
Should Be True
${PIC_SERVICES}
=
= 1
Retrieve the subscription information using wrong endpoint
Check HTTP Response Status Code Is
404
...
...
@@ -62,21 +59,19 @@ TP_MEC_MEC028_SRV_WAI_007_OK
[
Documentation
]
...
Check that the IUT responds with a Notification Subscription
...
Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
#Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.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.2.1, clause 7.5.3.4
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
1
.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription
#Outdated
...
https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.
2
.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
...
...
MEC028/WAI/SUB/jsons/AssocStaSubscription.json
View file @
83ee998a
{
"apId"
:
{
"macId"
:
"macId01"
},
"callbackReference"
:
"http://callback.uri/1"
,
"subscriptionType"
:
"AssocStaSubscription"
"subscriptionType"
:
"AssocStaSubscription"
,
"callbackReference"
:
"http://meAppClient.example.com/wai/v2/notifications/1"
,
"apId"
:
{
"bssid"
:
"005C0A0A0A0A"
},
"notificationEvent"
:
{
"threshold"
:
1
,
"trigger"
:
1
}
}
\ No newline at end of file
MEC028/WAI/SUB/jsons/AssocStaSubscription_BR.json
View file @
83ee998a
{
"
_links"
:{
"href"
:
""
},
"apId"
:
{
"macId"
:
"macId01"
}
,
"callbackReference"
:
"http://callback.uri/1"
,
"subscriptionType"
:
"INVALID_VALUE"
"
subscription"
:
"AssocStaSubscription"
,
"callback"
:
"http://meAppClient.example.com/wai/v2/notifications/1"
,
"apId"
:
{
"bssid"
:
"005C0A0A0A0A"
},
"notificationEvent"
:
{
"threshold"
:
1
,
"trigger"
:
1
}
}
\ No newline at end of file