Loading Test Purposes/App/Mp1/Ams/Ams_BV.tplan2 0 → 100644 +318 −0 Original line number Diff line number Diff line /* Copyright (c) ETSI 2018. This software is subject to copyrights owned by ETSI. Non-exclusive permission is hereby granted, free of charge, to copy, reproduce and amend this file under the following conditions: It is provided "as is", without warranty of any kind, expressed or implied. ETSI shall never be liable for any claim, damages, or other liability arising from its use or inability of use.This permission does not apply to any documentation associated with this file for which ETSI keeps all rights reserved. The present copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package MEC021_APP_MP1_AMS_BV { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_AMS_01" Test objective "Check that the AMS service returns information about the registered application mobility services when requested" Reference "ETSI GS MEC 021 2.0.8, clause 8.3.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AppMobilityServiceInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value "/amsi/v1/appMobilityServices", query_parameters containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing AppMobilityServiceInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_02" Test objective "Check that the AMS service creates a new application mobility services when requested" Reference "ETSI GS MEC 021 2.0.8, 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 POST containing uri indicating value "/amsi/v1/appMobilityServices", body containing RegistrationRequest containing //Note: at the moment the only element that is defined is RegistrationInfo. Not sure if they are the same. serviceConsumerId containing appInstanceId set to APP_INS_ID ; ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing registeredAppMobilityService containing serviceConsumerId containing appInstanceId set to APP_INS_ID ; ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_03" Test objective "Check that the AMS service returns information about the available subscriptions when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing subscriptionType indicating value "MobilityProcedureSubscription" ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing SubscriptionLinkList containing subscription containing href indicating value SUBSCRIPTION_HREF_VALUE, subscriptionType indicating value "MobilityProcedureSubscription" ; ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_04" Test objective "Check that the AMS service creates a notification subscriptions when requested" Reference "ETSI GS MEC 021 2.0.8, 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 POST containing uri indicating value "/amsi/v1/subscriptions/", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", //shall we have a TP for each type of subscription? callbackReference indicating value CALLBACK_REFERENCE ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 CREATED", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value CALLBACK_REFERENCE ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_05" Test objective "Check that the AMS service returns information about a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value CALLBACK_REFERENCE ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_06" Test objective "Check that the AMS service deletes a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 ;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a DELETE containing uri indicating value SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "204 No Content" ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_06" Test objective "Check that the AMS service modifies a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a PUT containing uri indicating value SUBSCRIPTION_HREF_VALUE, body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", //shall we have a TP for each type of subscription? callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; to the MEC_SUB entity } } } } Test Purposes/App/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 +2 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { Expected behaviour ensure that { when { the IUT entity receives a vGET containing the IUT entity receives a GET containing uri indicating value "/rni/v1/subscriptions", query_parameters containing subscriptionType indicating value "cell_change" Loading Loading @@ -79,7 +79,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { Expected behaviour ensure that { when { the IUT entity receives a vPOST containing the IUT entity receives a POST containing uri indicating value "/rni/v1/subscriptions", body containing CellChangeSubscription containing Loading Test Purposes/mec-common.tplan2 +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ Package MEC_Common { - PIC_APP_LCM // MEC032, table xxxxx - PIC_APP_LCM_MANAGEMENT // MEC032, table xxxxy - PIC_APP_LCM_NOTIFICATIONS // MEC032, table xxxxz - PIC_AMS - PIC_AMS_NOTIFICATIONS ; entities: - MEC_OSS Loading @@ -34,6 +36,8 @@ Package MEC_Common { - RNIS_CLIENT - RNIS_SERVER - MEPM - AMS_CLIENT - AMS_SERVER ; events: - services_running // services available in the IUT Loading Loading
Test Purposes/App/Mp1/Ams/Ams_BV.tplan2 0 → 100644 +318 −0 Original line number Diff line number Diff line /* Copyright (c) ETSI 2018. This software is subject to copyrights owned by ETSI. Non-exclusive permission is hereby granted, free of charge, to copy, reproduce and amend this file under the following conditions: It is provided "as is", without warranty of any kind, expressed or implied. ETSI shall never be liable for any claim, damages, or other liability arising from its use or inability of use.This permission does not apply to any documentation associated with this file for which ETSI keeps all rights reserved. The present copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package MEC021_APP_MP1_AMS_BV { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_AMS_01" Test objective "Check that the AMS service returns information about the registered application mobility services when requested" Reference "ETSI GS MEC 021 2.0.8, clause 8.3.3.1" Config Id Config_MEC_1 PICS Selection PIC_AMS Initial conditions with { the IUT entity having a AppMobilityServiceInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value "/amsi/v1/appMobilityServices", query_parameters containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing AppMobilityServiceInfo containing appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_02" Test objective "Check that the AMS service creates a new application mobility services when requested" Reference "ETSI GS MEC 021 2.0.8, 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 POST containing uri indicating value "/amsi/v1/appMobilityServices", body containing RegistrationRequest containing //Note: at the moment the only element that is defined is RegistrationInfo. Not sure if they are the same. serviceConsumerId containing appInstanceId set to APP_INS_ID ; ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing registeredAppMobilityService containing serviceConsumerId containing appInstanceId set to APP_INS_ID ; ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_03" Test objective "Check that the AMS service returns information about the available subscriptions when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing subscriptionType indicating value "MobilityProcedureSubscription" ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing SubscriptionLinkList containing subscription containing href indicating value SUBSCRIPTION_HREF_VALUE, subscriptionType indicating value "MobilityProcedureSubscription" ; ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_04" Test objective "Check that the AMS service creates a notification subscriptions when requested" Reference "ETSI GS MEC 021 2.0.8, 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 POST containing uri indicating value "/amsi/v1/subscriptions/", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", //shall we have a TP for each type of subscription? callbackReference indicating value CALLBACK_REFERENCE ; ; ; from the AMS_CLIENT entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 CREATED", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value CALLBACK_REFERENCE ; ; ; to the AMS_CLIENT entity } } } Test Purpose { TP Id "TP_MEC_AMS_05" Test objective "Check that the AMS service returns information about a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a GET containing uri indicating value SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value CALLBACK_REFERENCE ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_06" Test objective "Check that the AMS service deletes a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 ;, callbackReference indicating value CALLBACK_REFERENCE, subscriptionType indicating value "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a DELETE containing uri indicating value SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "204 No Content" ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_AMS_06" Test objective "Check that the AMS service modifies a given subscription when requested" Reference "ETSI GS MEC 021 2.0.8, 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 "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? ; } Expected behaviour ensure that { when { the IUT entity receives a PUT containing uri indicating value SUBSCRIPTION_HREF_VALUE, body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", //shall we have a TP for each type of subscription? callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing MobilityProcedureSubscription containing subscriptionType indicating value "MobilityProcedureSubscription", callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; ; to the MEC_SUB entity } } } }
Test Purposes/App/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 +2 −2 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { Expected behaviour ensure that { when { the IUT entity receives a vGET containing the IUT entity receives a GET containing uri indicating value "/rni/v1/subscriptions", query_parameters containing subscriptionType indicating value "cell_change" Loading Loading @@ -79,7 +79,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { Expected behaviour ensure that { when { the IUT entity receives a vPOST containing the IUT entity receives a POST containing uri indicating value "/rni/v1/subscriptions", body containing CellChangeSubscription containing Loading
Test Purposes/mec-common.tplan2 +4 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ Package MEC_Common { - PIC_APP_LCM // MEC032, table xxxxx - PIC_APP_LCM_MANAGEMENT // MEC032, table xxxxy - PIC_APP_LCM_NOTIFICATIONS // MEC032, table xxxxz - PIC_AMS - PIC_AMS_NOTIFICATIONS ; entities: - MEC_OSS Loading @@ -34,6 +36,8 @@ Package MEC_Common { - RNIS_CLIENT - RNIS_SERVER - MEPM - AMS_CLIENT - AMS_SERVER ; events: - services_running // services available in the IUT Loading