Commit 7b04a657 authored by piscione's avatar piscione
Browse files

Added JSON payloads and JSON schemas.

parent b3273e2b
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
Y''[Documentation]   robot --outputdir ../../../outputs ./QoSEventSubNot.robot
...    Test Suite to validate QoSEventSubNot Service API operations.
...    Test Suite to validate QoSEventSubNot API operations.

*** Settings ***
Resource    environment/variables.txt
@@ -124,6 +124,20 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_06
    

    
TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_07
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_07
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - Invalid condition on monitoringArea
    ...    by a MEC Application - Invalid flowFilter
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR7
    Check HTTP Response Status Code Is    400


    
TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_002_OK
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_002_OK
    ...    Check that the IUT acknowledges the changes of QoS event subscription request 
+18 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSEventSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "sourceIp": "ABCDEFGHIJKLMNOPQRS",
    "reportingCtrl": {},
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": "THROUGHPUT"
    }
}
 No newline at end of file
+18 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "sourceIp": "ABCDEFGHIJKLMNOPQRS",
    "reportingCtrl": {},
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": "THROUGHPUT"
    }
}
 No newline at end of file
+17 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "reportingCtrl": {},
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": "XXX"
    }
}
 No newline at end of file
+18 −0
Original line number Diff line number Diff line
{
    "subscriptionType": "QoSSubscription",
    "callbackReference": "http://someuri/someendpoint",
    "websockNotifConfig": "http://someuri/someendpoint",
    "users": [
        "ACR_SOME_IP"
    ],
    "flowFilter": [
        {
            "sourceIP": "ACR_SOME_IP"
        }
    ],
    "reportingCtrl": {},
    "measuringPeriod": 1000,
    "reportTrigger": {
        "metricType": "THROUGHPUT"
    }
}
 No newline at end of file
Loading