Commit 3d361478 authored by piscione's avatar piscione
Browse files

Add missing TP

parent 4ba844d1
Loading
Loading
Loading
Loading
+48 −0
Original line number Original line Diff line number Diff line
@@ -960,6 +960,54 @@ Package MEC_MEC040_SRV_FED {
    } // End of TP_MEC_MEC040_SRV_MEF_002_BR_01
    } // End of TP_MEC_MEC040_SRV_MEF_002_BR_01




    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_02"

        Test objective
            "Check that the IUT responds with an error on providing inconsistent data"

        Reference 
            "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1"

        Config Id Config_MEC_7

        PICS Selection PIC_MEC_PLAT and PIC_SERVICES

        Initial conditions  with {
           the IUT entity being_in idle_state and
           the IUT entity is_registered to the MEC_FED entity and
           the MEC_FED entity having a systemInfoList containing
              systemInfo2 indicating value SYSTEM_ID_2
           ;
        }

        // MEC 040 Clause 6.2.2   Type: SystemInfo
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives a vPOST containing
                        uri indicating value "fed_enablement/v1/fed_resources/system_info",
                        body containing
                            systemInfo containing
                                systemId indicating value SYSTEM_ID_1, // Shall be omit in the request
                                systemName indicating value SYSTEM_NAME_1,
                                systemProvider indicating value SYSTEM_PROV_1
                            ;
                        ;
                    ;
                    from the MEC_FED entity
                }
                then {
                    // MEC 040 Clause 7.3.3.4
                    the IUT entity sends a HTTP_RESPONSE containing
                        status_code set to "400 Bad Request"
                    ;
                    to the MEC_FED entity
                }
            }
    } // End of TP_MEC_MEC040_SRV_MEF_002_BR_02


    Test Purpose {
    Test Purpose {
        TP Id "TP_MEC_MEC040_SRV_MEF_003_OK"
        TP Id "TP_MEC_MEC040_SRV_MEF_003_OK"