Commit 2f6fbfd3 authored by piscione's avatar piscione
Browse files

Fixes

parent 8c02ded5
Loading
Loading
Loading
Loading
+42 −42
Original line number Diff line number Diff line
Y''[Documentation]   robot --outputdir ../../../outputs ./QoSEventSubNot.robot
...    Test Suite to validate CustomerSelfServiceEnablement Service API operations.
...    Test Suite to validate QoSEventSubNot Service API operations.

*** Settings ***
Resource    environment/variables.txt
Resource    ../../../pics.txt
Resource    ../../../GenericKeywords.robot
Resource    ../../../../pics.txt
Resource    ../../../../GenericKeywords.robot
Library     REST    ${SCHEMA}://${HOST}:${PORT}    ssl_verify=false
Library     OperatingSystem
Library     libraries/Server.py
@@ -19,9 +19,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_01
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_01
    ...    Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscription
    ${SUB_TYPE}   Get value entry from JSON file    QoSEventSubscription  subscriptionType
@@ -34,9 +34,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_02
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_OK_02
    ...    Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application - With thresholds
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionWithThreshold
    ${SUB_TYPE}   Get value entry from JSON file    QoSEventSubscriptionWithThreshold  subscriptionType
@@ -51,9 +51,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_01
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - Invalid SubscritionType
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR
    Check HTTP Response Status Code Is    400
@@ -64,9 +64,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_02
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - Neither callbackReference nor websockNotifConfig provided
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR2
    Check HTTP Response Status Code Is    400
@@ -77,9 +77,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_03
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - Both callbackReference and websockNotifConfig provided
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR3
    Check HTTP Response Status Code Is    400
@@ -89,9 +89,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_04
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - users not present (Note 2)
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR4
    Check HTTP Response Status Code Is    400
@@ -102,9 +102,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_05
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - flowFilter not present (Note 2)
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR5
    Check HTTP Response Status Code Is    400
@@ -114,9 +114,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_05
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - flowFilter not present (Note 2)
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR5
    Check HTTP Response Status Code Is    400
@@ -126,9 +126,9 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_001_BR_06
    ...    Check that the IUT responds with an error when a request with incorrect parameters is sent 
    ...    by a MEC Application - Invalid flowFilter
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 6.4.3,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 6.4.3,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionBR6
    Check HTTP Response Status Code Is    400
@@ -140,8 +140,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_002_OK
    ...    Check that the IUT acknowledges the changes of QoS event subscription request 
    ...    when commanded by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 7.4.3.2
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 7.4.3.2
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    QoSEventSubscriptionUpdate   ${SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    200
@@ -152,8 +152,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_002_NF
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_002_NF
    ...    Check that the IUT acknowledges the creation of QoS event subscription request when commanded by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 7.4.3.2
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 7.4.3.2
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    QoSEventSubscriptionUpdate   ${UNKNOWN_SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    404
@@ -163,8 +163,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_003_OK
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_003_OK
    ...    Check that the IUT acknowledges the cancellation of QoS event subscription when commanded by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 7.4.3.5
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 7.4.3.5
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    ${SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    204
@@ -174,8 +174,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_003_NF
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_003_NF
    ...    Check that the IUT acknowledges the cancellation of QoS event subscription when commanded by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.3.3,
    ...    ETSI GS MEC 013 Clause 7.4.3.5
    ...    ETSI GS MEC 045 Clause 6.3.3,
    ...    ETSI GS MEC 045 Clause 7.4.3.5
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Update QoS Event Subscription    ${UNKNOWN_SUBSCRIPTION_ID}
    Check HTTP Response Status Code Is    404
@@ -185,8 +185,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_004_OK
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_004_OK
    ...    Check that the IUT provides a test notification when requested by a MEC Application
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.4.1,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.4.1,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionTestNotification
    ${SUB_TYPE}   Get value entry from JSON file    QoSEventSubscriptionTestNotification  subscriptionType
@@ -200,8 +200,8 @@ TC_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_005_OK
    [Documentation]    TP_MEC_MEC045_SRV_QOS_EVENT_SUB_NOT_005_OK
    ...    Check that the IUT terminates notifications when the expiry timer expires
    ...    ETSI GS MEC 045 Clause 5.2.2,
    ...    ETSI GS MEC 013 Clause 6.4.1,
    ...    ETSI GS MEC 013 Clause 7.3.3.4
    ...    ETSI GS MEC 045 Clause 6.4.1,
    ...    ETSI GS MEC 045 Clause 7.3.3.4
    [Tags]    PIC_MEC_PLAT     PIC_SERVICES
    Create QoS Event Subscription    QoSEventSubscriptionExpiryTimer
    ${SUB_TYPE}   Get value entry from JSON file    QoSEventSubscriptionExpiryTimer  subscriptionType
+2 −1
Original line number Diff line number Diff line
@@ -13,3 +13,4 @@ ${apiVersion} v1

##Specific
${SUBSCRIPTION_ID}             subscription_id
${UNKNOWN_SUBSCRIPTION_ID}     unknown_sub_id
 No newline at end of file