Commit da9a832d authored by Yann Garcia's avatar Yann Garcia
Browse files

TTF T027: Finalyze review MEC-015

parent 4d6968b1
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ Package MEC_MEC015_SRV_TM {
            the IUT entity being_in idle_state and
            the MEC_APP entity having a bwInfo containing
                appInsId indicating value APP_INSTANCE_ID,
                sessionId indicating value APP_SESSION_ID;
                allocationId indicating value APP_ALLOCATION_ID;
        }

        // MEC 015 Clause 6.2.5
@@ -172,7 +172,7 @@ Package MEC_MEC015_SRV_TM {
                    the IUT entity receives a vGET containing
                        uri indicating value "bwm/v1/bw_allocations",
                        query_parameters containing
                            session_id indicating value APP_SESSION_ID;;
                            session_id indicating value APP_ALLOCATION_ID;;
                    from the MEC_APP entity
                }
                then {
@@ -183,7 +183,8 @@ Package MEC_MEC015_SRV_TM {
                            bwInfoList containing
                                bwInfo containing
                                    appInsId set to APP_INSTANCE_ID,
                                    appName indicating value APP_NAME;;;;
                                    appName indicating value APP_NAME,
                                    allocationId indicating value APP_ALLOCATION_ID;;;;
                    to the MEC_APP entity
                }
            }
@@ -235,8 +236,7 @@ Package MEC_MEC015_SRV_TM {
        TP Id "TP_MEC_MEC015_SRV_TM_001_NF_01"

        Test objective
            "Check that the IUT responds with an error when
            a request with an unknown resource URI is sent by a MEC Application"
            "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - app_instance_id"

        Reference
            "ETSI GS MEC 015 V2.1.1, clause 6.2.5",
@@ -265,7 +265,7 @@ Package MEC_MEC015_SRV_TM {
                    from the MEC_APP entity
                }
                then {
                    // MEC 015 Clause 8.3.3.1
                    // MEC 015 Clause 8.4.3.1
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "404 Not Found";
                    to the MEC_APP entity
@@ -306,7 +306,7 @@ Package MEC_MEC015_SRV_TM {
                    from the MEC_APP entity
                }
                then {
                    // MEC 015 Clause 8.3.3.1
                    // MEC 015 Clause 8.4.3.1
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "404 Not Found";
                    to the MEC_APP entity
@@ -334,7 +334,7 @@ Package MEC_MEC015_SRV_TM {
            the IUT entity being_in idle_state and
            the MEC_APP entity having a bwInfo containing
                appName indicating value APP_NAME,
                sessionId indicating value SESSION_ID;
                allocationId indicating value ALLOCATION_ID;
        }

        // MEC 015 Clause 6.2.5
@@ -344,11 +344,11 @@ Package MEC_MEC015_SRV_TM {
                    the IUT entity receives a vGET containing
                        uri indicating value "bwm/v1/bw_allocations",
                        query_parameters containing
                            session_id indicating value APP_UNKNOWN_SESSION_ID;;
                            session_id indicating value APP_UNKNOWN_ALLOCATION_ID;;
                    from the MEC_APP entity
                }
                then {
                    // MEC 015 Clause 8.3.3.1
                    // MEC 015 Clause 8.4.3.1
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "404 Not Found";
                    to the MEC_APP entity
@@ -981,15 +981,15 @@ Package MEC_MEC015_SRV_TM {
        Initial conditions  with {
            the IUT entity being_in idle_state and
            the MEC_APP entity having a bwInfo containing
                allocationId indicating value ALLOCATION_ID;
                allocationId indicating value ;
        }

        // MEC 015 Clause 6.2.3
        // MEC 015 Clause 6.2.3ALLOCATION_ID
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a vDELETE containing
                        uri indicating value "bwm/v1/bw_allocations/{BW_UNKNOWN_ALLOCATION_ID}";
                        uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}";
                    from the MEC_APP entity
                }
                then {