Loading Test Purposes/App/Mm1/AppPackageMgmt/AppPkgMgt2_BO-BI.tplan2 0 → 100644 +208 −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 MEC010_2_MEO_MM1_PKGM_BO_BI { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_A" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives a malformed request for creating a new App Package" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", body containing AppPkg containing "not" appPkgName //mandatory attribute ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_B" //Negative case 401 Unauthorized - no token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package without credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", "not" authorization, //Token is mandatory body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "401 Unauthorized" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_C" //Negative case 401 Unauthorized - wrong token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package with wrong credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a HttpMsg containing headers set to vHeadersInvalidToken, //wrong token uri indicating value "/apmi/v1/app_packages", body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "401 Unauthorized" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_D" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package to a wrong URI" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/appPackages", //wrong URI body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_004_NEG_A" //Negative case: 403 FORBIDDEN (operation not allowed due to the current status of the resource) Test objective "Check that MEO responds with an error when it receives a request to enable an App Package that is already enabled" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package containing appPkgId indicating value ON_BOARDED_APP_PKG_ID, operationalState set to "ENABLED"; //Ref. Table 6.2.3.3.2-1 MEC 010-2 } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", uri_parameter appPkgOperation indicating value "ENABLE"; //Wrong since the app package is already enabled from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "403 Forbidden", body containing problemDetails containing status set to 403, detail set to any_value ; ; ; to the MEC_OSS entity } } } } Test Purposes/MEC010-2/AppPkgMgt.tplan2→Test Purposes/App/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 +286 −0 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ 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 app_pkg_mgt { Package MEC010_2_MEO_MM1_PKGM_BV { import all from MEC_Common; import all from MEC_010_2_Domain; //All APP packages Loading Loading @@ -53,7 +52,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, //TODO: it should return 201 - specification to be updated status set to "200 OK", //TODO: it should return 201 - specification to be updated body containing OnboardedAppPkgInfoList containing OnboardedAppPkgInfo containing Loading @@ -72,153 +71,6 @@ Package app_pkg_mgt { } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_A" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives a malformed request for creating a new App Package" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", body containing AppPkg containing "not" appPkgName //mandatory attribute ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_400_BAD_REQUEST ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_B" //Negative case 401 Unauthorized - no token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package without credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", "not" authorization, //Token is mandatory body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_401_UNAUTHORIZED ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_C" //Negative case 401 Unauthorized - wrong token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package with wrong credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a HttpMsg containing headers set to vHeadersInvalidToken, //wrong token uri indicating value "/apmi/v1/app_packages", body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_401_UNAUTHORIZED ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_D" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package to a wrong URI" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/appPackages", //wrong URI body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_404_NOT_FOUND ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_002a" Loading Loading @@ -246,7 +98,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, status set to "200 OK", body containing OnboardedAppPkgInfoList containing OnboardedAppPkgInfo containing Loading Loading @@ -289,7 +141,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, status set to "200 OK", body containing OnboardedAppPkgInfo containing appPkgId set to ON_BOARDED_APP_PKG_ID, Loading Loading @@ -326,7 +178,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK //TODO: it should return 204 - specification to be updated status set to "200 OK" //TODO: it should return 204 - specification to be updated ; to the MEC_OSS entity } } Loading Loading @@ -359,45 +211,12 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_004_NEG_A" //Negative case: 403 FORBIDDEN (operation not allowed due to the current status of the resource) Test objective "Check that MEO responds with an error when it receives a request to enable an App Package that is already enabled" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package containing appPkgId indicating value ON_BOARDED_APP_PKG_ID, operationalState set to "ENABLED"; //Ref. Table 6.2.3.3.2-1 MEC 010-2 } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", uri_parameter appPkgOperation indicating value "ENABLE"; //Wrong since the app package is already enabled from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_403_FORBIDDEN; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_005" Loading Loading @@ -426,7 +245,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } Loading Loading @@ -459,169 +278,9 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } } //All Subscriptions Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001a" Test objective "Check that MEO creates a new subscription entry when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.3.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.9.2-1", //AppPkgSubscription "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.6.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/subscriptions", body containing AppPkgSubscription containing subscriptionType set to "ON_BOARDING", callbackUri set to CALLBACK_URI ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_201_CREATED, body containing AppPkgSubscriptionInfo containing subscriptionId set to any_value, subscriptionType set to "ON_BOARDING", callbackUri set to CALLBACK_URI ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001b" Test objective "Check that MEO returns the list of App Package Management subscriptions when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.3.3.2", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.7.2-1" //AppPkgSubscriptionLinkList Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING"; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/apmi/v1/subscriptions"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, body containing AppPkgSubscriptionLinkList containing subscriptions containing href set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}", rel set to "ON_BOARDING" ; ; ; ; to the MEC_SUB entity } } } //Individual Subscriptions Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001c" Test objective "Check that MEO returns the an App Package Management Subscription when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.4.3.2", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.6.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING"; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, body containing AppPkgSubscriptionInfo containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING" ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001d" Test objective "Check that MEO deletes an App Package Management Subscription when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.4.3.4" Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_204_NO_CONTENT ; to the MEC_SUB entity } } } } Test Purposes/MEC010-2/AppPkgMgt_notifications.tplan2→Test Purposes/App/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 +74 −75 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ 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 app_pkg_mgt_notifications { Package MEC010_2_MEO_MM3_PKGM_BO { import all from MEC_Common; import all from MEC_010_2_Domain; Test Purpose { TP Id "TP_MEC_MEO_MM3_PKGM_002" Loading Test Purposes/App/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 0 → 100644 +176 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Test Purposes/MEC012/RNIS_notifications.tplan2→Test Purposes/App/Mp1/Notifications/RnisNotifications.tplan2 +10 −14 Original line number Diff line number Diff line Loading @@ -13,13 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package rnis_notifications { Package MEC012_APP_MP1_RNI_NOTIF_BV { import all from MEC_Common; import all from MEC_012_Domain; Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_01" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_01" Test objective "Check that the RNIS service sends an RNIS notification about cell change Loading @@ -45,8 +44,6 @@ Package rnis_notifications { Expected behaviour ensure that { when { // TODO: Check whether this could be triggered by the tester of document otherwise // with a reference describing this type of events the IUT entity generates a cell_change_event containing associateId set to ASSOCIATE_ID; } Loading @@ -58,14 +55,13 @@ Package rnis_notifications { associateId set to ASSOCIATE_ID ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_02" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_02" Test objective "Check that the RNIS service sends an RNIS notification about RAB establishment Loading Loading @@ -112,7 +108,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_03" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_03" Test objective "Check that the RNIS service sends an RNIS notification about RAB modification Loading Loading @@ -155,7 +151,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_04" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_04" Test objective "Check that the RNIS service sends an RNIS notification about RAB release Loading Loading @@ -199,7 +195,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_05" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_05" Test objective "Check that the RNIS service sends an RNIS notification about measurement report Loading Loading @@ -242,7 +238,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_06" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_06" Test objective "Check that the RNIS service sends an RNIS notification about timing advance Loading Loading @@ -286,7 +282,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_07" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_07" Test objective "Check that the RNIS service sends an RNIS notification about carrier aggregation reconfiguration Loading Loading @@ -330,7 +326,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_08" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_08" Test objective "Check that the RNIS service sends an RNIS notification about S1 bearer Loading Loading @@ -374,7 +370,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_SUBSCRIPTION_02" TP Id "TP_MEC_APP_MP1_RNI_SUBSCRIPTION_02" Test objective "Check that the RNIS service sends an RNIS notification on subscription expiration Loading Loading
Test Purposes/App/Mm1/AppPackageMgmt/AppPkgMgt2_BO-BI.tplan2 0 → 100644 +208 −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 MEC010_2_MEO_MM1_PKGM_BO_BI { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_A" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives a malformed request for creating a new App Package" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", body containing AppPkg containing "not" appPkgName //mandatory attribute ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "400 Bad Request" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_B" //Negative case 401 Unauthorized - no token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package without credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", "not" authorization, //Token is mandatory body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "401 Unauthorized" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_C" //Negative case 401 Unauthorized - wrong token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package with wrong credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a HttpMsg containing headers set to vHeadersInvalidToken, //wrong token uri indicating value "/apmi/v1/app_packages", body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "401 Unauthorized" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_D" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package to a wrong URI" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/appPackages", //wrong URI body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "404 Not Found" ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_004_NEG_A" //Negative case: 403 FORBIDDEN (operation not allowed due to the current status of the resource) Test objective "Check that MEO responds with an error when it receives a request to enable an App Package that is already enabled" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package containing appPkgId indicating value ON_BOARDED_APP_PKG_ID, operationalState set to "ENABLED"; //Ref. Table 6.2.3.3.2-1 MEC 010-2 } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", uri_parameter appPkgOperation indicating value "ENABLE"; //Wrong since the app package is already enabled from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "403 Forbidden", body containing problemDetails containing status set to 403, detail set to any_value ; ; ; to the MEC_OSS entity } } } }
Test Purposes/MEC010-2/AppPkgMgt.tplan2→Test Purposes/App/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 +286 −0 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ 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 app_pkg_mgt { Package MEC010_2_MEO_MM1_PKGM_BV { import all from MEC_Common; import all from MEC_010_2_Domain; //All APP packages Loading Loading @@ -53,7 +52,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, //TODO: it should return 201 - specification to be updated status set to "200 OK", //TODO: it should return 201 - specification to be updated body containing OnboardedAppPkgInfoList containing OnboardedAppPkgInfo containing Loading @@ -72,153 +71,6 @@ Package app_pkg_mgt { } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_A" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives a malformed request for creating a new App Package" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", body containing AppPkg containing "not" appPkgName //mandatory attribute ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_400_BAD_REQUEST ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_B" //Negative case 401 Unauthorized - no token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package without credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/app_packages", "not" authorization, //Token is mandatory body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_401_UNAUTHORIZED ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_C" //Negative case 401 Unauthorized - wrong token Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package with wrong credentials" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity being_in idle_state } Expected behaviour ensure that { when { the IUT entity receives a HttpMsg containing headers set to vHeadersInvalidToken, //wrong token uri indicating value "/apmi/v1/app_packages", body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_401_UNAUTHORIZED ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_001_NEG_D" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives a request for creating a new App Package to a wrong URI" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.1.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/appPackages", //wrong URI body containing AppPkg containing appPkgName set to any_value ; ; ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_404_NOT_FOUND ; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_002a" Loading Loading @@ -246,7 +98,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, status set to "200 OK", body containing OnboardedAppPkgInfoList containing OnboardedAppPkgInfo containing Loading Loading @@ -289,7 +141,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, status set to "200 OK", body containing OnboardedAppPkgInfo containing appPkgId set to ON_BOARDED_APP_PKG_ID, Loading Loading @@ -326,7 +178,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK //TODO: it should return 204 - specification to be updated status set to "200 OK" //TODO: it should return 204 - specification to be updated ; to the MEC_OSS entity } } Loading Loading @@ -359,45 +211,12 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_004_NEG_A" //Negative case: 403 FORBIDDEN (operation not allowed due to the current status of the resource) Test objective "Check that MEO responds with an error when it receives a request to enable an App Package that is already enabled" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package containing appPkgId indicating value ON_BOARDED_APP_PKG_ID, operationalState set to "ENABLED"; //Ref. Table 6.2.3.3.2-1 MEC 010-2 } Expected behaviour ensure that { when { the IUT entity receives a vPUT containing uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", uri_parameter appPkgOperation indicating value "ENABLE"; //Wrong since the app package is already enabled from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_403_FORBIDDEN; to the MEC_OSS entity } } } Test Purpose { TP Id "TP_MEC_MEO_MM1_PKGM_005" Loading Loading @@ -426,7 +245,7 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } Loading Loading @@ -459,169 +278,9 @@ Package app_pkg_mgt { } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK; status set to "200 OK"; to the MEC_OSS entity } } } //All Subscriptions Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001a" Test objective "Check that MEO creates a new subscription entry when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.3.3.1", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.9.2-1", //AppPkgSubscription "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.6.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT 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 "/apmi/v1/subscriptions", body containing AppPkgSubscription containing subscriptionType set to "ON_BOARDING", callbackUri set to CALLBACK_URI ; ; ; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_201_CREATED, body containing AppPkgSubscriptionInfo containing subscriptionId set to any_value, subscriptionType set to "ON_BOARDING", callbackUri set to CALLBACK_URI ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001b" Test objective "Check that MEO returns the list of App Package Management subscriptions when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.3.3.2", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.7.2-1" //AppPkgSubscriptionLinkList Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING"; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/apmi/v1/subscriptions"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, body containing AppPkgSubscriptionLinkList containing subscriptions containing href set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}", rel set to "ON_BOARDING" ; ; ; ; to the MEC_SUB entity } } } //Individual Subscriptions Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001c" Test objective "Check that MEO returns the an App Package Management Subscription when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.4.3.2", "ETSI GS MEC 010-2 1.2.2, Table 6.2.3.6.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING"; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_200_OK, body containing AppPkgSubscriptionInfo containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "ON_BOARDING" ; ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC_MEO_MEC25_MM3_PKGM_001d" Test objective "Check that MEO deletes an App Package Management Subscription when requested" Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.4.3.4" Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE and PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_SUB entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to HTTP_204_NO_CONTENT ; to the MEC_SUB entity } } } }
Test Purposes/MEC010-2/AppPkgMgt_notifications.tplan2→Test Purposes/App/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 +74 −75 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ 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 app_pkg_mgt_notifications { Package MEC010_2_MEO_MM3_PKGM_BO { import all from MEC_Common; import all from MEC_010_2_Domain; Test Purpose { TP Id "TP_MEC_MEO_MM3_PKGM_002" Loading
Test Purposes/App/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 0 → 100644 +176 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
Test Purposes/MEC012/RNIS_notifications.tplan2→Test Purposes/App/Mp1/Notifications/RnisNotifications.tplan2 +10 −14 Original line number Diff line number Diff line Loading @@ -13,13 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package rnis_notifications { Package MEC012_APP_MP1_RNI_NOTIF_BV { import all from MEC_Common; import all from MEC_012_Domain; Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_01" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_01" Test objective "Check that the RNIS service sends an RNIS notification about cell change Loading @@ -45,8 +44,6 @@ Package rnis_notifications { Expected behaviour ensure that { when { // TODO: Check whether this could be triggered by the tester of document otherwise // with a reference describing this type of events the IUT entity generates a cell_change_event containing associateId set to ASSOCIATE_ID; } Loading @@ -58,14 +55,13 @@ Package rnis_notifications { associateId set to ASSOCIATE_ID ; ; to the MEC_SUB entity } } } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_02" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_02" Test objective "Check that the RNIS service sends an RNIS notification about RAB establishment Loading Loading @@ -112,7 +108,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_03" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_03" Test objective "Check that the RNIS service sends an RNIS notification about RAB modification Loading Loading @@ -155,7 +151,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_04" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_04" Test objective "Check that the RNIS service sends an RNIS notification about RAB release Loading Loading @@ -199,7 +195,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_05" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_05" Test objective "Check that the RNIS service sends an RNIS notification about measurement report Loading Loading @@ -242,7 +238,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_06" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_06" Test objective "Check that the RNIS service sends an RNIS notification about timing advance Loading Loading @@ -286,7 +282,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_07" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_07" Test objective "Check that the RNIS service sends an RNIS notification about carrier aggregation reconfiguration Loading Loading @@ -330,7 +326,7 @@ Package rnis_notifications { Test Purpose { TP Id "TP_MEC025_RNI_NOTIFICATION_08" TP Id "TP_MEC_APP_MP1_RNI_NOTIFICATION_08" Test objective "Check that the RNIS service sends an RNIS notification about S1 bearer Loading Loading @@ -374,7 +370,7 @@ Package rnis_notifications { } Test Purpose { TP Id "TP_MEC025_RNI_SUBSCRIPTION_02" TP Id "TP_MEC_APP_MP1_RNI_SUBSCRIPTION_02" Test objective "Check that the RNIS service sends an RNIS notification on subscription expiration Loading