Loading Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +8 −101 Original line number Diff line number Diff line Loading @@ -839,8 +839,10 @@ Package MEC_MEC040_SRV_FED { ensure that { when { the IUT entity receives a vGET containing uri indicating value "fed_enablement/v10/fed_resources/system_info" ; uri indicating value "fed_enablement/v10/fed_resources/system_info", query_parameters containing system indicating value any_value // Wrong query parameter: system instead of systemId ;; from the MEC_FED entity } then { Loading Loading @@ -910,7 +912,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_01" TP Id "TP_MEC_MEC040_SRV_MEF_002_BR" Test objective "Check that the IUT responds with an error on creating an existing systemInfo" Loading Loading @@ -938,7 +940,7 @@ Package MEC_MEC040_SRV_FED { uri indicating value "fed_enablement/v1/fed_resources/system_info", body containing systemInfo containing systemId indicating value SYSTEM_ID_1, // Shall be absent in POST request systemId indicating value SYSTEM_ID_2, // Shall be absent in POST request systemName indicating value SYSTEM_NAME_2, systemProvider indicating value SYSTEM_PROV_2 ; Loading @@ -957,54 +959,6 @@ Package MEC_MEC040_SRV_FED { } // 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 { TP Id "TP_MEC_MEC040_SRV_MEF_003_OK" Loading Loading @@ -1357,54 +1311,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_01" Test objective "Check that the IUT responds with an error when requested to update with an inconsistant URI" Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" 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 systemInfo1 indicating value SYSTEM_ID_1 ; } // MEC 040 Clause 6.2.2 Type: SystemInfo Expected behaviour ensure that { when { the IUT entity receives a vPATCH containing uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" // Wrong version body containing SystemInfoUpdate containing systemName indicating value omit, endpoint indicating value SYSTEM_NEW_ENDPOINT_1 ; ; ; from the MEC_FED entity } then { // MEC 040 Clause 7.4.3.3 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_004_BR_01 Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_02" TP Id "TP_MEC_MEC040_SRV_MEF_004_BR" Test objective "Check that the IUT responds with an error when requested to update with no data provided" Loading @@ -1431,7 +1338,7 @@ Package MEC_MEC040_SRV_FED { the IUT entity receives a vPATCH containing uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" body containing SystemInfoUpdate containing SystemInfoUpdate containing // At least one attribute shall exist systemName indicating value omit, endpoint indicating value omit ; Loading Loading
Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +8 −101 Original line number Diff line number Diff line Loading @@ -839,8 +839,10 @@ Package MEC_MEC040_SRV_FED { ensure that { when { the IUT entity receives a vGET containing uri indicating value "fed_enablement/v10/fed_resources/system_info" ; uri indicating value "fed_enablement/v10/fed_resources/system_info", query_parameters containing system indicating value any_value // Wrong query parameter: system instead of systemId ;; from the MEC_FED entity } then { Loading Loading @@ -910,7 +912,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_01" TP Id "TP_MEC_MEC040_SRV_MEF_002_BR" Test objective "Check that the IUT responds with an error on creating an existing systemInfo" Loading Loading @@ -938,7 +940,7 @@ Package MEC_MEC040_SRV_FED { uri indicating value "fed_enablement/v1/fed_resources/system_info", body containing systemInfo containing systemId indicating value SYSTEM_ID_1, // Shall be absent in POST request systemId indicating value SYSTEM_ID_2, // Shall be absent in POST request systemName indicating value SYSTEM_NAME_2, systemProvider indicating value SYSTEM_PROV_2 ; Loading @@ -957,54 +959,6 @@ Package MEC_MEC040_SRV_FED { } // 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 { TP Id "TP_MEC_MEC040_SRV_MEF_003_OK" Loading Loading @@ -1357,54 +1311,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_01" Test objective "Check that the IUT responds with an error when requested to update with an inconsistant URI" Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" 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 systemInfo1 indicating value SYSTEM_ID_1 ; } // MEC 040 Clause 6.2.2 Type: SystemInfo Expected behaviour ensure that { when { the IUT entity receives a vPATCH containing uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" // Wrong version body containing SystemInfoUpdate containing systemName indicating value omit, endpoint indicating value SYSTEM_NEW_ENDPOINT_1 ; ; ; from the MEC_FED entity } then { // MEC 040 Clause 7.4.3.3 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_004_BR_01 Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_02" TP Id "TP_MEC_MEC040_SRV_MEF_004_BR" Test objective "Check that the IUT responds with an error when requested to update with no data provided" Loading @@ -1431,7 +1338,7 @@ Package MEC_MEC040_SRV_FED { the IUT entity receives a vPATCH containing uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" body containing SystemInfoUpdate containing SystemInfoUpdate containing // At least one attribute shall exist systemName indicating value omit, endpoint indicating value omit ; Loading