Commit 95675017 authored by YannGarcia's avatar YannGarcia
Browse files

TTF T024: Review MEC 030

parent c90e2d74
Loading
Loading
Loading
Loading
+57 −2
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ Package MEC_MEC021_SRV_AMS_BV {
        ensure that {
            when {
                the IUT entity receives a vGET containing
                    uri indicating value "/amsi/v1/subscriptions/",
                    uri indicating value "/amsi/v1/subscriptions",
                    query_parameters containing
                        subscriptionType indicating value SUBSCRIPTION_TYPE;; // mobility_proc or adj_app_info
                from the MEC_SUB entity
@@ -337,7 +337,7 @@ Package MEC_MEC021_SRV_AMS_BV {
        ensure that {
            when {
                the IUT entity receives a vPOST containing
                    uri indicating value "/amsi/v1/subscriptions/",
                    uri indicating value "/amsi/v1/subscriptions",
                    body containing
                        NotificationSubscription containing
                            subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription
@@ -950,4 +950,59 @@ Package MEC_MEC021_SRV_AMS_BV {
        }
    }

    Test Purpose {
        TP Id "TP_MEC_MEC021_SRV_UETESTNOT_001_OK"

        Test objective
            "Check that the IUT provides a test notification when requested by a MEC Application"

        Reference 
            "ETSI GS MEC 021 3.1.1, clause 6.9",
            "ETSI GS MEC 021 3.1.1, clause 7.3.2",
            "ETSI GS MEC 021 3.1.1, clause 7.3.3",
            "ETSI GS MEC 021 3.1.1, clause 8.6.3.4"

        Config Id Config_MEC_1

        PICS Selection PIC_MEC_PLAT and PIC_SERVICES

        Initial conditions  with {
            the IUT entity being_in idle_state
        }

        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a vPOST containing
                        uri indicating value "/amsi/v1/subscriptions" 
                        body containing
                            userLocationEventSubscription containing
                                subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription
                                callbackReference indicating value CALLBACK_URL,
                                requestTestNotification indicating value true,
                                address indicating value ACR_SOME_IP;;;
                    from the MEC_APP entity
                }
                then {
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "201 Created"
                        body containing
                            userLocationEventSubscription containing
                                subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription
                                callbackReference indicating value CALLBACK_URL,
                                requestTestNotification indicating value true, // FIXME: To be confirmed
                                _links indicating value LINKS,
                                address indicating value ACR_SOME_IP;;;
                    to the MEC_APP entity
                    and the IUT entity sends a vPOST containing
                        Uri set to CALLBACK_URL 
                        body containing
                            testNotification containing
                                notificationType indicating value "TestNotification",
                                _links indicating value LINKS;;;
                    to the MEC_APP entity
                }
            }
    }

}
+2659 −2286

File changed.

Preview size limit exceeded, changes collapsed.