From 212b93a202daf27b42182cd2a7e67d97d028b8e7 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Thu, 13 Jun 2019 09:41:25 +0200 Subject: [PATCH 1/4] Generic LCM for MM1 and MM3. Fix on TPs ID --- .../AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 | 1476 +++++++++++++++++ .../AppLcmMgmt/AppInstanceMgmt_BV.tplan2 | 689 ++++++++ .../AppInstanceMgmt_notifications.tplan2 | 66 + .../AppInstanceMgmt_notifications.tplan2 | 2 +- .../Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 | 4 +- .../Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 | 170 +- .../Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 | 161 +- Test Purposes/mec-common.tplan2 | 1 + 8 files changed, 2426 insertions(+), 143 deletions(-) create mode 100644 Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 create mode 100644 Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 create mode 100644 Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 new file mode 100644 index 0000000..37875d6 --- /dev/null +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 @@ -0,0 +1,1476 @@ +/* +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_APP_INSTANCE_LCM_BI { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_001_BR" + + Test objective + "Check that MEC API providersends an error when it receives a malformed request + for the creation of a new App Instance" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDDDId set to APP_D_ID + ; + ; + ; 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_GEN_MM1_LCM_001_BO_BI_002" // No token + + Test objective + "Check that MEC API providerfails on creation of a new App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + 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 "/alcmi/v1/app_instances", + "not" authorization, //Token is mandatory + body containing + CreateAppInstanceRequest containing + appDId set to APP_D_ID + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_001_BO_BI_003" // Wrong token + + Test objective + "Check that MEC API providerfails on creation of a new App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_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 "/alcmi/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDId set to APP_D_ID + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_002_BO_BI_001" // No token + + Test objective + "Check that MEC API providerfails on retrieving the list of App Instances when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/app_instances", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_002_BO_BI_002" // Wrong token + + Test objective + "Check that MEC API providerfails on retrieving the list of App Instances when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_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 "/alcmi/v1/app_instances" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_003_BO_BI_001" // No token + + Test objective + "Check that MEC API providerfails on retrieving an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_003_BO_BI_002" // Wrong token + + Test objective + "Check that MEC API providerfails on retrieving an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + headers set to vHeadersInvalidToken, //wrong token + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + * */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_003_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API providerfails on retrieving an App Instance when requested using wrong appInstanceId" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + ; 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_GEN_MM1_LCM_004_BO_BI_001" // No token + + Test objective + "Check that MEC API providerfails on deletion of an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a DELETE containing + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_004_BO_BI_002" // Wrong token + + Test objective + "Check that MEC API providerfails on deletion of an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + headers set to vHeadersInvalidToken, //wrong token + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + * + * + */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_004_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API providerfails on deletion of an App Instance when requested using wrong appInstanceId" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + ; 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_GEN_LCM_005_BR" + + Test objective + "Check that MEC API providerservice fails to instantiate an App Instance when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + body containing + InstantiateAppRequest containing + appERRORId set to APP_INSTANCE_ID //wrong name of the parameter + ; + ; + ; 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_GEN_LCM_005_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API providerservice fails to instantiate an App Instance when it receives a request + related to a not existing App Instance" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" + ; 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_GEN_MM1_LCM_005_BO_BI_002" // No token + + Test objective + "Check that MEC API providerfails on instantiating an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a POST containing + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/instantiate", + "not" authorization, //Token is mandatory + body containing + InstantiateAppRequest containing + appInstanceId set to APP_INSTANCE_ID, + selectedMECHostInfoList containing + selectedMECHostInfo containing + hostId set to HOST_ID + ; + ; + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_005_BO_BI_003" // Wrong token + + Test objective + "Check that MEC API providerfails on instantiation of an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + headers set to vHeadersInvalidToken, //wrong token + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/instantiate", + body containing + InstantiateAppRequest containing + appInstanceId set to APP_INSTANCE_ID, + selectedMECHostInfoList containing + selectedMECHostInfo containing + hostId set to HOST_ID + ; + ; + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_006_BR" + + Test objective + "Check that MEC API providerservice fails to terminate an App Instance when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", + body containing + TerminateAppRequest containing + terminationERRORType set to GRACEFULL //wrong parameter + ; + ; + ; 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_GEN_LCM_006_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API providerservice fails to terminate an App Instance when it receives a request + related to a not existing App Instance" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" + ; 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_GEN_MM1_LCM_006_BO_BI_002" // No token + + Test objective + "Check that MEC API providerfails to terminate an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a POST containing + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/terminate", + "not" authorization, //Token is mandatory + body containing + TerminateAppRequest containing + terminationType set to GRACEFULL + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_006_BO_BI_003" // Wrong token + + Test objective + "Check that MEC API providerfails to terminate an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + headers set to vHeadersInvalidToken, //wrong token + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/terminate", + body containing + TerminateAppRequest containing + terminationType set to GRACEFULL + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + * + * + */ + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_007_BR" + + Test objective + "Check that MEC API providerservice fails to operate on an App Instance when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", + body containing + OperateAppRequest containing + changeERRORStateTo set to any_value //wrong parameter + ; + ; + ; 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_GEN_LCM_007_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API providerservice fails to change the status of an App Instance when it receives a request + related to a not existing App Instance" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" + ; 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_GEN_MM1_LCM_007_BO_BI_002" // No token + + Test objective + "Check that MEC API providerfails to terminate an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED, + operationalState indicating value STARTED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a POST containing + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/operate", + "not" authorization, //Token is mandatory + body containing + OperateAppRequest containing + changeStateTo set to STOPPED + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_007_BO_BI_003" // Wrong token + + Test objective + "Check that MEC API providerfails to terminate an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED, + operationalState indicating value STARTED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + headers set to vHeadersInvalidToken, //wrong token + uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/operate", + body containing + OperateAppRequest containing + changeStateTo set to STOPPED + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_008_BO_BI_001" + + Test objective + "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/app_lcm_op_occs", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_008_BO_BI_002" + + Test objective + "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/app_lcm_op_occs", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_009_BO_BI_001a" + + Test objective + "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/app_lcm_op_occs/{appLcmOpOccId}", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_009_BO_BI_001b" + + Test objective + "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/app_lcm_op_occs/{appLcmOpOccId}", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + * + * + */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_009_NF" + + Test objective + "Check that MEC API providerservice sends an error when it receives a query for a not existing LCM Operation Occurrency" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + 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 + appLcmOpOccId indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_lcm_op_occs/{NON_EXISTENT_APP_LCM_OP_OCC_ID}" + ; 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_GEN_LCM_010_BR" + + Test objective + "Check that MEC API providerservice sends an error when it receives a malformed request to create a LCM Subscription" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_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 "/alcmi/v1/subscriptions" + body containing + AppInstSubscriptionRequest containing + callbackERRORUri set to CALLBACK_URI //wrong parameter + ; + ; + ; + 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_GEN_MM1_LCM_001a_BO_BI_002" + + Test objective + "Check that MEC API providerservice fails to send a LCM Subscription when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/subscriptions", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_001b_BO_BI_002" + + Test objective + "Check that MEC API providerservice fails to send a LCM Subscription when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/subscriptions", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_SUB_002_BO_BI_001" + + Test objective + "Check that MEC API providerservice fails to retrieve the list of LCM Subscriptions when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/subscriptions", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_SUB_002_BO_BI_002" + + Test objective + "Check that MEC API providerservice fails to retrieve the list of LCM Subscriptions when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/subscriptions", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_SUB_003a_BO_BI_001" + + Test objective + "Check that MEC API providerservice fails to retrieve a LCM Subscription when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionId set to SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a GET containing + uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_SUB_003b_BO_BI_001" + + Test objective + "Check that MEC API providerservice fails to retrieve a LCM Subscription when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionId set to SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + * + */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_012_NF" + + Test objective + "Check that MEC API providerservice sends an error when it receives a query for a not existing LCM Subscription" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance_Subscription containing + subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; 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_GEN_MM1_LCM_SUB_004_BO_BI_001" + + Test objective + "Check that MEC API providerservice fails to delete a LCM Subscription when requested using no token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionId set to SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a DELETE containing + uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", + "not" authorization //Token is mandatory + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_MM1_LCM_SUB_004_BO_BI_002" + + Test objective + "Check that MEC API providerservice fails to delete a LCM Subscription when requested using wrong token" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionId set to SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a HttpMsg containing + uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", + headers set to vHeadersInvalidToken //wrong token + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "401 Unauthorized" + ; to the MEC_CONSUMER entity + } + } + } + * + */ + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_013_NF" + + Test objective + "Check that MEC API providerservice sends an error when it receives a deletion request for a not existing LCM Subscription" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Instance_Subscription containing + subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; 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 + } + } + } + +} diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 new file mode 100644 index 0000000..0df5952 --- /dev/null +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 @@ -0,0 +1,689 @@ +/* +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_APP_INSTANCE_LCM { + + import all from MEC_Common; + + //All APP packages + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_001_OK" // It applies for MM1 and MM3 on MEC10-2 + + Test objective + "Check that MEC API provider creates a new App Package when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDId set to APP_D_ID + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + AppInstanceInfo containing + appInstanceId set to any_value, + appDId set to APP_D_ID, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to NOT_INSTANTIATED, + attribute _links + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_002_OK" + + Test objective + "Check that MEC API provider retrieves the list of App instances when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_instances" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInstanceInfoList containing // Definition of AppInstanceInfoList is missing. How to handle with arrays? + AppInstanceInfo containing + appInstanceId set to APP_INSTANCE_ID, + appDId set to any_value, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to any_value, + attribute _links + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_003_OK" + + Test objective + "Check that MEC API provider retrieves an App Package when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInstanceInfo containing + appInstanceId set to APP_INSTANCE_ID, + appDId set to any_value, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to any_value, + attribute _links + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_004_OK" + + Test objective + "Check that MEC API provider service deletes an App Instance when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_005_OK" + + Test objective + "Check that MEC API provider service instantiates an App Instance when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + body containing + InstantiateAppRequest containing + appInstanceId set to APP_INSTANCE_ID, + selectedMECHostInfo set to SELECTED_MEC_HOST_INFO + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to any_value + ; + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_006_OK" + + Test objective + "Check that MEC API provider service terminates an App Instance when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", + body containing + TerminateAppRequest containing + terminationType set to TERMINATION_TYPE + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to any_value + ; + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_007_OK" + + Test objective + "Check that MEC API provider service changes the status of an App Instance from its INITIAL_STATE to a given FINAL_STATE, when requested. + The following combinations INITIAL_STATE - FINAL_STATE are supported: + - STARTED/STOP + - STOPPED/START" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED, + operationalState indicating value INITIAL_STATE + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", + body containing + OperateAppRequest containing + changeStateTo set to FINAL_STATE + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to any_value + ; + ; to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_008_OK" + + Test objective + "Check that MEC API provider service retrieves info about LCM Operation Occurrency on App Instances when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_lcm_op_occs" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppLcmOpOccList containing + AppInstanceLcmOpOcc containing + appLcmOpOccId set to APP_LCM_OP_OCC_ID, + operationState set to any_value, + stateEnteredTime set to any_value, + startTime set to any_value, + lcmOperation set to any_value, + attribute _links containing + self set to "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + appInstance set to any_value + ; + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_009_OK" + + Test objective + "Check that MEC API provider service retrieves info about LCM Operation Occurrency on an App Instance when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppLcmOpOccList containing + AppInstanceLcmOpOcc containing + appLcmOpOccId set to APP_LCM_OP_OCC_ID, + operationState set to any_value, + stateEnteredTime set to any_value, + startTime set to any_value, + lcmOperation set to any_value, + attribute _links containing + self set to "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + appInstance set to any_value + ; + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_010_OK" + + Test objective + "Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can + have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1" // AppInstSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_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 "/alcmi/v1/subscriptions" + body containing + SubscriptionRequest containing + callbackUri set to CALLBACK_URI, + subscriptionType set to SUBSCRIPTION_TYPE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + SubscriptionInfo containing + subscriptionId set to any_value, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to CALLBACK_URI, + attribute _links + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_011_OK" + + Test objective + "Check that MEC API provider service sends the list of LCM Subscriptions when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID, + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value URI + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/subscriptions" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + SubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to URI, + attribute _links + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_012_OK" + + 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.0.9, clause 7.5.4.3.2", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID, + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value URI + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + SubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to URI, + attribute _links + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + + + + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_013_OK" + + Test objective + "Check that MEC API provider service delete an existing LCM Subscription when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; + to the MEC_CONSUMER entity + } + } + } + + + + Test Purpose { + + TP Id "TP_MEC_GEN_INSM_WORKFLOW" + + Test objective + "Check that MEC API provider instantiates a new application when requested" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1" + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDId set to APPD_ID + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a vPOST containing + uri indicating value "/alcmi/v1/app_instances", + body containing + CreateAppInstanceRequest containing //Info model not yet defined + appDId set to APPD_ID + ; + ; + ; to the MEPM entity + and + the IUT entity receives a HTTP_RESPONSE containing + status set to "201 Created", // REST API not yet defined. Response should be 201, but should be checked when REST API is ready + body containing + INSTANCE_ID_TBD set to INSTANCE_ID + ; + ; from the MEPM entity + and + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created" + body containing + AppInstanceInfo containing + appInstanceId set to any_value, + appDId set to APP_D_ID, + appPkgId set to any_value, + instantiationState set to NOT_INSTANTIATED + + ; + ; + ; to the MEC_CONSUMER entity + } + } + } +} diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 new file mode 100644 index 0000000..163a84b --- /dev/null +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 @@ -0,0 +1,66 @@ +/* +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_LCM_NOTIF { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_GEN_LCM_014_OK" + + Test objective + "Check that MEC API provider sends a notification to the subscriber when an application lcm change event occurs" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.5.3.1", + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.18.2-1", // AppLcmOpOccNotification + "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification + + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value CALLBACK_URI, + attribute _links + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a application_lcm_change_event containing + notificationId set to NOTIFICATION_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + Notification containing + notificationId set to NOTIFICATION_ID, + notificationType set to NOTIFICATION_TYPE, + subscriptionId set to any_value, + timeStamp set to any_value, + appInstanceId set to any_value, + appDId set to any_value, + attribute _links + ; + ; + ; to the MEC_SUB entity + } + } + } + +} diff --git a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 index fa360eb..63e9242 100644 --- a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 @@ -27,7 +27,7 @@ Package MEC010_2_MEO_MM1_LCM_NOTIF { "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification - Config Id Config_MEC_3 + Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_NOTIFICATIONS Initial conditions with { diff --git a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 index 5a0b561..51990ef 100644 --- a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 @@ -765,9 +765,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID - ; + the IUT entity being_in idle_state } Expected behaviour diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 index 48628e3..f5d937e 100644 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 @@ -12,82 +12,84 @@ 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_MM3_PKGM_BO_BI { +Package MEC010_2_MEPM_MM3_PKGM_BI { import all from MEC_Common; - + Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_002b_BO_BI_004" //Negative case 404 Not found + TP Id "TP_MEC_MEPM_PKGM_001_BR" //Negative case 400 Bad request Test objective "Check that MEPM responds with an error when it receives - a request for returning a App Package referred with a wrong ID" + a malformed request for requesting the list of existing App Packages" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID, - appDId indicating value APPD_ID - ; + the IUT entity being_in idle_state } Expected behaviour ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{WRONG_APP_PKG_ID}" //wrong AppPackageID + the IUT entity receives a vGET containing + uri indicating value "/apmi/v1/app_packages", + query_parameters containing + operationalStatus indicating value ENABLED // the query parameter should be operationalState not operationalStatus + ; ; from the MEO entity } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" + status set to "400 Bad Request" ; to the MEO entity } } - } - - + } + Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_002a_BO_BI_001" //Negative case 400 Bad request + TP Id "TP_MEC_MEPM_PKGM_002_NF" //Negative case 404 Not found Test objective "Check that MEPM responds with an error when it receives - a malformed request for requesting the list of existing App Packages" + a request for returning a App Package referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity "not" having a App_Package containing + appPkgId indicating value NON_EXISTENT_APP_PKG_ID + ; } Expected behaviour ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages", - query_parameters containing - operationalStatus indicating value ENABLED // the query parameter should be operationalState not operationalStatus - ; + the IUT entity receives a vGET containing + uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" ; from the MEO entity } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" + status set to "404 Not Found" ; to the MEO entity } } } + + - Test Purpose { +/* + Test Purpose { TP Id "TP_MEC_MEPM_MM3_PKGM_002a_BO_BI_002" //Negative case 401 Unauthorized - no token Test objective @@ -234,7 +236,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } } } - + Test Purpose { @@ -439,12 +441,83 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } } +*/ + + + Test Purpose { + TP Id "TP_MEC_MEPM_PKGM_003_NF" //Negative case 404 Not found + + Test objective + "Check that MEPM responds with an error when it receives + a request for returning a App Descriptor referred with a wrong App Package ID" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Package containing + appPkgId indicating value NON_EXISTENT_APP_PKG_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/app_descriptor" + ; from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEO entity + } + } + } + Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_001_BO_BI_001" + TP Id "TP_MEC_MEPM_PKGM_004_NF" //Negative case 404 Not found Test objective - "Check that MEPM service fails creating new Subscription on AppPackages when requested using incorrect parameters" + "Check that MEPM responds with an error when it receives + a request for returning a application package content referred with a wrong App Package ID" + + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_Package containing + appPkgId indicating value NON_EXISTENT_APP_PKG_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appPkgContent" + ; from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEO entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEPM_PKGM_005_BR" + + Test objective + "Check that MEPM service sends an error when it receives a + malformed request for creating a new subscription on AppPackages" Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" @@ -452,9 +525,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID - ; + the IUT entity being_in idle_state } @@ -465,7 +536,6 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { uri indicating value "/apmi/v1/subscriptions", body containing AppPkgSubscription containing - callbackUri set to URI, subscriptionType set to "ONBOARDING" // Enum should be "ON-BOARDING" ; ; @@ -481,7 +551,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } } - + /* Test Purpose { TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_001_BO_BI_002" @@ -637,21 +707,24 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } } } - + */ Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_004_BO_BI_003" + TP Id "TP_MEC_MEPM_PKGM_007_NF" Test objective - "Check that MEPM service fails retrieving a specific subscription on AppPackages when requested using wrong identifier" - + "Check that MEPM service sends an error when it receives a query for a subscription on AppPackages + with a wrong identifier" + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity "not" having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; } @@ -659,7 +732,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{WRONG_SUBSCRIPTION_ID}" + uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEO entity } @@ -673,7 +746,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } - +/* Test Purpose { TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_003_BO_BI_001" @@ -746,21 +819,24 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { } } } - + */ Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_003_BO_BI_001" + TP Id "TP_MEC_MEPM_PKGM_008_NF" Test objective - "Check that MEPM service fails deleting a specific subscription on AppPackages when requested using wrong identifier" - + "Check that MEPM service sends an error when it receives a deletion request for a subscription on AppPackages + with a wrong identifier" + Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity "not" having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; } @@ -768,7 +844,7 @@ Package MEC010_2_MEO_MM3_PKGM_BO_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/subscriptions/{WRONG_SUBSCRIPTION_ID}" + uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEO entity } diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 index 146966d..e647df9 100644 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 @@ -18,7 +18,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_002a" + TP Id "TP_MEC_MEPM_PKGM_001_OK" Test objective "Check that MEPM returns the list of App Packages when requested" @@ -48,25 +48,16 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { body containing OnboardedAppPkgInfoList containing OnboardedAppPkgInfo containing - appPkgId set to APP_PKG_ID, + appPkgId set to ON_BOARDED_APP_PKG_ID, appDId set to APPD_ID, - appName set to APP_NAME, //name changed from appPkgName to appName - appSoftwareVersion set to APP_SOFTWARE_VERSION, - appDVersion set to APPD_VERSION, - checksum set to CHECKSUM, - softwareImagesList containing - AppPkgSWImageInfo containing - appPkgSWImageData set to any_value - ; - ;, - appPkgPath set to APP_PKG_PATH, - operationalState set to "ENABLED", - usageState set to "NOT_IN_USE", - _links containing - self set to any_value, //LINKTYPE VALUE, HOW TO DEFINE IT? - appD set to any_value, //LINKTYPE VALUE, HOW TO DEFINE IT? - appPkgContent set to any_value //LINKTYPE VALUE, HOW TO DEFINE IT? - ; + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + attribute softwareImages, + operationalState set to any_value, + usageState set to any_value, + attribute _links ; ; ; @@ -78,7 +69,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { //Individual APP packages Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_002b" + TP Id "TP_MEC_MEPM_PKGM_002_OK" Test objective "Check that MEPM returns the an App Package when requested" @@ -91,15 +82,14 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Initial conditions with { the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID, - appDId indicating value APPD_ID; + appPkgId indicating value ON_BOARDED_APP_PKG_ID; } Expected behaviour ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{appPkgId}"; + uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}"; from the MEO entity } then { @@ -107,25 +97,16 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { status set to "200 OK", body containing OnboardedAppPkgInfo containing - appPkgId set to APP_PKG_ID, - appDId set to APPD_ID, - appName set to APP_NAME, //name changed from appPkgName to appName - appSoftwareVersion set to APP_SOFTWARE_VERSION, - appDVersion set to APPD_VERSION, - checksum set to CHECKSUM, - softwareImagesList containing - AppPkgSWImageInfo containing - appPkgSWImageData set to any_value - ; - ;, - appPkgPath set to APP_PKG_PATH, - operationalState set to "ENABLED", - usageState set to "NOT_IN_USE", - _links containing - self set to any_value, //LINKTYPE VALUE, HOW TO DEFINE IT? - appD set to any_value, //LINKTYPE VALUE, HOW TO DEFINE IT? - appPkgContent set to any_value //LINKTYPE VALUE, HOW TO DEFINE IT? - ; + appPkgId set to ON_BOARDED_APP_PKG_ID, + appDId set to any_value, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + attribute softwareImages, + operationalState set to any_value, + usageState set to any_value, + attribute _links ; ; ; to the MEO entity @@ -135,7 +116,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_005" + TP Id "TP_MEC_MEPM_PKGM_003_OK" Test objective "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" @@ -155,25 +136,24 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{appPkgId}/app_descriptor" + uri indicating value "/apmi/v1/app_packages/{appPkgId}/app_descriptor", + accept set to ACCEPTED_CONTENT_TYPE ; from the MEO entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", - body containing - AppD set to FILE //SHOULD BE A FILE OR A ZIPPED FILE. HOW CAN WE CHECK THAT? - ; + body set to FILE ; to the MEO entity } } } - + Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_006" + TP Id "TP_MEC_MEPM_PKGM_004_OK" Test objective "Check that MEPM returns the content on a on-boarded Application Package when requested" @@ -193,7 +173,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{appPkgId}/appPkgContent" + uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}/appPkgContent" ; from the MEO entity } @@ -201,7 +181,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - AppD set to FILE //SHOULD BE A FILE OR A ZIPPED FILE. HOW CAN WE CHECK THAT? + AppD set to FILE ; ; to the MEO entity @@ -210,10 +190,10 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_001" + TP Id "TP_MEC_MEPM_PKGM_005_OK" Test objective - "Check that MEPM service sends a Application Package Subscription when requested" + "Check that MEPM service returns an application package subscription when requested" Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" @@ -221,9 +201,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID - ; + the IUT entity being_in idle_state } Expected behaviour @@ -234,7 +212,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { body containing AppPkgSubscription containing callbackUri set to URI, - subscriptionType set to "ON_BOARDING" + subscriptionType set to SUBSCRIPTION_TYPE ; ; ; @@ -245,12 +223,10 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { status set to "201 Created", body containing AppPkgSubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to "ON_BOARDING", + subscriptionId set to any_value, + subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to URI, - _links containing - self set to "/apmi/v1/subscriptions/{subscriptionId}" - ; + attribute _links ; ; ; @@ -260,7 +236,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_002" + TP Id "TP_MEC_MEPM_PKGM_006_OK" Test objective "Check that MEPM service returns the list of Application Package Subscriptions when requested" @@ -271,8 +247,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value ON_BOARDED_APP_PKG_ID + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID ; } @@ -291,10 +267,10 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { AppPkgSubscriptionInfoList containing AppPkgSubscriptionInfo containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to "ON_BOARDING", - callbackUri set to CALLBACK_URI, + subscriptionType set to any_value, + callbackUri set to any_value, _links containing - self set to "/apmi/v1/subscriptions/{subscriptionId}" + self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" ; ; ; @@ -307,7 +283,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_004" + TP Id "TP_MEC_MEPM_PKGM_007_OK" Test objective "Check that MEPM service returns an Application Package Subscription when requested" @@ -318,8 +294,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - subscriptionId indicating value SUBCRIPTION_ID + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID ; } @@ -327,7 +303,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{subscriptionId}" + uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the MEO entity } @@ -337,10 +313,10 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { body containing AppPkgSubscriptionInfo containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to "ON_BOARDING", - callbackUri set to CALLBACK_URI, + subscriptionType set to any_value, + callbackUri set to any_value, _links containing - self set to uri + self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" ; ; ; @@ -351,7 +327,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_SUB_003" + TP Id "TP_MEC_MEPM_PKGM_008_OK" Test objective "Check that MEPM service deletes an Application Package Subscription when requested" @@ -362,8 +338,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - subscriptionId indicating value SUBCRIPTION_ID + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID ; } @@ -371,7 +347,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/subscriptions/{subscriptionId}" + uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the MEO entity } @@ -385,22 +361,23 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_MM3_PKGM_NOTIF_01" + TP Id "TP_MEC_MEPM_PKGM_009_OK" Test objective - "Check that the MEO service sends a application package notification - if the MEO service has an associated subscription and the event is generated" + "Check that the MEPM service sends a application package notification + if the MEPM service has an associated subscription and the event is generated" Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.7.3.1" - Config Id Config_MEC_1 + Config Id Config_MEC_6 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS Initial conditions with { - the IUT entity having a MEPM_subscription containing + the IUT entity having a Subscription containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to "ON_BOARDING", - callbackUri set to CALLBACK_URI + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to CALLBACK_URI, + attribute _links ; } @@ -408,20 +385,20 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { ensure that { when { the IUT entity generates a on_boarding_event containing - subscriptionId set to SUBSCRIPTION_ID; + notificationId set to NOTIFICATION_ID; } then { the IUT entity sends a vPOST containing uri indicating value CALLBACK_URI, body containing notificationId set to NOTIFICATION_ID, - notificationType indicating value "ON_BOARDING", + notificationType indicating value any_value, subscriptionId set to SUBSCRIPTION_ID, - timeStamp set to DATE_TIME, - appPkgId set to APP_PKG_ID, - appDId set to APPD_ID, + timeStamp set to any_value, + appPkgId set to any_value, + appDId set to any_value, _links containing - self set to "/apmi/v1/subscriptions/{subscriptionId}" + self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" ; ; ; to the MEC_SUB entity diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index fd569eb..bb775c9 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -72,6 +72,7 @@ Package MEC_Common { - nr_measurement_repost_event - expiry_notification_event - application_lcm_change_event + - App_Instance ; } -- GitLab From 88be958b9b481957f4c5286dc905bb60da6492e9 Mon Sep 17 00:00:00 2001 From: Giada Landi Date: Thu, 13 Jun 2019 09:46:48 +0200 Subject: [PATCH 2/4] Update RNIS and AMS --- Test Purposes/SRV/Mp1/Ams/Ams_BO_BI.tplan2 | 1016 +++++++++-------- Test Purposes/SRV/Mp1/Ams/Ams_BV.tplan2 | 214 +++- .../Rnis/RnisAllSubscriptions_BO_BI.tplan2 | 348 +++--- .../Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 | 66 +- .../SRV/Mp1/Rnis/RnisQuery_BO_BI.tplan2 | 668 +++++------ .../SRV/Mp1/Rnis/RnisQuery_BV.tplan2 | 33 +- .../RnisSpecificSubscription_BO_BI.tplan2 | 480 ++++---- .../Rnis/RnisSpecificSubscription_BV.tplan2 | 42 +- Test Purposes/mec-common.tplan2 | 3 +- 9 files changed, 1518 insertions(+), 1352 deletions(-) diff --git a/Test Purposes/SRV/Mp1/Ams/Ams_BO_BI.tplan2 b/Test Purposes/SRV/Mp1/Ams/Ams_BO_BI.tplan2 index 6b81023..c12ecd8 100644 --- a/Test Purposes/SRV/Mp1/Ams/Ams_BO_BI.tplan2 +++ b/Test Purposes/SRV/Mp1/Ams/Ams_BO_BI.tplan2 @@ -18,7 +18,7 @@ Package MEC021_APP_MP1_AMS_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_AMS_01_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_AMS_001_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" @@ -52,77 +52,77 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_01_NEG_B" // Negative test: 401 Unauthorized (No token) - - Test objective - "Check that the AMS service returns an error when receives a query about a registered application mobility service without token" - - 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", - "not" authorization - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_01_NEG_B" // Negative test: 401 Unauthorized (No token) +// +// Test objective +// "Check that the AMS service returns an error when receives a query about a registered application mobility service without token" +// +// 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", +// "not" authorization +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_01_NEG_C" // Negative test: 401 Unauthorized (Wrong token) +// +// Test objective +// "Check that the AMS service returns an error when receives a query about a registered application mobility service with a wrong token" +// +// 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", +// headers set to vHeadersInvalidToken +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_01_NEG_C" // Negative test: 401 Unauthorized (Wrong token) + TP Id "TP_MEC_SRV_AMS_002_BR" // Negative test: 400 Bad request Test objective - "Check that the AMS service returns an error when receives a query about a registered application mobility service with a wrong token" - - 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", - headers set to vHeadersInvalidToken - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_02_NEG_A" // Negative test: 400 Bad request - - Test objective - "Check that the AMS service sends an error when it receives a malformatter request to create a new application mobility service" + "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 2.0.8, clause 8.3.3.4" @@ -155,73 +155,73 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_02_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service sends an error when it receives a request to create a new application mobility service without token" - - 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", - "not" authorization - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_02_NEG_C" // Negative test: 401 Unauthorized - wrong token - - Test objective - "Check that the AMS service sends an error when it receives a request to create a new application mobility service with a wrong token" - - 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", - headers set to vHeadersInvalidToken - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_02_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service sends an error when it receives a request to create a new application mobility service without token" +// +// 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", +// "not" authorization +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_02_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service sends an error when it receives a request to create a new application mobility service with a wrong token" +// +// 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", +// headers set to vHeadersInvalidToken +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_03_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_AMS_003_BR" // Negative test: 400 Bad request Test objective - "Check that the AMS service sends an error when it receives a malformatted information query about the available subscriptions" + "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" Reference "ETSI GS MEC 021 2.0.8, clause 8.6.3.1" @@ -233,7 +233,7 @@ Package MEC021_APP_MP1_AMS_BV { _link containing self indicating value SUBSCRIPTION_HREF_VALUE ;, - subscriptionType indicating value "MobilityProcedureSubscription" + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -243,7 +243,7 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing - subscriptionTyp indicating value "MobilityProcedureSubscription" //wrong parameter, it should be subscriptionType + subscriptionTyp indicating value SUBSCRIPTION_TYPE //wrong parameter, it should be subscriptionType ; ; from the MEC_SUB entity } @@ -255,83 +255,86 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_03_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service sends an error when it receives an information query about the available subscriptions without token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/amsi/v1/subscriptions/", - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_03_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service sends an error when it receives an information query about the available subscriptions without token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/amsi/v1/subscriptions/", +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_03_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service sends an error when it receives an information query about the available subscriptions with a wrong token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/amsi/v1/subscriptions/", +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_03_NEG_C" // Negative test: 401 Unauthorized - wrong token + TP Id "TP_MEC_SRV_AMS_004_BR" // Negative test: 400 Bad request Test objective - "Check that the AMS service sends an error when it receives an information query about the available subscriptions with a wrong token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/amsi/v1/subscriptions/", - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_04_NEG_A" // Negative test: 400 Bad request - - Test objective - "Check that the AMS service sends an error when it receives a malformatted request to create a notification subscription" + "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.6.3.4" @@ -348,8 +351,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vPOST containing uri indicating value "/amsi/v1/subscriptions/", body containing - MobilityProcedureSubscription containing - subscriptionTyp indicating value "MobilityProcedureSubscription", //wrong parameter, it should be subscriptionType + NotificationSubscription containing + subscriptionTyp indicating value SUBSCRIPTION_TYPE, //wrong parameter, it should be subscriptionType callbackReference indicating value CALLBACK_REFERENCE ; ; @@ -363,144 +366,144 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_04_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service sends an error when it receives a request to create a notification subscription without token" - - 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/", - "not" authorization - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_04_NEG_C" // Negative test: 401 Unauthorized - wrong token - - Test objective - "Check that the AMS service sends an error when it receives a request to create a notification subscription with a wrong token" - - 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/", - headers set to vHeadersInvalidToken - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_05_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service returns an error when receives a query about a specific subscription without token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value SUBSCRIPTION_HREF_VALUE - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_04_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service sends an error when it receives a request to create a notification subscription without token" +// +// 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/", +// "not" authorization +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_04_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service sends an error when it receives a request to create a notification subscription with a wrong token" +// +// 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/", +// headers set to vHeadersInvalidToken +// ; from the AMS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the AMS_CLIENT entity +// } +// } +// } + +// Test Purpose { +// TP Id "TP_MEC_AMS_05_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service returns an error when receives a query about a specific subscription without token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value SUBSCRIPTION_HREF_VALUE +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_05_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service returns an error when receives a query about a specific subscription with a wrong token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value SUBSCRIPTION_HREF_VALUE, +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_05_NEG_C" // Negative test: 401 Unauthorized - wrong token - - Test objective - "Check that the AMS service returns an error when receives a query about a specific subscription with a wrong token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_05_NEG_D" // Negative test: 404 Not Found + TP Id "TP_MEC_SRV_AMS_005_NF" // Negative test: 404 Not Found Test objective "Check that the AMS service returns an error when receives a query about a not existing subscription" @@ -513,7 +516,7 @@ Package MEC021_APP_MP1_AMS_BV { Initial conditions with { the IUT entity "not" having a AMS_subscription containing _link containing - self indicating value SUBSCRIPTION_HREF_VALUE + self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; ; } @@ -522,7 +525,7 @@ Package MEC021_APP_MP1_AMS_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value SUBSCRIPTION_HREF_VALUE + uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { @@ -533,82 +536,82 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_06_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service sends an error when it receives a delete request for a given subscription without token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value SUBSCRIPTION_HREF_VALUE - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_06_NEG_C" // Negative test: 401 Unauthorized - wrong token - - Test objective - "Check that the AMS service sends an error when it receives a delete request for a given subscription with a wrong token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_06_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service sends an error when it receives a delete request for a given subscription without token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a DELETE containing +// uri indicating value SUBSCRIPTION_HREF_VALUE +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_06_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service sends an error when it receives a delete request for a given subscription with a wrong token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a DELETE containing +// uri indicating value SUBSCRIPTION_HREF_VALUE, +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_06_NEG_D" // Negative test: 404 Not Found + TP Id "TP_MEC_SRV_AMS_006_NF" // Negative test: 404 Not Found Test objective "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" @@ -621,10 +624,8 @@ Package MEC021_APP_MP1_AMS_BV { Initial conditions with { the IUT entity "not" having a AMS_subscription containing _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value "MobilityProcedureSubscription" + self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE + ; ; } @@ -632,7 +633,7 @@ Package MEC021_APP_MP1_AMS_BV { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value SUBSCRIPTION_HREF_VALUE + uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { @@ -644,10 +645,13 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_07_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_AMS_007_BR" // Negative test: 400 Bad request Test objective - "Check that the AMS service sends an error when it receives a malformatted modify request for a given subscription" + "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription. + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.7.3.2" @@ -660,7 +664,7 @@ Package MEC021_APP_MP1_AMS_BV { self indicating value SUBSCRIPTION_HREF_VALUE ;, callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value "MobilityProcedureSubscription" + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -670,8 +674,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vPUT containing uri indicating value SUBSCRIPTION_HREF_VALUE, body containing - MobilityProcedureSubscription containing - subscriptionType indicating value "MobilityProcedureSubscription", + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReferenc indicating value NEW_CALLBACK_REFERENCE //wrong field, it should be callbackReference ; ; @@ -685,82 +689,82 @@ Package MEC021_APP_MP1_AMS_BV { } } - Test Purpose { - TP Id "TP_MEC_AMS_07_NEG_B" // Negative test: 401 Unauthorized - no token - - Test objective - "Check that the AMS service sends an error when it receives a modify request for a given subscription without token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_AMS_07_NEG_C" // Negative test: 401 Unauthorized - wrong token - - Test objective - "Check that the AMS service sends an error when it receives a modify request for a given subscription with a wrong token" - - 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" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_AMS_07_NEG_B" // Negative test: 401 Unauthorized - no token +// +// Test objective +// "Check that the AMS service sends an error when it receives a modify request for a given subscription without token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a PUT containing +// uri indicating value SUBSCRIPTION_HREF_VALUE, +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// Test Purpose { +// TP Id "TP_MEC_AMS_07_NEG_C" // Negative test: 401 Unauthorized - wrong token +// +// Test objective +// "Check that the AMS service sends an error when it receives a modify request for a given subscription with a wrong token" +// +// 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" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a PUT containing +// uri indicating value SUBSCRIPTION_HREF_VALUE, +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_AMS_07_NEG_D" // Negative test: 404 Not found + TP Id "TP_MEC_SRV_AMS_007_NF" // Negative test: 404 Not found Test objective "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" @@ -773,7 +777,7 @@ Package MEC021_APP_MP1_AMS_BV { Initial conditions with { the IUT entity "not" having a AMS_subscription containing _link containing - self indicating value SUBSCRIPTION_HREF_VALUE + self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; ; } @@ -782,7 +786,7 @@ Package MEC021_APP_MP1_AMS_BV { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE + uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; from the MEC_SUB entity } then { diff --git a/Test Purposes/SRV/Mp1/Ams/Ams_BV.tplan2 b/Test Purposes/SRV/Mp1/Ams/Ams_BV.tplan2 index d6b7a00..22bb937 100644 --- a/Test Purposes/SRV/Mp1/Ams/Ams_BV.tplan2 +++ b/Test Purposes/SRV/Mp1/Ams/Ams_BV.tplan2 @@ -18,7 +18,7 @@ Package MEC021_APP_MP1_AMS_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_AMS_01" + TP Id "TP_MEC_SRV_AMS_001_OK" Test objective "Check that the AMS service returns information about the registered application mobility services when requested" @@ -49,7 +49,8 @@ Package MEC021_APP_MP1_AMS_BV { status set to "200 OK", body containing AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID, + attribute registeredAppMobilityService ; ; ; to the AMS_CLIENT entity @@ -58,7 +59,7 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_02" + TP Id "TP_MEC_SRV_AMS_002_OK" Test objective "Check that the AMS service creates a new application mobility services when requested" @@ -89,10 +90,13 @@ Package MEC021_APP_MP1_AMS_BV { 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 + body containing + AppMobilityServiceInfo containing + appMobilityServiceId set to any_value, + registeredAppMobilityService containing + serviceConsumerId containing + appInstanceId set to APP_INS_ID + ; ; ; ; @@ -102,10 +106,13 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_03" + TP Id "TP_MEC_SRV_AMS_003_OK" Test objective - "Check that the AMS service returns information about the available subscriptions when requested" + "Check that the AMS service returns information about the available subscriptions when requested. + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.6.3.1" @@ -117,7 +124,7 @@ Package MEC021_APP_MP1_AMS_BV { _link containing self indicating value SUBSCRIPTION_HREF_VALUE ;, - subscriptionType indicating value "MobilityProcedureSubscription" //shall we have a TP for each type of subscription? + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -127,7 +134,7 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vGET containing uri indicating value "/amsi/v1/subscriptions/", query_parameters containing - subscriptionType indicating value "MobilityProcedureSubscription" + subscriptionType indicating value SUBSCRIPTION_TYPE ; ; from the MEC_SUB entity } @@ -137,8 +144,11 @@ Package MEC021_APP_MP1_AMS_BV { body containing SubscriptionLinkList containing subscription containing - href indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "MobilityProcedureSubscription" + _links containing + self indicating value SUBSCRIPTION_HREF_VALUE + ;, + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference set to any_value ; ; ; @@ -148,10 +158,13 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_04" + TP Id "TP_MEC_SRV_AMS_004_OK" Test objective - "Check that the AMS service creates a notification subscriptions when requested" + "Check that the AMS service creates a notification subscriptions when requested. + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.6.3.4" @@ -168,8 +181,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vPOST 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? + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_REFERENCE ; ; @@ -179,8 +192,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "201 CREATED", body containing - MobilityProcedureSubscription containing - subscriptionType indicating value "MobilityProcedureSubscription", + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_REFERENCE ; ; @@ -190,10 +203,13 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_05" + TP Id "TP_MEC_SRV_AMS_005_OK" Test objective - "Check that the AMS service returns information about a given subscription when requested" + "Check that the AMS service returns information about a given subscription when requested. + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.7.3.1" @@ -206,7 +222,7 @@ Package MEC021_APP_MP1_AMS_BV { 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? + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -221,8 +237,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - MobilityProcedureSubscription containing - subscriptionType indicating value "MobilityProcedureSubscription", + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_REFERENCE ; ; @@ -232,7 +248,7 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_06" + TP Id "TP_MEC_SRV_AMS_006_OK" Test objective "Check that the AMS service deletes a given subscription when requested" @@ -246,9 +262,7 @@ Package MEC021_APP_MP1_AMS_BV { 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? + ; ; } @@ -268,10 +282,13 @@ Package MEC021_APP_MP1_AMS_BV { } Test Purpose { - TP Id "TP_MEC_AMS_07" + TP Id "TP_MEC_SRV_AMS_007_OK" Test objective - "Check that the AMS service modifies a given subscription when requested" + "Check that the AMS service modifies a given subscription when requested. + Permitted SUBSCRIPTION_TYPE are: + - MobilityProcedureSubscription + - AdjacentAppInfoSubscription" Reference "ETSI GS MEC 021 2.0.8, clause 8.7.3.2" @@ -284,7 +301,7 @@ Package MEC021_APP_MP1_AMS_BV { 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? + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -294,8 +311,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity receives a vPUT 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? + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; @@ -305,8 +322,8 @@ Package MEC021_APP_MP1_AMS_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - MobilityProcedureSubscription containing - subscriptionType indicating value "MobilityProcedureSubscription", + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value NEW_CALLBACK_REFERENCE ; ; @@ -314,5 +331,132 @@ Package MEC021_APP_MP1_AMS_BV { } } } + + Test Purpose { + TP Id "TP_MEC_SRV_AMS_008_OK" + + Test objective + "Check that the AMS service sends an AMS notification about a mobility procedure + if the AMS service has an associated subscription and the event is generated" + + Reference "ETSI GS MEC 021 2.0.8, clause 7.4.2" + + Config Id Config_MEC_1 + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value "MobilityProcedureSubscription", + callbackReference indicating value CALLBACK_URI, + filterCriteria containing + appInstanceId set to APP_INSTANCE_ID + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a mobility_procedure_event containing + appInstanceId set to APP_INSTANCE_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "MobilityProcedureNotification", + targetAppInfo containing + appInstanceId set to APP_INSTANCE_ID + ;, + mobilityStatus set to any_value + ; + ; to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_SRV_AMS_009_OK" + + Test objective + "Check that the AMS service sends an AMS notification about adjacent application instances + if the AMS service has an associated subscription and the event is generated" + + Reference "ETSI GS MEC 021 2.0.8, clause 7.4.3" + + Config Id Config_MEC_1 + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value "AdjacentAppInfoSubscription", + callbackReference indicating value CALLBACK_URI, + filterCriteria containing + appInstanceId set to APP_INSTANCE_ID + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a adjacent_app_info_event containing + appInstanceId set to APP_INSTANCE_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "AdjacentAppInfoNotification", + adjacentAppInfo containing + appInstanceId set to APP_INSTANCE_ID + ; + ; + ; to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_SRV_AMS_010_OK" + + Test objective + "Check that the AMS service sends an AMS notification on subscription expiration + if the AMS service has an associated subscription and the event is generated" + + Reference "ETSI GS MEC 021 2.0.8, clause 7.4.4" + + Config Id Config_MEC_1 + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value any_value, //VALID for all subscription types + callbackReference indicating value CALLBACK_URI, + _links containing + self set to SUBSCRIPTION_HREF_VALUE + ;, + subscriptionId set to SUBSCRIPTION_ID, + expiryDeadline set to EXPIRY_DEADLINE + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a expiry_notification_event containing + subscriptionId set to SUBSCRIPTION_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "ExpiryNotification", //this field is not in the spec. + expiryDeadline set to EXPIRY_DEADLINE + ; + ; to the MEC_SUB entity + } + } + } } diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BO_BI.tplan2 index 7a653fb..9c466ea 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BO_BI.tplan2 @@ -18,7 +18,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_01_NEG_A" // Negative test: Trying to get a 400 Bad Request using incorrect parameters (Not existent subscriptionType) + TP Id "TP_MEC_SRV_RNIS_011_BR" // Negative test: Trying to get a 400 Bad Request using incorrect parameters (Not existent subscriptionType) Test objective "Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions with a wrong subscription type" @@ -26,12 +26,12 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS Initial conditions with { the IUT entity having a RNIS_subscription containing subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -54,82 +54,83 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_01_NEG_B" // Negative test: Trying to get a 401 Unauthorized (Client did not submit credentials) - - Test objective - "Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions of a given type without submitting credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/subscriptions", - query_parameters containing - subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" - ;, - "not" authorization // Token not provided - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_01_NEG_C" // Negative test: Trying to get a 401 Unauthorized (Invalid token) - - Test objective - "Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions of a given type submitting a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" - ; - } - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/subscriptions", - headers set to vHeadersInvalidToken, // Invalid token - query_parameters containing - subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_01_NEG_B" // Negative test: Trying to get a 401 Unauthorized (Client did not submit credentials) +// +// Test objective +// "Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions of a given type without submitting credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, +// subscriptionType indicating value "CellChangeSubscription" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/subscriptions", +// query_parameters containing +// subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, +// subscriptionType indicating value "CellChangeSubscription" +// ;, +// "not" authorization // Token not provided +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_01_NEG_C" // Negative test: Trying to get a 401 Unauthorized (Invalid token) +// +// Test objective +// "Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions of a given type submitting a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, +// subscriptionType indicating value "CellChangeSubscription" +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/subscriptions", +// headers set to vHeadersInvalidToken, // Invalid token +// query_parameters containing +// subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, +// subscriptionType indicating value "CellChangeSubscription" +// ; +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } //Removed since not related to an individual resource // Test Purpose { @@ -256,7 +257,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_02_NEG_A" // 400 Bad Request + TP Id "TP_MEC_SRV_RNIS_012_BR" // 400 Bad Request Test objective "Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong format" @@ -264,7 +265,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS Initial conditions with { the IUT entity being_in idle_state @@ -278,14 +279,9 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { body containing CellChangeSubscription containing subscritionType indicating value "CelCangeSubscription", //wrong subscription type - callbackReference indicating value CALLBACK_URI, - filterCriteriaAssocHo containing - appInstanceId set to APP_INS_ID, - associateId set to ASSOCIATE_ID_LIST, - ecgi set to ECGI, - hoStatus set to HO_STATUS - ;, - expiryDeadline set to EXPIRY_DEADLINE + callbackReference indicating value any_value, + attribute filterCriteriaAssocHo, + expiryDeadline set to any_value ; ; ; from the MEC_SUB entity @@ -299,94 +295,94 @@ Package MEC012_APP_MP1_RNI_SUBS_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_02_NEG_B" // 401 Unauthorized (No Token) - - Test objective - "Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS - - 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 "/rni/v1/subscriptions", - "not" authorized, - body containing - CellChangeSubscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - filterCriteriaAssocHo containing - appInstanceId set to APP_INS_ID, - associateId set to ASSOCIATE_ID_LIST, - ecgi set to ECGI, - hoStatus set to HO_STATUS - ;, - expiryDeadline set to EXPIRY_DEADLINE - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_02_NEG_C" // 401 Unauthorized (Wrong token) - - Test objective - "Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS - - 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 "/rni/v1/subscriptions", - headers set to vHeadersInvalidToken, // wrong token - body containing - CellChangeSubscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - filterCriteriaAssocHo containing - appInstanceId set to APP_INS_ID, - associateId set to ASSOCIATE_ID_LIST, - ecgi set to ECGI, - hoStatus set to HO_STATUS - ;, - expiryDeadline set to EXPIRY_DEADLINE - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_02_NEG_B" // 401 Unauthorized (No Token) +// +// Test objective +// "Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS +// +// 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 "/rni/v1/subscriptions", +// "not" authorized, +// body containing +// CellChangeSubscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// filterCriteriaAssocHo containing +// appInstanceId set to APP_INS_ID, +// associateId set to ASSOCIATE_ID_LIST, +// ecgi set to ECGI, +// hoStatus set to HO_STATUS +// ;, +// expiryDeadline set to EXPIRY_DEADLINE +// ; +// ; +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_02_NEG_C" // 401 Unauthorized (Wrong token) +// +// Test objective +// "Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS +// +// 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 "/rni/v1/subscriptions", +// headers set to vHeadersInvalidToken, // wrong token +// body containing +// CellChangeSubscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// filterCriteriaAssocHo containing +// appInstanceId set to APP_INS_ID, +// associateId set to ASSOCIATE_ID_LIST, +// ecgi set to ECGI, +// hoStatus set to HO_STATUS +// ;, +// expiryDeadline set to EXPIRY_DEADLINE +// ; +// ; +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } //Removed since not related to an individual resource // Test Purpose { diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 index efda3d0..589175c 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisAllSubscriptions_BV.tplan2 @@ -18,20 +18,30 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_01" + TP Id "TP_MEC_SRV_RNIS_011_OK" Test objective - "Check that the RNIS service sends the list of links to the relevant RNIS subscriptions when requested" + "Check that the RNIS service sends the list of links to the relevant RNIS subscriptions when requested. + Acceptable SUBSCRIPTION_TYPE are the following: + - cell_change Cell Change + - rab_est RAB Establishment + - rab_mod RAB Modification + - rab_rel RAB Release + - meas_rep_ue UE Measurement Report + - nr_meas_rep_ue 5G NR UE Measurement Report + - timing_advance_ue UE Timing Advance + - ca_reconf Carrier Aggregation Reconfig + - s1_bearer S1 Bearer Notification " Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/SubscriptionLinkList" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS Initial conditions with { the IUT entity having a RNIS_subscription containing subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CellChangeSubscription" //shall we have a TP for each type of subscription? + subscriptionType indicating value SUBSCRIPTION_TYPE ; } @@ -41,7 +51,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { the IUT entity receives a vGET containing uri indicating value "/rni/v1/subscriptions", query_parameters containing - subscriptionType indicating value "cell_change" + subscription_type indicating value SUBSCRIPTION_TYPE ; ; from the MEC_SUB entity } @@ -52,7 +62,7 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { subscriptionLinkList containing subscription containing href indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value "CELL_CHANGE" + subscriptionType indicating value SUBSCRIPTION_TYPE ; ; ; @@ -62,15 +72,25 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { } Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_02" + TP Id "TP_MEC_SRV_RNIS_012_OK" Test objective - "Check that the RNIS service creates a new RNIS subscription" + "Check that the RNIS service creates a new RNIS subscription. + Acceptable SUBSCRIPTION_TYPE are the following: + - CellChangeSubscription + - RabEstSubscription + - RabModSubscription + - RabRelSubscription + - MeasRepUeSubscription + - MeasTaSubscription + - CaReconfSubscription + - S1BearerSubscription + - NrMeasRepUeSubscription" + + Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4" - Reference "ETSI GS MEC 012 2.0.4, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_ALL_SUBSCRIPTIONS + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS Initial conditions with { the IUT entity being_in idle_state @@ -83,15 +103,8 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { uri indicating value "/rni/v1/subscriptions", body containing CellChangeSubscription containing - subscriptionType indicating value "CellChangeSubscription", //shall we have a TP for each type of subscription? - callbackReference indicating value CALLBACK_URI, - filterCriteriaAssocHo containing - appInstanceId set to APP_INS_ID, - associateId set to ASSOCIATE_ID_LIST, - ecgi set to ECGI, - hoStatus set to HO_STATUS - ;, - expiryDeadline set to EXPIRY_DEADLINE + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value CALLBACK_URI ; ; ; from the MEC_SUB entity @@ -101,18 +114,9 @@ Package MEC012_APP_MP1_RNI_SUBS_BV { status set to "201 Created", body containing CellChangeSubscription containing - subscriptionType indicating value "CellChangeSubscription", + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_URI, - _links containing - self set to SUBSCRIPTION_HREF_VALUE - ;, - filterCriteriaAssocHo containing - appInstanceId set to APP_INS_ID, - associateId set to ASSOCIATE_ID_LIST, - ecgi set to ECGI, - hoStatus set to HO_STATUS - ;, - expiryDeadline set to EXPIRY_DEADLINE + attribute _links ; ; ; to the MEC_SUB entity diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BO_BI.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BO_BI.tplan2 index dec7278..b8e648c 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BO_BI.tplan2 @@ -18,7 +18,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_RNI_QUERY_01_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_RNIS_016_BR" // Negative test: 400 Bad request Test objective "Check that the RNIS service returns an error when the RAB information is requested with a malformatted message" @@ -27,7 +27,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a RabInfo containing @@ -56,88 +56,88 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_01_NEG_B" // Negative test: 401 Unauthorized (No token provided) - - Test objective - "Check that the RNIS service returns an error when the RAB information is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a RabInfo containing - cellUserInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/rab_info", - "not" authorization, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_01_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) - - Test objective - "Check that the RNIS service returns an error when the RAB information is requested with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a RabInfo containing - cellUserInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/rab_info", - headers set to vHeadersInvalidToken, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_01_NEG_B" // Negative test: 401 Unauthorized (No token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the RAB information is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.3.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a RabInfo containing +// cellUserInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/rab_info", +// "not" authorization, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_01_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the RAB information is requested with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.3.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a RabInfo containing +// cellUserInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/rab_info", +// headers set to vHeadersInvalidToken, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// Test Purpose { - TP Id "TP_MEC_RNI_QUERY_01_NEG_D" // Negative test: 404 Not found + TP Id "TP_MEC_SRV_RNIS_016_NF" // Negative test: 404 Not found Test objective "Check that the RNIS service returns an error when the RAB information for a not existing element is requested" @@ -146,7 +146,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity "not" having a RabInfo containing @@ -216,7 +216,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { */ Test Purpose { - TP Id "TP_MEC_RNI_QUERY_02_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_RNIS_017_BR" // Negative test: 400 Bad request Test objective "Check that the RNIS service returns an error when the PLMN information is requested with a malformatted message" @@ -225,7 +225,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a PlmnInfo containing @@ -252,84 +252,84 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_02_NEG_B" // Negative test: 401 Unauthorized (No token provided) - - Test objective - "Check that the RNIS service returns an error when the PLMN information is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a PlmnInfo containing - appInstanceId indicating value APP_INSTANCE_INFO - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/plmn_info", - "not" authorization, - query_parameters containing - app_ins_id indicating value APP_INS_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_02_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) - - Test objective - "Check that the RNIS service returns an error when the PLMN information is requested with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a PlmnInfo containing - appInstanceId indicating value APP_INSTANCE_INFO - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/plmn_info", - headers set to vHeadersInvalidToken, - query_parameters containing - appInstanceId indicating value APP_INSTANCE_INFO - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_02_NEG_B" // Negative test: 401 Unauthorized (No token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the PLMN information is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.4.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a PlmnInfo containing +// appInstanceId indicating value APP_INSTANCE_INFO +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/plmn_info", +// "not" authorization, +// query_parameters containing +// app_ins_id indicating value APP_INS_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_02_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the PLMN information is requested with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.4.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a PlmnInfo containing +// appInstanceId indicating value APP_INSTANCE_INFO +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/plmn_info", +// headers set to vHeadersInvalidToken, +// query_parameters containing +// appInstanceId indicating value APP_INSTANCE_INFO +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// Test Purpose { - TP Id "TP_MEC_RNI_QUERY_02_NEG_D" // Negative test: 404 Not found + TP Id "TP_MEC_SRV_RNIS_017_NF" // Negative test: 404 Not found Test objective "Check that the RNIS service returns an error when the PLMN information for a not existing element is requested" @@ -338,11 +338,11 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity "not" having a PlmnInfo containing - appInstanceId indicating value APP_INSTANCE_INFO + appInstanceId indicating value NOT_EXISTENT_APP_INSTANCE_ID ; } @@ -352,7 +352,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { the IUT entity receives a vGET containing uri indicating value "/rnis/v1/query/plmn_info", query_parameters containing - appInstanceId indicating value APP_INSTANCE_INFO + appInstanceId indicating value NOT_EXISTENT_APP_INSTANCE_ID ; ; from the RNIS_CLIENT entity } @@ -365,7 +365,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } Test Purpose { - TP Id "TP_MEC_RNI_QUERY_03_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_RNIS_018_BR" // Negative test: 400 Bad request Test objective "Check that the RNIS service returns an error when the S1 bearer information is requested with a malformatted message" @@ -374,7 +374,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a S1BearerInfo containing @@ -403,88 +403,88 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_03_NEG_B" // Negative test: 401 Unauthorized (No token provided) - - Test objective - "Check that the RNIS service returns an error when the S1 bearer information is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a S1BearerInfo containing - s1UeInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/s1_bearer_info", - "not" authorization, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_03_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) - - Test objective - "Check that the RNIS service returns an error when the S1 bearer information is requested with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a S1BearerInfo containing - s1UeInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/s1_bearer_info", - headers set to vHeadersInvalidToken, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_03_NEG_B" // Negative test: 401 Unauthorized (No token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the S1 bearer information is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.5.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a S1BearerInfo containing +// s1UeInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/s1_bearer_info", +// "not" authorization, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_03_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the S1 bearer information is requested with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.5.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a S1BearerInfo containing +// s1UeInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/s1_bearer_info", +// headers set to vHeadersInvalidToken, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_RNI_QUERY_03_NEG_D" // Negative test: 404 Not found + TP Id "TP_MEC_SRV_RNIS_018_NF" // Negative test: 404 Not found Test objective "Check that the RNIS service returns an error when the S1 bearer information for a not existing element is requested" @@ -493,12 +493,12 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity "not" having a S1BearerInfo containing s1UeInfo containing - ecgi indicating value CELL_ID + ecgi indicating value NOT_EXISTENT_CELL_ID ; ; } @@ -509,7 +509,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { the IUT entity receives a vGET containing uri indicating value "/rnis/v1/query/s1_bearer_info", query_parameters containing - cell_id indicating value CELL_ID + cell_id indicating value NOT_EXISTENT_CELL_ID ; ; from the RNIS_CLIENT entity } @@ -522,16 +522,16 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } Test Purpose { - TP Id "TP_MEC_RNI_QUERY_04_NEG_A" // Negative test: 400 Bad request + TP Id "TP_MEC_SRV_RNIS_019_BR" // Negative test: 400 Bad request Test objective "Check that the RNIS service returns an error when the L2 measurements information is requested with a malformatted message" Reference "ETSI GS MEC 012 2.0.4, clause 7.5a.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a L2_Meas_information containing @@ -560,88 +560,88 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { } - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_04_NEG_B" // Negative test: 401 Unauthorized (No token provided) - - Test objective - "Check that the RNIS service returns an error when the L2 measurements information is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.5a.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a L2_Meas_information containing - cellInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/layer2_meas", - "not" authorization, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_QUERY_04_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) - - Test objective - "Check that the RNIS service returns an error when the L2 measurements information is requested with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.5a.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a L2_Meas_information containing - cellInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/queries/layer2_meas", - headers set to vHeadersInvalidToken, - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the RNIS_CLIENT entity - } - } - } - +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_04_NEG_B" // Negative test: 401 Unauthorized (No token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the L2 measurements information is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.5a.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a L2_Meas_information containing +// cellInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/layer2_meas", +// "not" authorization, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_QUERY_04_NEG_C" // Negative test: 401 Unauthorized (Invalid token provided) +// +// Test objective +// "Check that the RNIS service returns an error when the L2 measurements information is requested with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.5a.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_QUERY +// +// Initial conditions with { +// the IUT entity having a L2_Meas_information containing +// cellInfo containing +// ecgi indicating value CELL_ID +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/queries/layer2_meas", +// headers set to vHeadersInvalidToken, +// query_parameters containing +// cell_id indicating value CELL_ID +// ; +// ; from the RNIS_CLIENT entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the RNIS_CLIENT entity +// } +// } +// } +// Test Purpose { - TP Id "TP_MEC_RNI_QUERY_04_NEG_D" // Negative test: 404 Not found + TP Id "TP_MEC_SRV_RNIS_019_NF" // Negative test: 404 Not found Test objective "Check that the RNIS service returns an error when the L2 measurements information for a not existing element is requested" @@ -650,12 +650,12 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity "not" having a L2_Meas_information containing cellInfo containing - ecgi indicating value CELL_ID + ecgi indicating value NOT_EXISTENT_CELL_ID ; ; } @@ -666,7 +666,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BO_BI { the IUT entity receives a vGET containing uri indicating value "/rnis/v1/query/layer2_meas", query_parameters containing - cell_id indicating value CELL_ID + cell_id indicating value NOT_EXISTENT_CELL_ID ; ; from the RNIS_CLIENT entity } diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BV.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BV.tplan2 index a8ee86f..90d876b 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BV.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisQuery_BV.tplan2 @@ -18,7 +18,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_RNI_QUERY_01" + TP Id "TP_MEC_SRV_RNIS_016_OK" Test objective "Check that the RNIS service returns the RAB information when requested" @@ -27,7 +27,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a RabInfo containing @@ -52,8 +52,11 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { status set to "200 OK", body containing RabInfo containing + appInstanceId set to any_value, + requestId set to any_value, cellUserInfo containing - ecgi indicating value CELL_ID + ecgi indicating value CELL_ID, + attribute ueInfo ; ; ; @@ -64,7 +67,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { Test Purpose { - TP Id "TP_MEC_RNI_QUERY_02" + TP Id "TP_MEC_SRV_RNIS_017_OK" Test objective "Check that the RNIS service returns the PLMN information when requested" @@ -73,7 +76,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a PlmnInfo containing @@ -96,7 +99,8 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { status set to "200 OK", body containing PlmnInfo containing - appInstanceId indicating value APP_INS_ID + appInstanceId indicating value APP_INS_ID, + attribute plmn ; ; ; to the RNIS_CLIENT entity @@ -105,7 +109,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { } Test Purpose { - TP Id "TP_MEC_RNI_QUERY_03" + TP Id "TP_MEC_SRV_RNIS_018_OK" Test objective "Check that the RNIS service returns the S1 bearer information" @@ -114,7 +118,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a S1BearerInfo containing @@ -138,8 +142,13 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - S1BearerInfo containing - ecgi indicating value CELL_ID + S1BearerInfo containing + s1UeInfo containing + attribute tempUeId, + attribute associateId, + ecgi indicating value CELL_ID, + attribute s1BearerInfoDetailed + ; ; ; ; to the RNIS_CLIENT entity @@ -148,7 +157,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { } Test Purpose { - TP Id "TP_MEC025_RNI_QUERY_04" + TP Id "TP_MEC_SRV_RNIS_019_OK" Test objective "Check that the RNIS service returns the L2 measurements information" @@ -157,7 +166,7 @@ Package MEC012_APP_MP1_RNI_QUERY_BV { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_QUERY + PICS Selection PIC_RNIS_QUERY Initial conditions with { the IUT entity having a L2_Meas_information containing diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BO_BI.tplan2 index a66234e..3e1da9d 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BO_BI.tplan2 @@ -16,88 +16,86 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { import all from MEC_Common; - //Not clear how the 400 could be generated for the GET, since the GET does not have any body or query parameters +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_03_NEG_B" // Negative test: 401 Unauthorized (No token) +// +// Test objective +// "Check that the RNIS service responds with error when a given RNIS subscription is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_03_NEG_C" // Negative test: 401 Unauthorized (Invalid token) +// +// Test objective +// "Check that the RNIS service responds with error when a given RNIS subscription is requested with wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a GET containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_03_NEG_B" // Negative test: 401 Unauthorized (No token) - - Test objective - "Check that the RNIS service responds with error when a given RNIS subscription is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_03_NEG_C" // Negative test: 401 Unauthorized (Invalid token) - - Test objective - "Check that the RNIS service responds with error when a given RNIS subscription is requested with wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_03_NEG_D" // Negative test: 404 Not Found + TP Id "TP_MEC_SRV_RNIS_013_NF" // Negative test: 404 Not Found Test objective "Check that the RNIS service responds with error when a not existing RNIS subscription is requested" @@ -106,12 +104,12 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity "not" having a RNIS_subscription containing _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" + self set to "/rni/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; ; } @@ -120,7 +118,7 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/rni/v1/subscription/{SUBSCRIPTION_ID}" + uri indicating value "/rni/v1/subscription/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_SUB entity } then { @@ -174,7 +172,7 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { */ Test Purpose { // Negative test: 400 Bad request - TP Id "TP_MEC_RNI_SUBSCRIPTION_04_NEG_A" + TP Id "TP_MEC_SRV_RNIS_014_BR" Test objective "Check that the RNIS service sends an error when it receives a malformed modify request for a RNIS subscription" @@ -182,7 +180,7 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity having a RNIS_subscription containing @@ -217,86 +215,86 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { } } - Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_04_NEG_B" // Negative test: 401 Unauthorized (No token) - - Test objective - "Check that the RNIS service responds with error when a modification for a given RNIS subscription is requested without credentials" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - "not" authorization - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC025_RNI_SUBSCRIPTION_04_NEG_C" // Negative test: 401 Unauthorized (Invalid token) - - Test objective - "Check that the RNIS service responds with error when a modification for a given RNIS subscription is requested with wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - headers set to vHeadersInvalidToken - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - +// Test Purpose { +// TP Id "TP_MEC_RNI_SUBSCRIPTION_04_NEG_B" // Negative test: 401 Unauthorized (No token) +// +// Test objective +// "Check that the RNIS service responds with error when a modification for a given RNIS subscription is requested without credentials" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a PUT containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// "not" authorization +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// +// Test Purpose { +// TP Id "TP_MEC025_RNI_SUBSCRIPTION_04_NEG_C" // Negative test: 401 Unauthorized (Invalid token) +// +// Test objective +// "Check that the RNIS service responds with error when a modification for a given RNIS subscription is requested with wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// subscriptionType indicating value "CellChangeSubscription", +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a PUT containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// headers set to vHeadersInvalidToken +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_04_NEG_D" // Negative test: 404 Not Found + TP Id "TP_MEC_SRV_RNIS_014_NF" // Negative test: 404 Not Found Test objective "Check that the RNIS service responds with error when a modification for a not existing RNIS subscription is requested" @@ -305,12 +303,12 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity "not" having a RNIS_subscription containing _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" + self set to "/rni/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; ; } @@ -320,7 +318,7 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { when { the IUT entity receives a vPUT containing - uri indicating value "/rni/v1/subscription/{SUBSCRIPTION_ID}" + uri indicating value "/rni/v1/subscription/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_SUB entity } then { @@ -331,80 +329,80 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { } } - Test Purpose { // Negative test: 401 Unauthorized (No token) - TP Id "TP_MEC_RNI_SUBSCRIPTION_05_NEG_B" - - Test objective - "Check that the RNIS service sends an error when it receives a deletion request for a RNIS subscription without token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - "not" authorization //missing token - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { // Negative test: 401 Unauthorized (Invalid token) - TP Id "TP_MEC_RNI_SUBSCRIPTION_05_NEG_C" - - Test objective - "Check that the RNIS service sends an error when it receives a deletion request for a RNIS subscription with a wrong token" - - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", - headers set to vHeadersInvalidToken //wrong token - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "401 Unauthorized" - ; to the MEC_SUB entity - } - } - } +// Test Purpose { // Negative test: 401 Unauthorized (No token) +// TP Id "TP_MEC_RNI_SUBSCRIPTION_05_NEG_B" +// +// Test objective +// "Check that the RNIS service sends an error when it receives a deletion request for a RNIS subscription without token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a DELETE containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// "not" authorization //missing token +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } +// +// Test Purpose { // Negative test: 401 Unauthorized (Invalid token) +// TP Id "TP_MEC_RNI_SUBSCRIPTION_05_NEG_C" +// +// Test objective +// "Check that the RNIS service sends an error when it receives a deletion request for a RNIS subscription with a wrong token" +// +// Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5", +// "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" +// Config Id Config_MEC_1 +// PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION +// +// Initial conditions with { +// the IUT entity having a RNIS_subscription containing +// callbackReference indicating value CALLBACK_URI, +// _links containing +// self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" +// ; +// ; +// } +// +// Expected behaviour +// ensure that { +// when { +// the IUT entity receives a DELETE containing +// uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", +// headers set to vHeadersInvalidToken //wrong token +// ; from the MEC_SUB entity +// } +// then { +// the IUT entity sends a HTTP_RESPONSE containing +// status set to "401 Unauthorized" +// ; to the MEC_SUB entity +// } +// } +// } Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_05_NEG_D" // Negative test: 404 Not Found + TP Id "TP_MEC_SRV_RNIS_015_NF" // Negative test: 404 Not Found Test objective "Check that the RNIS service responds with error when the deletion of a not existing RNIS subscription is requested" @@ -413,12 +411,12 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity "not" having a RNIS_subscription containing _links containing - self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" + self set to "/rni/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; ; } @@ -427,7 +425,7 @@ Package MEC012_APP_MP1_RNI_SUB_BO_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/rni/v1/subscription/{SUBSCRIPTION_ID}" + uri indicating value "/rni/v1/subscription/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_SUB entity } then { diff --git a/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BV.tplan2 index be510e6..728d3af 100644 --- a/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BV.tplan2 +++ b/Test Purposes/SRV/Mp1/Rnis/RnisSpecificSubscription_BV.tplan2 @@ -18,20 +18,29 @@ Package MEC012_APP_MP1_RNI_SUB_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_03" + TP Id "TP_MEC_SRV_RNIS_013_OK" Test objective - "Check that the RNIS service sends a RNIS subscription when requested" + "Check that the RNIS service sends a RNIS subscription when requested. + Acceptable SUBSCRIPTION_TYPE are the following: + - CellChangeSubscription + - RabEstSubscription + - RabModSubscription + - RabRelSubscription + - MeasRepUeSubscription + - MeasTaSubscription + - CaReconfSubscription + - S1BearerSubscription + - NrMeasRepUeSubscription" - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" + Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.1" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", //shall we have a TP for each type of subscription? + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_URI, _links containing self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -51,7 +60,7 @@ Package MEC012_APP_MP1_RNI_SUB_BV { status set to "200 OK", body containing subscription containing - subscriptionType indicating value "CellChangeSubscription", + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_URI, _links containing self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -65,19 +74,19 @@ Package MEC012_APP_MP1_RNI_SUB_BV { Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_04" + TP Id "TP_MEC_SRV_RNIS_014_OK" Test objective "Check that the RNIS service modifies a RNIS subscription when requested" - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" + Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.2" + Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity having a RNIS_subscription containing - subscriptionType indicating value "CellChangeSubscription", //shall we have a TP for each type of subscription? + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_URI, _links containing self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -92,6 +101,7 @@ Package MEC012_APP_MP1_RNI_SUB_BV { uri indicating value "/rni/v1/subscriptions/{SUBSCRIPTION_ID}", body containing subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value NEW_CALLBACK_URI, _links containing self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -105,6 +115,7 @@ Package MEC012_APP_MP1_RNI_SUB_BV { status set to "200 OK", body containing subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value NEW_CALLBACK_URI, _links containing self set to "/rni/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -119,15 +130,14 @@ Package MEC012_APP_MP1_RNI_SUB_BV { Test Purpose { - TP Id "TP_MEC_RNI_SUBSCRIPTION_05" + TP Id "TP_MEC_SRV_RNIS_015_OK" Test objective "Check that the RNIS service deletes a RNIS subscription when requested" - Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" + Reference "ETSI GS MEC 012 2.0.4, clause 7.8.3.5" Config Id Config_MEC_1 - PICS Selection PIC_RNIS and PIC_RNIS_SPECIFIC_SUBSCRIPTION + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { the IUT entity having a RNIS_subscription containing diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 3a7bf6b..8f3dbcd 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -9,7 +9,6 @@ Package MEC_Common { - PIC_NOTIFICATIONS // Implements notifications - PIC_APP_PACKAGE_MANAGEMENT // MEC025, table 7.3.2-1 - PIC_APP_PACKAGE_NOTIFICATIONS // MEC025, table 7.3.2-2 - - PIC_RNIS // MEC025, clause 7.5.2 - PIC_RNIS_QUERY // MEC025, table 7.5.2-1 - PIC_RNIS_ALL_SUBSCRIPTIONS // MEC025, table 7.5.2-2 - PIC_RNIS_SPECIFIC_SUBSCRIPTION // MEC025, table 7.5.2-3 @@ -72,6 +71,8 @@ Package MEC_Common { - nr_measurement_repost_event - expiry_notification_event - application_lcm_change_event + - mobility_procedure_event + - adjacent_app_info_event ; } -- GitLab From 2be78267ee280d631203ec1583de39410ecf1204 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Thu, 13 Jun 2019 10:04:03 +0200 Subject: [PATCH 3/4] Fix on Configurations --- .../MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 | 2 +- Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 index 63e9242..d84f8cc 100644 --- a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 @@ -27,7 +27,7 @@ Package MEC010_2_MEO_MM1_LCM_NOTIF { "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification - Config Id Config_MEC_6 + Config Id Config_MEC_2 PICS Selection PIC_APP_LCM_NOTIFICATIONS Initial conditions with { diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 index e647df9..37ba735 100644 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 @@ -369,7 +369,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.7.3.1" - Config Id Config_MEC_6 + Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS Initial conditions with { -- GitLab From 729b0c52288688bccb3dbe52195af726ff8296a6 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Thu, 13 Jun 2019 10:27:27 +0200 Subject: [PATCH 4/4] Update on TP naming and mec10-2 version --- .../AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 | 222 +-- .../AppLcmMgmt/AppInstanceMgmt_BV.tplan2 | 90 +- .../AppInstanceMgmt_notifications.tplan2 | 8 +- .../AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 | 1475 ----------------- .../Mm1/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 | 689 -------- .../AppInstanceMgmt_notifications.tplan2 | 66 - .../Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 | 94 +- .../Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 | 30 +- .../Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 | 62 +- .../Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 | 22 +- .../AppPkgMgt_notifications.tplan2 | 74 - .../AppPkgMgt_subscriptions.tplan2 | 176 -- 12 files changed, 264 insertions(+), 2744 deletions(-) delete mode 100644 Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 delete mode 100644 Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 delete mode 100644 Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 delete mode 100644 Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 delete mode 100644 Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 index 37875d6..3529a55 100644 --- a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 @@ -17,15 +17,15 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_GEN_LCM_001_BR" + TP Id "TP_MEC_MEX_LCM_001_BR" Test objective "Check that MEC API providersends an error when it receives a malformed request for the creation of a new App Instance" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -57,14 +57,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_001_BO_BI_002" // No token + TP Id "TP_MEC_MEX_MM1_LCM_001_BO_BI_002" // No token Test objective "Check that MEC API providerfails on creation of a new App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -96,14 +96,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_001_BO_BI_003" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_001_BO_BI_003" // Wrong token Test objective "Check that MEC API providerfails on creation of a new App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -138,13 +138,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_002_BO_BI_001" // No token + TP Id "TP_MEC_MEX_MM1_LCM_002_BO_BI_001" // No token Test objective "Check that MEC API providerfails on retrieving the list of App Instances when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -171,13 +171,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_002_BO_BI_002" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_002_BO_BI_002" // Wrong token Test objective "Check that MEC API providerfails on retrieving the list of App Instances when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -204,13 +204,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_003_BO_BI_001" // No token + TP Id "TP_MEC_MEX_MM1_LCM_003_BO_BI_001" // No token Test objective "Check that MEC API providerfails on retrieving an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -238,13 +238,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_003_BO_BI_002" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_003_BO_BI_002" // Wrong token Test objective "Check that MEC API providerfails on retrieving an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -274,13 +274,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { * */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_003_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEX_LCM_003_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API providerfails on retrieving an App Instance when requested using wrong appInstanceId" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -308,13 +308,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_004_BO_BI_001" // No token + TP Id "TP_MEC_MEX_MM1_LCM_004_BO_BI_001" // No token Test objective "Check that MEC API providerfails on deletion of an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -342,13 +342,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_004_BO_BI_002" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_004_BO_BI_002" // Wrong token Test objective "Check that MEC API providerfails on deletion of an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -379,13 +379,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_004_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEX_LCM_004_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API providerfails on deletion of an App Instance when requested using wrong appInstanceId" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -413,13 +413,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_LCM_005_BR" + TP Id "TP_MEC_MEX_LCM_005_BR" Test objective "Check that MEC API providerservice fails to instantiate an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -453,14 +453,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_LCM_005_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEX_LCM_005_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API providerservice fails to instantiate an App Instance when it receives a request related to a not existing App Instance" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -488,13 +488,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_005_BO_BI_002" // No token + TP Id "TP_MEC_MEX_MM1_LCM_005_BO_BI_002" // No token Test objective "Check that MEC API providerfails on instantiating an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -534,13 +534,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_005_BO_BI_003" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_005_BO_BI_003" // Wrong token Test objective "Check that MEC API providerfails on instantiation of an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -581,13 +581,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_006_BR" + TP Id "TP_MEC_MEX_LCM_006_BR" Test objective "Check that MEC API providerservice fails to terminate an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -621,14 +621,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_LCM_006_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEX_LCM_006_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API providerservice fails to terminate an App Instance when it receives a request related to a not existing App Instance" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -656,13 +656,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_006_BO_BI_002" // No token + TP Id "TP_MEC_MEX_MM1_LCM_006_BO_BI_002" // No token Test objective "Check that MEC API providerfails to terminate an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -697,13 +697,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_006_BO_BI_003" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_006_BO_BI_003" // Wrong token Test objective "Check that MEC API providerfails to terminate an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -742,13 +742,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_LCM_007_BR" + TP Id "TP_MEC_MEX_LCM_007_BR" Test objective "Check that MEC API providerservice fails to operate on an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -781,14 +781,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_LCM_007_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEX_LCM_007_NF" // Wrong APP_INSTANCE_ID Test objective "Check that MEC API providerservice fails to change the status of an App Instance when it receives a request related to a not existing App Instance" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -816,13 +816,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_007_BO_BI_002" // No token + TP Id "TP_MEC_MEX_MM1_LCM_007_BO_BI_002" // No token Test objective "Check that MEC API providerfails to terminate an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -858,13 +858,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_007_BO_BI_003" // Wrong token + TP Id "TP_MEC_MEX_MM1_LCM_007_BO_BI_003" // Wrong token Test objective "Check that MEC API providerfails to terminate an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -902,13 +902,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_008_BO_BI_001" + TP Id "TP_MEC_MEX_MM1_LCM_008_BO_BI_001" Test objective "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -937,13 +937,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_008_BO_BI_002" + TP Id "TP_MEC_MEX_MM1_LCM_008_BO_BI_002" Test objective "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -976,13 +976,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_009_BO_BI_001a" + TP Id "TP_MEC_MEX_MM1_LCM_009_BO_BI_001a" Test objective "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -1013,13 +1013,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_009_BO_BI_001b" + TP Id "TP_MEC_MEX_MM1_LCM_009_BO_BI_001b" Test objective "Check that MEC API providerservice failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -1052,13 +1052,13 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_009_NF" + TP Id "TP_MEC_MEX_LCM_009_NF" Test objective "Check that MEC API providerservice sends an error when it receives a query for a not existing LCM Operation Occurrency" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -1087,14 +1087,14 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_LCM_010_BR" + TP Id "TP_MEC_MEX_LCM_010_BR" Test objective "Check that MEC API providerservice sends an error when it receives a malformed request to create a LCM Subscription" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo Config Id Config_MEC_6 @@ -1130,12 +1130,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_001a_BO_BI_002" + TP Id "TP_MEC_MEX_MM1_LCM_001a_BO_BI_002" Test objective "Check that MEC API providerservice fails to send a LCM Subscription when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.1" Config Id Config_MEC_6 @@ -1164,12 +1164,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_001b_BO_BI_002" + TP Id "TP_MEC_MEX_MM1_LCM_001b_BO_BI_002" Test objective "Check that MEC API providerservice fails to send a LCM Subscription when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.10.1.3.2" Config Id Config_MEC_6 @@ -1196,12 +1196,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_002_BO_BI_001" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_002_BO_BI_001" Test objective "Check that MEC API providerservice fails to retrieve the list of LCM Subscriptions when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1230,12 +1230,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_002_BO_BI_002" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_002_BO_BI_002" Test objective "Check that MEC API providerservice fails to retrieve the list of LCM Subscriptions when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1263,12 +1263,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_003a_BO_BI_001" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_003a_BO_BI_001" Test objective "Check that MEC API providerservice fails to retrieve a LCM Subscription when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1299,12 +1299,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_003b_BO_BI_001" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_003b_BO_BI_001" Test objective "Check that MEC API providerservice fails to retrieve a LCM Subscription when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1335,12 +1335,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_012_NF" + TP Id "TP_MEC_MEX_LCM_012_NF" Test objective "Check that MEC API providerservice sends an error when it receives a query for a not existing LCM Subscription" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1369,12 +1369,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { /* Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_004_BO_BI_001" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_004_BO_BI_001" Test objective "Check that MEC API providerservice fails to delete a LCM Subscription when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1405,12 +1405,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_GEN_MM1_LCM_SUB_004_BO_BI_002" + TP Id "TP_MEC_MEX_MM1_LCM_SUB_004_BO_BI_002" Test objective "Check that MEC API providerservice fails to delete a LCM Subscription when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 @@ -1441,12 +1441,12 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { */ Test Purpose { - TP Id "TP_MEC_GEN_LCM_013_NF" + TP Id "TP_MEC_MEX_LCM_013_NF" Test objective "Check that MEC API providerservice sends an error when it receives a deletion request for a not existing LCM Subscription" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2" Config Id Config_MEC_6 diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 index 0df5952..a96c300 100644 --- a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 @@ -20,14 +20,14 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_001_OK" // It applies for MM1 and MM3 on MEC10-2 + TP Id "TP_MEC_MEX_LCM_001_OK" // It applies for MM1 and MM3 on MEC10-2 Test objective "Check that MEC API provider creates a new App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -72,13 +72,13 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_002_OK" + TP Id "TP_MEC_MEX_LCM_002_OK" Test objective "Check that MEC API provider retrieves the list of App instances when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -120,13 +120,13 @@ Package MEC010_2_APP_INSTANCE_LCM { } Test Purpose { - TP Id "TP_MEC_GEN_LCM_003_OK" + TP Id "TP_MEC_MEX_LCM_003_OK" Test objective "Check that MEC API provider retrieves an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -168,12 +168,12 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_004_OK" + TP Id "TP_MEC_MEX_LCM_004_OK" Test objective "Check that MEC API provider service deletes an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.2.3.4" Config Id Config_MEC_6 @@ -201,13 +201,13 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_005_OK" + TP Id "TP_MEC_MEX_LCM_005_OK" Test objective "Check that MEC API provider service instantiates an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.6.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -246,13 +246,13 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_006_OK" + TP Id "TP_MEC_MEX_LCM_006_OK" Test objective "Check that MEC API provider service terminates an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.7.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -291,7 +291,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_007_OK" + TP Id "TP_MEC_MEX_LCM_007_OK" Test objective "Check that MEC API provider service changes the status of an App Instance from its INITIAL_STATE to a given FINAL_STATE, when requested. @@ -299,8 +299,8 @@ Package MEC010_2_APP_INSTANCE_LCM { - STARTED/STOP - STOPPED/START" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.8.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -340,13 +340,13 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_008_OK" + TP Id "TP_MEC_MEX_LCM_008_OK" Test objective "Check that MEC API provider service retrieves info about LCM Operation Occurrency on App Instances when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.9.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -390,13 +390,13 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_009_OK" + TP Id "TP_MEC_MEX_LCM_009_OK" Test objective "Check that MEC API provider service retrieves info about LCM Operation Occurrency on an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.10.1.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -440,15 +440,15 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_010_OK" + TP Id "TP_MEC_MEX_LCM_010_OK" Test objective "Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1" // AppInstSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.10.2-1" // AppInstSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -492,16 +492,16 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_011_OK" + TP Id "TP_MEC_MEX_LCM_011_OK" Test objective "Check that MEC API provider service sends the list of LCM Subscriptions when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.3.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.13.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.10.2-1", // AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -541,14 +541,14 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_012_OK" + TP Id "TP_MEC_MEX_LCM_012_OK" 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.0.9, clause 7.5.4.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.4.3.2", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.10.2-1", // AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -591,12 +591,12 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_LCM_013_OK" + TP Id "TP_MEC_MEX_LCM_013_OK" Test objective "Check that MEC API provider service delete an existing LCM Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.4" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -628,12 +628,12 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_GEN_INSM_WORKFLOW" + TP Id "TP_MEC_MEX_INSM_WORKFLOW" Test objective "Check that MEC API provider instantiates a new application when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.1.3.1" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT diff --git a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 index 163a84b..0b28080 100644 --- a/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/Common/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 @@ -17,14 +17,14 @@ Package MEC010_2_LCM_NOTIF { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_GEN_LCM_014_OK" + TP Id "TP_MEC_MEX_LCM_014_OK" Test objective "Check that MEC API provider sends a notification to the subscriber when an application lcm change event occurs" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.5.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.18.2-1", // AppLcmOpOccNotification - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.5.5.3.1", + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.18.2-1", // AppLcmOpOccNotification + "ETSI GS MEC 010-2 2.0.10, table 6.2.2.12.2-1" // AppInstNotification Config Id Config_MEC_6 diff --git a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 deleted file mode 100644 index 86b9d9c..0000000 --- a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BO-BI.tplan2 +++ /dev/null @@ -1,1475 +0,0 @@ -/* -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_APP_INSTANCE_LCM_BO_BI { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_001_BR" - - Test objective - "Check that MEO sends an error when it receives a malformed request for the creation of a new App Instance" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDDDId set to APP_D_ID - ; - ; - ; 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_LCM_001_BO_BI_002" // No token - - Test objective - "Check that MEO fails on creation of a new App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - 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 "/alcmi/v1/app_instances", - "not" authorization, //Token is mandatory - body containing - CreateAppInstanceRequest containing - appDId set to APP_D_ID - ; - ; - ; 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_LCM_001_BO_BI_003" // Wrong token - - Test objective - "Check that MEO fails on creation of a new App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_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 "/alcmi/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDId set to APP_D_ID - ; - ; - ; 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_LCM_002_BO_BI_001" // No token - - Test objective - "Check that MEO fails on retrieving the list of App Instances when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/app_instances", - "not" authorization //Token is mandatory - ; 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_LCM_002_BO_BI_002" // Wrong token - - Test objective - "Check that MEO fails on retrieving the list of App Instances when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_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 "/alcmi/v1/app_instances" - ; 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_LCM_003_BO_BI_001" // No token - - Test objective - "Check that MEO fails on retrieving an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}", - "not" authorization //Token is mandatory - ; 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_LCM_003_BO_BI_002" // Wrong token - - Test objective - "Check that MEO fails on retrieving an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - headers set to vHeadersInvalidToken, //wrong token - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}" - ; 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_LCM_003_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEO fails on retrieving an App Instance when requested using wrong appInstanceId" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" - ; 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_LCM_004_BO_BI_001" // No token - - Test objective - "Check that MEO fails on deletion of an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}", - "not" authorization //Token is mandatory - ; 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_LCM_004_BO_BI_002" // Wrong token - - Test objective - "Check that MEO fails on deletion of an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - headers set to vHeadersInvalidToken, //wrong token - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}" - ; 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_LCM_004_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEO fails on deletion of an App Instance when requested using wrong appInstanceId" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" - ; 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_LCM_005_BR" - - Test objective - "Check that MEO service fails to instantiate an App Instance when it receives a malformed request" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", - body containing - InstantiateAppRequest containing - appERRORId set to APP_INSTANCE_ID //wrong name of the parameter - ; - ; - ; 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_LCM_005_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEO service fails to instantiate an App Instance when it receives a request - related to a not existing App Instance" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" - ; 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_LCM_005_BO_BI_002" // No token - - Test objective - "Check that MEO fails on instantiating an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a POST containing - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/instantiate", - "not" authorization, //Token is mandatory - body containing - InstantiateAppRequest containing - appInstanceId set to APP_INSTANCE_ID, - selectedMECHostInfoList containing - selectedMECHostInfo containing - hostId set to HOST_ID - ; - ; - ; - ; - ; 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_LCM_005_BO_BI_003" // Wrong token - - Test objective - "Check that MEO fails on instantiation of an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - headers set to vHeadersInvalidToken, //wrong token - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/instantiate", - body containing - InstantiateAppRequest containing - appInstanceId set to APP_INSTANCE_ID, - selectedMECHostInfoList containing - selectedMECHostInfo containing - hostId set to HOST_ID - ; - ; - ; - ; - ; 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_LCM_006_BR" - - Test objective - "Check that MEO service fails to terminate an App Instance when it receives a malformed request" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", - body containing - TerminateAppRequest containing - terminationERRORType set to GRACEFULL //wrong parameter - ; - ; - ; 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_LCM_006_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEO service fails to terminate an App Instance when it receives a request - related to a not existing App Instance" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" - ; 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_LCM_006_BO_BI_002" // No token - - Test objective - "Check that MEO fails to terminate an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a POST containing - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/terminate", - "not" authorization, //Token is mandatory - body containing - TerminateAppRequest containing - terminationType set to GRACEFULL - ; - ; - ; 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_LCM_006_BO_BI_003" // Wrong token - - Test objective - "Check that MEO fails to terminate an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - headers set to vHeadersInvalidToken, //wrong token - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/terminate", - body containing - TerminateAppRequest containing - terminationType set to GRACEFULL - ; - ; - ; 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_LCM_007_BR" - - Test objective - "Check that MEO service fails to operate on an App Instance when it receives a malformed request" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", - body containing - OperateAppRequest containing - changeERRORStateTo set to any_value //wrong parameter - ; - ; - ; 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_LCM_007_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEO service fails to change the status of an App Instance when it receives a request - related to a not existing App Instance" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" - ; 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_LCM_007_BO_BI_002" // No token - - Test objective - "Check that MEO fails to terminate an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED, - operationalState indicating value STARTED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a POST containing - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/operate", - "not" authorization, //Token is mandatory - body containing - OperateAppRequest containing - changeStateTo set to STOPPED - ; - ; - ; 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_LCM_007_BO_BI_003" // Wrong token - - Test objective - "Check that MEO fails to terminate an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED, - operationalState indicating value STARTED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - headers set to vHeadersInvalidToken, //wrong token - uri indicating value "/alcmi/v1/app_instances/{appInstanceId}/operate", - body containing - OperateAppRequest containing - changeStateTo set to STOPPED - ; - ; - ; 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_LCM_008_BO_BI_001" - - Test objective - "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs", - "not" authorization //Token is mandatory - ; 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_LCM_008_BO_BI_002" - - Test objective - "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/app_lcm_op_occs", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_009_BO_BI_001a" - - Test objective - "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs/{appLcmOpOccId}", - "not" authorization //Token is mandatory - ; 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_LCM_009_BO_BI_001b" - - Test objective - "Check that MEO service failing to retrieve info from LCM Operation Occurrencies on an App Instance when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/app_lcm_op_occs/{appLcmOpOccId}", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_009_NF" - - Test objective - "Check that MEO service sends an error when it receives a query for a not existing LCM Operation Occurrency" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs/{NON_EXISTENT_APP_LCM_OP_OCC_ID}" - ; 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_LCM_010_BR" - - Test objective - "Check that MEO service sends an error when it receives a malformed request to create a LCM Subscription" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo - - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_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 "/alcmi/v1/subscriptions" - body containing - AppInstSubscriptionRequest containing - callbackERRORUri set to CALLBACK_URI //wrong parameter - ; - ; - ; - 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_LCM_001a_BO_BI_002" - - Test objective - "Check that MEO service fails to send a LCM Subscription when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/subscriptions", - "not" authorization //Token is mandatory - ; 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_LCM_001b_BO_BI_002" - - Test objective - "Check that MEO service fails to send a LCM Subscription when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/subscriptions", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_SUB_002_BO_BI_001" - - Test objective - "Check that MEO service fails to retrieve the list of LCM Subscriptions when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/subscriptions", - "not" authorization //Token is mandatory - ; 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_LCM_SUB_002_BO_BI_002" - - Test objective - "Check that MEO service fails to retrieve the list of LCM Subscriptions when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/subscriptions", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_SUB_003a_BO_BI_001" - - Test objective - "Check that MEO service fails to retrieve a LCM Subscription when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionId set to SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", - "not" authorization //Token is mandatory - ; 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_LCM_SUB_003b_BO_BI_001" - - Test objective - "Check that MEO service fails to retrieve a LCM Subscription when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionId set to SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_012_NF" - - Test objective - "Check that MEO service sends an error when it receives a query for a not existing LCM Subscription" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance_Subscription containing - subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; 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_LCM_SUB_004_BO_BI_001" - - Test objective - "Check that MEO service fails to delete a LCM Subscription when requested using no token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionId set to SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", - "not" authorization //Token is mandatory - ; 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_LCM_SUB_004_BO_BI_002" - - Test objective - "Check that MEO service fails to delete a LCM Subscription when requested using wrong token" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM and PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionId set to SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a HttpMsg containing - uri indicating value "/alcmi/v1/subscriptions/{subscriptionId}", - headers set to vHeadersInvalidToken //wrong token - ; 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_LCM_013_NF" - - Test objective - "Check that MEO service sends an error when it receives a deletion request for a not existing LCM Subscription" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a App_Instance_Subscription containing - subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; 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 - } - } - } - -} diff --git a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 deleted file mode 100644 index 2aad776..0000000 --- a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_BV.tplan2 +++ /dev/null @@ -1,689 +0,0 @@ -/* -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_APP_INSTANCE_LCM { - - import all from MEC_Common; - - //All APP packages - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_001_OK" - - Test objective - "Check that MEO creates a new App Package when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDId set to APP_D_ID - ; - ; - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - body containing - AppInstanceInfo containing - appInstanceId set to any_value, - appDId set to APP_D_ID, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to NOT_INSTANTIATED, - attribute _links - ; - ; - ; to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_002_OK" - - Test objective - "Check that MEO retrieves the list of App instances when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances" - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppInstanceInfoList containing // Definition of AppInstanceInfoList is missing. How to handle with arrays? - AppInstanceInfo containing - appInstanceId set to APP_INSTANCE_ID, - appDId set to any_value, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to any_value, - attribute _links - ; - ; - ; - ; to the MEC_OSS entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_003_OK" - - Test objective - "Check that MEO retrieves an App Package when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.2.4.2-1" //AppInstanceInfo - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppInstanceInfo containing - appInstanceId set to APP_INSTANCE_ID, - appDId set to any_value, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to any_value, - attribute _links - ; - ; - ; to the MEC_OSS entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_004_OK" - - Test objective - "Check that MEO service deletes an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.2.3.4" - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_005_OK" - - Test objective - "Check that MEO service instantiates an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.7.2-1" // InstantiateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", - body containing - InstantiateAppRequest containing - appInstanceId set to APP_INSTANCE_ID, - selectedMECHostInfo set to SELECTED_MEC_HOST_INFO - ; - ; - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to any_value - ; - ; to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_006_OK" - - Test objective - "Check that MEO service terminates an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.9.2-1" // TerminateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", - body containing - TerminateAppRequest containing - terminationType set to TERMINATION_TYPE - ; - ; - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to any_value - ; - ; to the MEC_OSS entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_007_OK" - - Test objective - "Check that MEO service changes the status of an App Instance from its INITIAL_STATE to a given FINAL_STATE, when requested. - The following combinations INITIAL_STATE - FINAL_STATE are supported: - - STARTED/STOP - - STOPPED/START" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.8.2-1" // OperateAppRequest - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED, - operationalState indicating value INITIAL_STATE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", - body containing - OperateAppRequest containing - changeStateTo set to FINAL_STATE - ; - ; - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to any_value - ; - ; to the MEC_OSS entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_008_OK" - - Test objective - "Check that MEO service retrieves info about LCM Operation Occurrency on App Instances when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs" - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppLcmOpOccList containing - AppInstanceLcmOpOcc containing - appLcmOpOccId set to APP_LCM_OP_OCC_ID, - operationState set to any_value, - stateEnteredTime set to any_value, - startTime set to any_value, - lcmOperation set to any_value, - attribute _links containing - self set to "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", - appInstance set to any_value - ; - ; - ; - ; - ; to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_009_OK" - - Test objective - "Check that MEO service retrieves info about LCM Operation Occurrency on an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.14.2-1" // AppLcmOpOcc - - Config Id Config_MEC_2 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" - ; from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppLcmOpOccList containing - AppInstanceLcmOpOcc containing - appLcmOpOccId set to APP_LCM_OP_OCC_ID, - operationState set to any_value, - stateEnteredTime set to any_value, - startTime set to any_value, - lcmOperation set to any_value, - attribute _links containing - self set to "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", - appInstance set to any_value - ; - ; - ; - ; - ; to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_010_OK" - - Test objective - "Check that MEO service creates a LCM Subscription when requested, where the subscription request can - have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1" // AppInstSubscriptionInfo - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_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 "/alcmi/v1/subscriptions" - body containing - SubscriptionRequest containing - callbackUri set to CALLBACK_URI, - subscriptionType set to SUBSCRIPTION_TYPE - ; - ; - ; - from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - body containing - SubscriptionInfo containing - subscriptionId set to any_value, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to CALLBACK_URI, - attribute _links - ; - ; - ; - to the MEC_OSS entity - } - } - } - - - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_011_OK" - - Test objective - "Check that MEO service sends the list of LCM Subscriptions when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.3.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID, - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value URI - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions" - ; - from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - SubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to URI, - attribute _links - ; - ; - ; - to the MEC_OSS entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_012_OK" - - Test objective - "Check that MEO service sends the information about an existing LCM subscription when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.4.3.2", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID, - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value URI - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - SubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to URI, - attribute _links - ; - ; - ; - to the MEC_OSS entity - } - } - } - - - - - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_013_OK" - - Test objective - "Check that MEO service delete an existing LCM Subscription when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; - to the MEC_OSS entity - } - } - } - - - - Test Purpose { - - TP Id "TP_MEC_MEO_INSM_WORKFLOW" - - Test objective - "Check that MEO instantiates a new application when requested" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.1.3.1" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_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 "/alcmi/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDId set to APPD_ID - ; - ; - ; from the MEC_OSS entity - } - then { - the IUT entity sends a vPOST containing - uri indicating value "/alcmi/v1/app_instances", - body containing - CreateAppInstanceRequest containing //Info model not yet defined - appDId set to APPD_ID - ; - ; - ; to the MEPM entity - and - the IUT entity receives a HTTP_RESPONSE containing - status set to "201 Created", // REST API not yet defined. Response should be 201, but should be checked when REST API is ready - body containing - INSTANCE_ID_TBD set to INSTANCE_ID - ; - ; from the MEPM entity - and - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created" - body containing - AppInstanceInfo containing - appInstanceId set to any_value, - appDId set to APP_D_ID, - appPkgId set to any_value, - instantiationState set to NOT_INSTANTIATED - - ; - ; - ; to the MEC_OSS entity - } - } - } -} diff --git a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 deleted file mode 100644 index d84f8cc..0000000 --- a/Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +++ /dev/null @@ -1,66 +0,0 @@ -/* -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_LCM_NOTIF { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEO_LCM_014_OK" - - Test objective - "Check that the MEO sends a notification to the subscriber when an application lcm change event occurs" - - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.5.3.1", - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.18.2-1", // AppLcmOpOccNotification - "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification - - - Config Id Config_MEC_2 - PICS Selection PIC_APP_LCM_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value CALLBACK_URI, - attribute _links - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity generates a application_lcm_change_event containing - notificationId set to NOTIFICATION_ID; - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - Notification containing - notificationId set to NOTIFICATION_ID, - notificationType set to NOTIFICATION_TYPE, - subscriptionId set to any_value, - timeStamp set to any_value, - appInstanceId set to any_value, - appDId set to any_value, - attribute _links - ; - ; - ; to the MEC_SUB entity - } - } - } - -} diff --git a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 index 51990ef..d4b3601 100644 --- a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 @@ -24,8 +24,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -60,8 +60,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a malformed request for retrieving the list of existing App Packages" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -95,8 +95,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -127,8 +127,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -159,8 +159,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for retrieving a App Package referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -196,8 +196,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -228,8 +228,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for an existing App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -262,8 +262,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -296,8 +296,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -330,8 +330,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request to delete an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.4", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -371,8 +371,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -413,8 +413,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for deleting an App Package referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.4", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -446,7 +446,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO sends an error when it receives a malformed request to modify the operational state of an application package" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.3" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -481,8 +481,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request to modify an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.3", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.3", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -518,8 +518,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "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 2.0.9, clause 7.3.2.3.3", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.3", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -555,8 +555,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request for updating an App Package referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.4", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -589,8 +589,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request to retrieve an application descriptor referred with a wrong app package ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -622,7 +622,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO fails to retrieve the AppD from an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.6.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -656,8 +656,8 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO responds with an error when it receives a request to retrieve the AppDescriptor from an existing App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -690,7 +690,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails retrieving Subscriptions on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -723,7 +723,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails retrieving Subscriptions on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -759,7 +759,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO service sends an error when it receives a malformed request for creating a new subscription on AppPackages" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -799,7 +799,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails creating new Subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -841,7 +841,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails creating new Subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -884,7 +884,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service retrieving a specific subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -921,7 +921,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails retrieving a specific subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -961,7 +961,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO service sends an error when it receives a query for a subscription on AppPackages with a wrong identifier" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -999,7 +999,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails deleting a specific subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1036,7 +1036,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { Test objective "Check that MEO service fails deleting a specific subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1076,7 +1076,7 @@ Package MEC010_2_MEO_MM1_PKGM_BO_BI { "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages with a wrong identifier" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 index e2daae6..ec9d864 100644 --- a/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEO/Mm1/AppPackageMgmt/AppPkgMgt_BV.tplan2 @@ -24,9 +24,9 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO creates a new App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1", //OnboardedAppPkgInfo - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1", //OnboardedAppPkgInfo + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.2.2-1" //AppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -80,8 +80,8 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO returns the list of App Packages when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -131,8 +131,8 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO returns the an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -178,7 +178,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO deletes an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -214,7 +214,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { - DELETION_PENDING, ABORT " - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.2.3.3" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.2.3.3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -247,7 +247,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO returns the Application Descriptor contained on a on-boarded Application Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.6.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -284,7 +284,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO service sends a Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -330,7 +330,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO service returns the list of Application Package Subscriptions when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -377,7 +377,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO service returns an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -421,7 +421,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { Test objective "Check that MEO service deletes an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -456,7 +456,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV { "Check that the MEO service sends a application package notification if the MEO service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.3.5.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.3.5.1" Config Id Config_MEC_1 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 index f5d937e..385b22c 100644 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BO-BI.tplan2 @@ -23,8 +23,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a malformed request for requesting the list of existing App Packages" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -57,8 +57,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for returning a App Package referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -96,8 +96,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -129,8 +129,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for an existing App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -163,8 +163,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request an existing App Package without credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -204,8 +204,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for creating a new App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -245,7 +245,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM fails to retrieve the AppD from an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -279,8 +279,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request to retrieve the AppDescriptor from an existing App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -313,7 +313,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM fails to retrieve the Package Content from an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.3.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -347,8 +347,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request to retrieve the Package Content from an existing App Package with wrong credentials" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.3.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.3.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -381,7 +381,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails retrieving Subscriptions on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -414,7 +414,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails retrieving Subscriptions on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -451,7 +451,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for returning a App Descriptor referred with a wrong App Package ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -485,7 +485,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM responds with an error when it receives a request for returning a application package content referred with a wrong App Package ID" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -519,7 +519,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM service sends an error when it receives a malformed request for creating a new subscription on AppPackages" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -558,7 +558,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails creating new Subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -600,7 +600,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails creating new Subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -641,7 +641,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails retrieving a specific subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -678,7 +678,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails retrieving a specific subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -716,7 +716,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM service sends an error when it receives a query for a subscription on AppPackages with a wrong identifier" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -753,7 +753,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails deleting a specific subscription on AppPackages when requested using no token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -790,7 +790,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test objective "Check that MEPM service fails deleting a specific subscription on AppPackages when requested using wrong token" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -828,7 +828,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { "Check that MEPM service sends an error when it receives a deletion request for a subscription on AppPackages with a wrong identifier" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 index 37ba735..644184b 100644 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_BV.tplan2 @@ -23,8 +23,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM returns the list of App Packages when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -74,8 +74,8 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM returns the an App Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.0.9, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -121,7 +121,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.4.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -158,7 +158,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM returns the content on a on-boarded Application Package when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.3.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.3.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -195,7 +195,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM service returns an application package subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -241,7 +241,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM service returns the list of Application Package Subscriptions when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.5.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -288,7 +288,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM service returns an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.2" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -332,7 +332,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test objective "Check that MEPM service deletes an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.6.3.4" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -367,7 +367,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { "Check that the MEPM service sends a application package notification if the MEPM service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 010-2 2.0.9, clause 7.4.7.3.1" + Reference "ETSI GS MEC 010-2 2.0.10, clause 7.4.7.3.1" Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 deleted file mode 100644 index 29b92d0..0000000 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_notifications.tplan2 +++ /dev/null @@ -1,74 +0,0 @@ -/* -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_MM3_PKGM_BO { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEO_MM3_PKGM_002" - - Test objective - "Check that the MEO sends an App Package management notification - to the subscriber when the App Package is enabled" - - Reference "ETSI GS MEC 010-2 1.2.2, clause 7.3.5", - "ETSI GS MEC 010-2 1.2.2, table Table 6.2.3.8.2-1" //AppPkgNotification - - Config Id Config_MEC_3 - PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a App_Package containing - appPkgId set to APP_PKG_ID, - appProvider set to APP_PROVIDER, - operationalState set to "DISABLED" - ; - and the IUT entity having a App_Package_subscription containing - subscriptionId indicating value SUBSCRIPTION_ID, - subscriptionType indicating value "OpChange", - callbackUri indicating value CALLBACK_URI, - appPkgFilter containing - appPkgFilterCriteria containing - appProvider set to APP_PROVIDER - ; - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - appPkgId set to APP_PKG_ID, - operationalState set to "ENABLED"; - from the MEC_OSS entity - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - AppPkgNotification containing - notificationId indicating value any_value, - notificationType indicating value "OP_CHANGE", - subscriptionId indicating value SUBSCRIPTION_ID, - appPkgId set to APP_PKG_ID - ; - ; - ; to the MEC_SUB entity - } - } - } - -} diff --git a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 b/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 deleted file mode 100644 index e02bbf9..0000000 --- a/Test Purposes/MEPM/Mm3/AppPackageMgmt/AppPkgMgt_subscriptions.tplan2 +++ /dev/null @@ -1,176 +0,0 @@ -/* -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_MM3_PKGM_BO { - - import all from MEC_Common; - - 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_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 "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_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 "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_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 "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_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 "204 No Content" - ; to the MEC_SUB entity - } - } - } -} -- GitLab