Commit e8e8a7c0 authored by Michele Carignani's avatar Michele Carignani

Fix TC_MEC_SRV_RNIS_012_BR schema for _self link

parent fed48281
Pipeline #5886 passed with stage
in 0 seconds
...@@ -8,8 +8,6 @@ Resource ../../GenericKeywords.robot ...@@ -8,8 +8,6 @@ Resource ../../GenericKeywords.robot
Resource resources/RadioNetworkInformationAPI.robot Resource resources/RadioNetworkInformationAPI.robot
Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false
*** Test Cases *** *** Test Cases ***
Request RNIS subscription list using bad parameters Request RNIS subscription list using bad parameters
[Documentation] TC_MEC_SRV_RNIS_011_BR [Documentation] TC_MEC_SRV_RNIS_011_BR
...@@ -25,10 +23,9 @@ Create RNIS subscription using bad parameters ...@@ -25,10 +23,9 @@ Create RNIS subscription using bad parameters
... Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong format ... Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong format
... ETSI GS MEC 012 2.1.1, clause 7.6.3.4 ... ETSI GS MEC 012 2.1.1, clause 7.6.3.4
... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml
Post RNIS subscription request {"CellChangeSubscription": {"subscriptionType": "CelCangeSubscription", "callbackReference": "${HREF}", "_links": {"self": "${LINKS_SELF}"}, "filterCriteria": {"appInsId": "01", "associateId": [{"type": "UE_IPV4_ADDRESS", "value": 1}], "plmn": {"mcc": "01", "mnc": "001"}, "cellId": ["800000"], "hoStatus": "COMPLETED"}, "expiryDeadline": {"seconds": 1577836800, "nanoSeconds": 0}}} Post RNIS subscription request {"CellChangeSubscription": {"subscriptionType": "CelCangeSubscription", "callbackReference": "${HREF}", "_links": {"self": { "href": "${LINKS_SELF}" } }, "filterCriteria": {"appInsId": "01", "associateId": [{"type": "UE_IPV4_ADDRESS", "value": 1}], "plmn": {"mcc": "01", "mnc": "001"}, "cellId": ["800000"], "hoStatus": "COMPLETED"}, "expiryDeadline": {"seconds": 1577836800, "nanoSeconds": 0}}}
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
*** Keywords *** *** Keywords ***
Get RNIS subscription list with wrong parameter Get RNIS subscription list with wrong parameter
Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment