Loading Test Purposes/MEC021/SRV/AMS/Ams.tplan2 +226 −61 File changed.Preview size limit exceeded, changes collapsed. Show changes Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +596 −0 Original line number Diff line number Diff line Loading @@ -17,5 +17,601 @@ Package MEC_MEC021_SRV_AMS_BO_BI { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_001_BR" Test objective "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/app_mobility_services?filter=(appMobilityServiceId,eq,{APP_MOBILITY_SERVICE_ID_1})"; // Wrong filter arguments from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_002_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed request to create a new application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.2", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" Config Id Config_MEC_1 PICS Selection PIC_AMS 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/app_mobility_services", body containing RegistrationRequest containing appMobilityServiceId indicating value any_value // wrong field value: Shall be absent in POST requests, and present otherwise ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" Test objective "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" Reference "ETSI GS MEC 021 3.1.1, clause 6.9", "ETSI GS MEC 021 3.1.1, clause 7.3.4", "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, subscriptionType indicating value SUBSCRIPTION_TYPE; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing subscriptionType indicating value "info_app_adj" // Wrong parameter ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" Test objective "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription" 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_AMS 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 NotificationSubscription containing subscriptionType indicating value "Subscription", // wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value CALLBACK_REFERENCE ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_005_NF" Test objective "Check that the AMS service returns an error when receives a query about a not existing subscription" Reference "ETSI GS MEC 021 3.1.1, clause 6.9", "ETSI GS MEC 021 3.1.1, clause 7.4.2", "ETSI GS MEC 021 3.1.1, clause 7.4.3", "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_006_NF" Test objective "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" Reference "ETSI GS MEC 021 3.1.1, clause 6.7", "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.7.3.5" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE ; ; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" Test objective "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription" Reference "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.7.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value SUBSCRIPTION_HREF_VALUE, body containing NotificationSubscription containing subscriptionType indicating value "Subscription", // Wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_007_NF" Test objective "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" Reference "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.7.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE, body containing NotificationSubscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_011_NF" Test objective "Check that the AMS service sends an error when receives a query about a not existing individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_012_NF" Test objective "Check that the AMS service sends an error when receives a request to modify a not existing individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.4", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", body containing RegistrationInfo containing serviceConsumerId containing appInstanceId indicating value NEW_APP_INS_ID_NEW_1 ; ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_012_BR" Test objective "Check that the AMS service sends an error when receives a request to modify a individual application mobility service using bad parameters" Reference "ETSI GS MEC 021 3.1.1, clause 6.4", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", body containing RegistrationInfo containing appMobilityServiceId indicating value omit ; ; ; // Wrong field value: Shall be present from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_013_NF" Test objective "Check that the AMS service sends an error when is requested to delete the resource that represents the individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.3", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value "/amsi/v1/app_mobility_services/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_014_NF" Test objective "Check that the AMS service send an error when is requested to deregister a not existent individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_015_BR" Test objective "Check that the AMS service sends an error about a specified adjacent application instances when request is inconsistent" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.3", "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AdjacentAppInstanceInfoList containing AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_1, appDId indicating value APP_ID_1;, AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_2, appDId indicating value APP_ID_2;, AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_3, appDId indicating value APP_ID_3 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(appInstanceId,eq,{APP_INSTANCE_ID_1})"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } } Loading
Test Purposes/MEC021/SRV/AMS/Ams.tplan2 +226 −61 File changed.Preview size limit exceeded, changes collapsed. Show changes
Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +596 −0 Original line number Diff line number Diff line Loading @@ -17,5 +17,601 @@ Package MEC_MEC021_SRV_AMS_BO_BI { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_001_BR" Test objective "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/app_mobility_services?filter=(appMobilityServiceId,eq,{APP_MOBILITY_SERVICE_ID_1})"; // Wrong filter arguments from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_002_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed request to create a new application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.2", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" Config Id Config_MEC_1 PICS Selection PIC_AMS 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/app_mobility_services", body containing RegistrationRequest containing appMobilityServiceId indicating value any_value // wrong field value: Shall be absent in POST requests, and present otherwise ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" Test objective "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" Reference "ETSI GS MEC 021 3.1.1, clause 6.9", "ETSI GS MEC 021 3.1.1, clause 7.3.4", "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, subscriptionType indicating value SUBSCRIPTION_TYPE; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing subscriptionType indicating value "info_app_adj" // Wrong parameter ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" Test objective "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription" 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_AMS 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 NotificationSubscription containing subscriptionType indicating value "Subscription", // wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value CALLBACK_REFERENCE ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_005_NF" Test objective "Check that the AMS service returns an error when receives a query about a not existing subscription" Reference "ETSI GS MEC 021 3.1.1, clause 6.9", "ETSI GS MEC 021 3.1.1, clause 7.4.2", "ETSI GS MEC 021 3.1.1, clause 7.4.3", "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_006_NF" Test objective "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" Reference "ETSI GS MEC 021 3.1.1, clause 6.7", "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.7.3.5" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE ; ; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" Test objective "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription" Reference "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.7.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value SUBSCRIPTION_HREF_VALUE, body containing NotificationSubscription containing subscriptionType indicating value "Subscription", // Wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_007_NF" Test objective "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" Reference "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.7.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AMS_subscription containing _link containing self indicating value SUBSCRIPTION_HREF_VALUE;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE, body containing NotificationSubscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_011_NF" Test objective "Check that the AMS service sends an error when receives a query about a not existing individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_012_NF" Test objective "Check that the AMS service sends an error when receives a request to modify a not existing individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.4", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", body containing RegistrationInfo containing serviceConsumerId containing appInstanceId indicating value NEW_APP_INS_ID_NEW_1 ; ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_012_BR" Test objective "Check that the AMS service sends an error when receives a request to modify a individual application mobility service using bad parameters" Reference "ETSI GS MEC 021 3.1.1, clause 6.4", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", body containing RegistrationInfo containing appMobilityServiceId indicating value omit ; ; ; // Wrong field value: Shall be present from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_013_NF" Test objective "Check that the AMS service sends an error when is requested to delete the resource that represents the individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 6.3", "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value "/amsi/v1/app_mobility_services/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_014_NF" Test objective "Check that the AMS service send an error when is requested to deregister a not existent individual application mobility service" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.2", "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a RegistrationInfoList containing RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, serviceConsumerId containing appInstanceId indicating value SERVICE_CONSUMER_ID_1 ; ;, RegistrationInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found"; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_015_BR" Test objective "Check that the AMS service sends an error about a specified adjacent application instances when request is inconsistent" Reference "ETSI GS MEC 021 3.1.1, clause 7.2.3", "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AdjacentAppInstanceInfoList containing AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_1, appDId indicating value APP_ID_1;, AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_2, appDId indicating value APP_ID_2;, AdjacentAppInstanceInfo containing appInstanceId indicating value APP_INSTANCE_ID_3, appDId indicating value APP_ID_3 ; ; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(appInstanceId,eq,{APP_INSTANCE_ID_1})"; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request"; to the AMS_CLIENT entity } } } }