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
adefbacf
Commit
adefbacf
authored
Jan 22, 2021
by
Michele Carignani
Browse files
make problem details optional on 404
parent
88f790e2
Pipeline
#5739
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
SRV/RNIS/RnisQuery_BI_BO.robot
View file @
adefbacf
...
...
@@ -28,8 +28,7 @@ Request RabInfo info using non existing cell id
...
Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo
Get RabInfo info using non existing cell id
Check HTTP Response Status Code Is
404
Check ProblemDetails
404
Run Keyword If
${PIC_PROBLEM_DETAILS_ON_404}
=
= 1
Check ProblemDetails
404
Request Plmn info using wrong parameters
[
Documentation
]
TC_MEC_SRV_RNIS_017_BR
...
...
@@ -48,7 +47,7 @@ Request Plmn info using non existing application id
...
Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo
Get PLMN info using non existing application id
Check HTTP Response Status Code Is
404
Check ProblemDetails
404
Run Keyword If
${PIC_PROBLEM_DETAILS_ON_404}
=
= 1
Check ProblemDetails
404
Request S1Bearer info using wrong parameters
...
...
@@ -68,7 +67,7 @@ Request S1Bearer info using non existing cell id
...
Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo
Get S1Bearer info using non existing cell id
Check HTTP Response Status Code Is
404
Check ProblemDetails
404
Run Keyword If
${PIC_PROBLEM_DETAILS_ON_404}
=
= 1
Check ProblemDetails
404
Request L2Meas info using wrong parameters
...
...
@@ -88,8 +87,7 @@ Request L2Meas info using non existing cell id
...
Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo
Get L2Meas info using non existing cell id
Check HTTP Response Status Code Is
404
Check ProblemDetails
404
Run Keyword If
${PIC_PROBLEM_DETAILS_ON_404}
=
= 1
Check ProblemDetails
404
*** Keywords ***
Get RabInfo info using wrong parameters
...
...
SRV/RNIS/environment/variables.txt
View file @
adefbacf
*** Variables ***
${MEC-APP_SCHEMA} http
#${MEC-APP_HOST} 172.28.4.87
#${MEC-APP_HOST} 127.0.0.1
${MEC-APP_HOST} 192.168.56.1
${MEC-APP_PORT} 8081
${MEC-APP_SCHEMA} https
#${MEC-APP_HOST} 172.28.4.87
${MEC-APP_HOST} try-mec.etsi.org
${MEC-APP_PORT} 443
${SUBSCRIPTION_ID} 7777
${NON_EXISTENT_SUBSCRIPTION_ID} 6666
${LINKS_SELF} http://example.com/exampleAPI/rni/v2/subscriptions
${SUBSCRIPTION_HREF_VALUE} cell_changed
${SUBSCRIPTION_TYPE} CELL_CHANGE
${HREF} http://
meAppClient.example.com/rni/v1/notifications/cell_change/77777
${SUBSCRIPTION_VALUE} {'href': '
${HREF}
', 'subscriptionType': '
${SUBSCRIPTION_TYPE}
'}
${CELL_ID}
0x800000A
${C_ID}
0xFFFFFFF
${HREF} http://
tapqa.plugtests.net:8111/michele/endpoint
${SUBSCRIPTION_VALUE} {'href': '
http://tapqa.plugtests.net:8111/michele/endpoint
', 'subscriptionType': '
CELL_CHANGE
'}
${CELL_ID}
6060606
${C_ID}
6060606
${NOT_EXISTENT_CELL_ID} 0x8000099
${APP_INS_ID}
01
${APP_INS_ID}
${APP_ID} 10
${NOT_EXISTENT_APP_INS_ID} 99
${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}
${apiRoot}
/sbx3l3thqw
${apiVersion} v2
${PIC_PROBLEM_DETAILS_ON_404} 0
# Notifications variables
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
${callback_port}
909
1
${callback_uri} http://
192.168.56.103:${callback_port}
${callback_endpoint} /
subscriptions
${callback_port}
811
1
${callback_uri} http://
tapqa.plugtests.net:8111
${callback_endpoint} /
michele/endpoint
${callback_endpoint_error} /subs_404
${total_polling_time} 2 min
${polling_interval} 10 sec
Michele Carignani
@carignani
mentioned in issue
#24 (closed)
·
Feb 03, 2021
mentioned in issue
#24 (closed)
mentioned in issue #24
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