Loading Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +145 −0 Original line number Diff line number Diff line Loading @@ -336,6 +336,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_009_NF" Loading Loading @@ -483,4 +484,148 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_BR" Test objective "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a malformed request" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel", body containing CancelMode containing CancelMode set to GRACEFULLL //It should be GRACEFUL ; ; ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad request" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/cancel" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_015_NF" Test objective "Check that MEC API provider service fails to make failed an on going LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/fail" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_016_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API provider service fails to retry an LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/retry" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } } Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +127 −12 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing Location set to LOCATION_OF_APP_OP_OCC Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" ; ; to the MEC_CONSUMER entity } Loading Loading @@ -464,7 +464,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/subscriptions" body containing SubscriptionRequest containing AppInstSubscriptionRequest containing callbackUri set to CALLBACK_URI, subscriptionType set to SUBSCRIPTION_TYPE ; Loading @@ -476,7 +476,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing SubscriptionInfo containing AppInstSubscriptionRequest containing subscriptionId set to any_value, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to CALLBACK_URI, Loading Loading @@ -557,11 +557,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service sends the information about an existing LCM subscription when requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo Loading Loading @@ -606,9 +602,6 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" Loading Loading @@ -644,5 +637,127 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" Test objective "Check that MEC API provider service cancels an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel" body containing CancelMode containing CancelMode set to GRACEFUL ; ; ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_015_OK" Test objective "Check that MEC API provider service makes failed an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID, operationStates indicating value FAILED_TEMP; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/fail"; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK" body containing AppLcmOpOcc containing SubscriptionInfo containing id set to APP_LCM_OP_OCC_ID, operationState set to FAILED, stateEnteredTime set to any_value, startTime set to any_value, lcmOperation set to any_value, _links containing _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}", appInstance set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" ; ; ; ; ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_016_OK" Test objective "Check that MEC API provider service retries an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID, operationStates indicating value FAILED_TEMP; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/retry"; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 Accepted"; to the MEC_CONSUMER entity } } } } Loading
Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +145 −0 Original line number Diff line number Diff line Loading @@ -336,6 +336,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_009_NF" Loading Loading @@ -483,4 +484,148 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_BR" Test objective "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a malformed request" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel", body containing CancelMode containing CancelMode set to GRACEFULLL //It should be GRACEFUL ; ; ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad request" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/cancel" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_015_NF" Test objective "Check that MEC API provider service fails to make failed an on going LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/fail" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_016_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API provider service fails to retry an LCM Operation when it receives a request related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity "not" having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/retry" ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_CONSUMER entity } } } }
Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +127 −12 Original line number Diff line number Diff line Loading @@ -232,7 +232,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing Location set to LOCATION_OF_APP_OP_OCC Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" ; ; to the MEC_CONSUMER entity } Loading Loading @@ -464,7 +464,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/subscriptions" body containing SubscriptionRequest containing AppInstSubscriptionRequest containing callbackUri set to CALLBACK_URI, subscriptionType set to SUBSCRIPTION_TYPE ; Loading @@ -476,7 +476,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing SubscriptionInfo containing AppInstSubscriptionRequest containing subscriptionId set to any_value, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to CALLBACK_URI, Loading Loading @@ -557,11 +557,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service sends the information about an existing LCM subscription when requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo Loading Loading @@ -606,9 +602,6 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" Loading Loading @@ -644,5 +637,127 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" Test objective "Check that MEC API provider service cancels an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel" body containing CancelMode containing CancelMode set to GRACEFUL ; ; ; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted" ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_015_OK" Test objective "Check that MEC API provider service makes failed an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID, operationStates indicating value FAILED_TEMP; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/fail"; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK" body containing AppLcmOpOcc containing SubscriptionInfo containing id set to APP_LCM_OP_OCC_ID, operationState set to FAILED, stateEnteredTime set to any_value, startTime set to any_value, lcmOperation set to any_value, _links containing _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}", appInstance set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" ; ; ; ; ; to the MEC_CONSUMER entity } } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_016_OK" Test objective "Check that MEC API provider service retries an on going LCM Operation" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { the IUT entity having a App_LCM_op_occ containing id indicating value APP_LCM_OP_OCC_ID, operationStates indicating value FAILED_TEMP; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/retry"; from the MEC_CONSUMER entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 Accepted"; to the MEC_CONSUMER entity } } } }