From b75ff04e6e4dd6c0cf091109316f393c2091bd0f Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Wed, 21 Apr 2021 23:22:50 +0200 Subject: [PATCH 01/63] Initial update MEC016 v2.2.1 --- .../MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 205 ++++++++-- .../UEAPPLOC/SysUeApplicationsLocation.tplan2 | 230 ++++++++++++ .../MEO/UEAPPS/SysUeApplications.tplan2 | 349 +++++++++++------- Test Purposes/mec-common.tplan2 | 2 +- 4 files changed, 631 insertions(+), 155 deletions(-) create mode 100644 Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 diff --git a/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index a3df2d3..a33a4e3 100644 --- a/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -29,8 +29,8 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT acknowledges the creation of the application context when requested by an UE Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext" + Reference "ETSI GS MEC 016 2.2.1, clause 7.4.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -45,7 +45,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mx2/v2/app_contexts", + uri indicating value "/dev_app/v1/app_contexts", body containing AppContext containing appInfo containing @@ -78,12 +78,60 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { TP Id "TP_MEC_MEO_UEAPPCTX_001_BR" + Test objective + "Check that the IUT responds with an error when + a request with incorrect URL is sent by a MEC Application" + + Reference "ETSI GS MEC 016 2.2.1, clause 7.4.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 016, clause 5.1.3 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + // Wrong URL parameter should trigger an error response. + uri indicating value "/dev_app/v1/app_contexts_error", + body containing + AppContext containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + + + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPCTX_001_NF" + Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext" + Reference "ETSI GS MEC 016 2.2.1, clause 7.4.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -98,7 +146,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mx2/v2/app_contexts", + uri indicating value "/dev_app/v1/app_contexts", body containing AppContext containing appInfo containing @@ -120,6 +168,62 @@ Package MEC_MEO_UEAPPCTX { } } + Test Purpose { + TP Id TP_MEC_MEO_UEAPPCTX_001_ERR + Test objective + "Check that the ITU responds with 404 Not Found and 400 Bad request when a request + with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." + Reference "ETSI GS MEC 016 2.2.1, clause 7.4.3.4" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST request containing + uri set to URI, + body containing + AppContext containing + appInfo containing + appName set to APP_NAME_VALUE + ; + ; + ; + ; + } + then { + // MEC 016, clause 7.4.3.4 + the IUT entity sends + a HTTP response containing + status set to HTTP_STATUS + ; + } + } + Variants + TP_MEC_MEO_UEAPPS_001_NF { + Test objective "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_contexts_error"; + value APP_NAME_VALUE set to APP_NAME; + value HTTP_STATUS set to "404 Not found"; + } + + TP_MEC_MEO_UEAPPS_001_BR { + Test objective "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_contexts"; + value APP_NAME_VALUE set to APP_NAME_ERROR; + value HTTP_STATUS set to "400 Bad Request"; + } + } Test Purpose { TP Id "TP_MEC_MEO_UEAPPCTX_002_OK" @@ -128,8 +232,8 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT updates the application callback reference when commanded by an UE Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.5.3.2", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -147,7 +251,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}" + uri indicating value "/dev_app/v1/app_contexts/{CONTEXT_ID}" body containing AppContext containing callbackReference indicating value some_uri @@ -157,7 +261,7 @@ Package MEC_MEO_UEAPPCTX { from the Dev_App entity } then { - // MEC 017, clause 7.5.3.2 + // MEC 016, clause 7.5.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -167,6 +271,7 @@ Package MEC_MEO_UEAPPCTX { } + Test Purpose { TP Id "TP_MEC_MEO_UEAPPCTX_002_BR" @@ -174,8 +279,8 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.5.3.2", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yamlt" Config Id Config_MEC_4 @@ -193,7 +298,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}" + uri indicating value "/dev_app/v1/app_contexts/{CONTEXT_ID}" body containing AppContext containing // A parameter not legible for update should trigger an error response. @@ -204,7 +309,7 @@ Package MEC_MEO_UEAPPCTX { from the Dev_App entity } then { - // MEC 017, clause 7.5.3.2 + // MEC 016, clause 7.5.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -221,8 +326,8 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.5.3.2", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/AppContext" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -240,7 +345,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mx2/v2/app_contexts/{NON_EXISTENT_CONTEXT_ID}", + uri indicating value "/dev_app/v1/app_contexts/{NON_EXISTENT_CONTEXT_ID}", body containing AppContext containing callbackReference indicating value some_uri @@ -250,7 +355,7 @@ Package MEC_MEO_UEAPPCTX { from the Dev_App entity } then { - // MEC 017, clause 7.5.3.2 + // MEC 016, clause 7.5.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -258,6 +363,62 @@ Package MEC_MEO_UEAPPCTX { } } } + + Test Purpose { + TP Id TP_MEC_MEO_UEAPPCTX_001_ERR + Test objective + "Check that the ITU responds with 404 Not Found and 400 Bad request when a request + with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPUT request containing + uri set to URI, + body containing + AppContext containing + appInfo containing + appName set to APP_NAME_VALUE + ; + ; + ; + ; + } + then { + the IUT entity sends + a HTTP response containing + status set to HTTP_STATUS + ; + } + } + Variants + TP_MEC_MEO_UEAPPS_001_NF { + Test objective "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_contexts/{NON_EXISTENT_CONTEXT_ID}"; + value APP_NAME_VALUE set to APP_NAME; + value HTTP_STATUS set to "404 Not found"; + } + + TP_MEC_MEO_UEAPPS_001_BR { + Test objective "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_contexts/{CONTEXT_ID}"; + value APP_NAME_VALUE set to APP_NAME_ERROR; + value HTTP_STATUS set to "400 Bad Request"; + } + } Test Purpose { @@ -267,7 +428,7 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT deletes the application context when commanded by an UE Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5" Config Id Config_MEC_4 @@ -285,7 +446,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mx2/v2/app_contexts/{CONTEXT_ID}" + uri indicating value "/dev_app/v1/app_contexts/{CONTEXT_ID}" ; from the Dev_App entity } @@ -307,7 +468,7 @@ Package MEC_MEO_UEAPPCTX { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5" Config Id Config_MEC_4 @@ -325,7 +486,7 @@ Package MEC_MEO_UEAPPCTX { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mx2/v2/app_contexts/{NON_EXISTENT_CONTEXT_ID}" + uri indicating value "/dev_app/v1/app_contexts/{NON_EXISTENT_CONTEXT_ID}" ; from the Dev_App entity } diff --git a/Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 new file mode 100644 index 0000000..9dd98c1 --- /dev/null +++ b/Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -0,0 +1,230 @@ +/* +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 MEC_MEO_UEAPPCTX { + + import all from MEC_Common; + + + /* + * UE Application Contexts (UEAPPCTX) + */ + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPLOC_001_OK" + + Test objective + "Check that the IUT sends the locations available for instantiation of a specific user application + when requested by an UE Application" + + Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the Dev_App entity having a appInfo containing + appName indicating value APP_NAME + ; + } + + // MEC 016, clause 5.1.7 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/dev_app/v1/obtain_app_loc_availability", + body containing + ApplicationLocationAvailability containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.6.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + ApplicationLocationAvailability containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPLOC_001_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect URL is sent by a MEC Application" + + Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 016, clause 5.1.7 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/dev_app/v1/obtain_app_loc_availability", + body containing + ApplicationLocationAvailability containing + appInfo containing + // Wrong parameter name should trigger an error response. + app set to APP_NAME + ; + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + + + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPLOC_001_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 016, clause 5.1.7 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + // Wrong URI should trigger an error response. + uri indicating value "/dev_app/v1/obtain_app_loc_availability_error", + body containing + ApplicationLocationAvailability containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id TP_MEC_MEO_UEAPPLOC_001_ERR + Test objective + "Check that the ITU responds with 404 Not Found and 400 Bad request when a request + with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." + Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST request containing + uri set to URI, + body containing + ApplicationLocationAvailability containing + appInfo containing + appName set to APP_NAME_VALUE + ; + ; + ; + ; + } + then { + // MEC 016, clause 7.6.3.4 + the IUT entity sends + a HTTP response containing + status set to HTTP_STATUS + ; + } + } + Variants + TP_MEC_MEO_UEAPPS_001_NF { + Test objective "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/obtain_app_loc_availability_error"; + value APP_NAME_VALUE set to APP_NAME; + value HTTP_STATUS set to "404 Not found"; + } + + TP_MEC_MEO_UEAPPS_001_BR { + Test objective "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/obtain_app_loc_availability"; + value APP_NAME_VALUE set to APP_NAME_ERROR; + value HTTP_STATUS set to "400 Bad Request"; + } + } + +} diff --git a/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 index b5cc06b..d09adbb 100644 --- a/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 +++ b/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 @@ -14,150 +14,235 @@ file and shall not imply any sub-license right. */ Package MEC_MEO_UEAPPS { - - import all from MEC_Common; - - - /* - * UE Applications (UEAPPS) - */ - - Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_OK" - - Test objective - "Check that the IUT responds with the list of user applications available - when requested by an UE Application" - - Reference "ETSI GS MEC 016 2.1.1, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/ApplicationList" + import all from MEC_Common; + /* + * UE Applications (UEAPPS) + */ + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPS_001_OK" + Test objective + "Check that the IUT responds with the list of user applications available + when requested by an UE Application" + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/ApplicationList" - Config Id Config_MEC_4 + Config Id Config_MEC_4 - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - Initial conditions with { - the IUT entity being_in idle_state and - the Dev_App entity having a appInfo containing - appName indicating value APP_NAME - ; - } + Initial conditions with { + the IUT entity being_in idle_state and + the Dev_App entity having a appInfo containing + appName indicating value APP_NAME + ; + } + // MEC 016, clause 5.1.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/dev_app/v1/app_list" + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ApplicationList containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPS_002_OK" + Test objective + "Check that the IUT responds with the list of user applications available + when requested by an UE Application" + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml#/definitions/ApplicationList" - // MEC 016, clause 5.1.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mx2/v2/app_list", - query_parameters containing - appName indicating value APP_NAME - ; - ; - from the Dev_App entity - } - then { - // MEC 016, clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - ApplicationList containing - appInfo containing - appName set to APP_NAME - ; - ; - ; - ; - to the Dev_App entity - } - } - } - + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_BR" + Initial conditions with { + the IUT entity being_in idle_state and + the Dev_App entity having a appInfo containing + appName indicating value APP_NAME + ; + } + // MEC 016, clause 5.1.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/dev_app/v1/app_list", + query_parameters containing + appName indicating value APP_NAME + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ApplicationList containing + appInfo containing + appName set to APP_NAME + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPS_001_BR" + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1" - Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" + Config Id Config_MEC_4 - Reference "ETSI GS MEC 016 2.1.1, clause 7.3.3.1" + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 016, clause 5.1.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/dev_app/v1/app_list", + query_parameters containing + // Wrong parameter name should trigger an error response (correct parameter is appName) + app indicating value APP_NAME + ; + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEO_UEAPPS_001_NF" + Test objective + "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1" - Config Id Config_MEC_4 + Config Id Config_MEC_4 - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - Initial conditions with { - the IUT entity being_in idle_state and - the Dev_App entity having a appInfo containing - appName indicating value APP_NAME - ; - } - - // MEC 016, clause 5.1.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mx2/v2/app_list", - query_parameters containing - appName indicating value APP_NAME, - // Wrong name should trigger an error response. - serviceCont indicating value INVALID_VALUE - ; - ; - from the Dev_App entity + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 016, clause 5.1.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + // wrong url should generate a "Not Found" error response + uri indicating value "/dev_app/v1/app_list_error" + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id TP_MEC_MEO_UEAPPS_001_ERR + Test objective + "Check that the ITU responds with 404 Not Found and 400 Bad request when a request + with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET request containing + uri set to URI, + query_parameters containing + // Wrong parameter name should trigger an error response (correct parameter is appName) + appName indicating value APP_NAME_VALUE + ; + ; + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP response containing + status set to HTTP_STATUS + ; + } } - then { - // MEC 016, clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the Dev_App entity + Variants + TP_MEC_MEO_UEAPPS_001_NF { + Test objective "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_list_error"; + value APP_NAME_VALUE set to APP_NAME; + value HTTP_STATUS set to "404 Not found"; } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_NF" - - Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - - Reference "ETSI GS MEC 016 2.1.1, clause 7.3.3.1" - - Config Id Config_MEC_4 - - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - Initial conditions with { - the IUT entity being_in idle_state and - the Dev_App entity "not" having a appInfo containing - appName indicating value NON_EXISTING_APP_NAME - ; - } - - // MEC 016, clause 5.1.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mx2/v2/app_list", - query_parameters containing - // Wrong value should trigger an error response. - appName indicating value NON_EXISTING_APP_NAME - ; - ; - from the Dev_App entity - } - then { - // MEC 016, clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the Dev_App entity + TP_MEC_MEO_UEAPPS_001_BR { + Test objective "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + Bindings + value URI set to "/dev_app/v1/app_list"; + value APP_NAME_VALUE set to APP_NAME_ERROR; + value HTTP_STATUS set to "400 Bad Request"; } - } - } + } } + + + diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 476db57..b7ee384 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -203,7 +203,7 @@ Package MEC_Common { Test Configuration Config_MEC_5 containing Tester component MecOrchestrator of type MecOrchestrator SUT component IUT of type MecPlatformManagerComponent - connection between MEO.p and IUT.p + connection between MecOrchestrator.p and IUT.p ; Test Configuration Config_MEC_6 containing -- GitLab From 1e2a5840843b93adde560224cddcf815d419bf92 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 26 Apr 2021 16:02:14 +0200 Subject: [PATCH 02/63] First version of MEC028 TPs. --- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 99 ++++++ .../MEC028/SRV/WAI/ExistingSub.tplan2 | 307 ++++++++++++++++++ .../SRV/WAI/NotificationCallback.tplan2 | 63 ++++ .../MEC028/SRV/WAI/StationInfo.tplan2 | 100 ++++++ .../MEC028/SRV/WAI/Subscription.tplan2 | 196 +++++++++++ 5 files changed, 765 insertions(+) create mode 100644 Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 create mode 100644 Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 create mode 100644 Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 create mode 100644 Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 create mode 100644 Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 new file mode 100644 index 0000000..f5f245c --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -0,0 +1,99 @@ +/* +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 MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + //Query without filter + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_001_OK" + Test objective + "Check that the IUT responds with the list of Access Point" + Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/queries/ap/ap_information" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ApInfo containing + apId containing + macId set to MAC_ID + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + //Bad request + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_001_BR" + Test objective + "Check that the IUT responds with an error when a request with + incorrect parameters is sent by a MEC Application" + Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.2 + Expected behaviour + // Invalid filter should trigger an error response. + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/dev_app/v1/app_list/?filter=INVALID_FILTER" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } +} + diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 new file mode 100644 index 0000000..cff91a9 --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -0,0 +1,307 @@ +/* +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 MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_005_OK" + Test objective + "Check that the IUT responds with the list of Subscription" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.6.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + apId containing + macId set to MAC_ID + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_001_NF" + Test objective + "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity "not" having a subscriptions containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; + from the Dev_App entity + } + then { + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not found" + ; + to the Dev_App entity + } + } + } + + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_006_OK" + Test objective + "Check that the IUT responds with a Notification Subscription when it is modified" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity having a + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + _links containing + self set to URI_TO_RESOURCE, + apId containing + macId set to MAC_ID + ; + ; + ; + } + //MEC 028, clause 5.2.4.3 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPUT containing + uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + body containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + _links containing + self set to URI_TO_RESOURCE, + apId containing + macId set to MAC_ID + ; + ; + ; + ; + ; + from the Dev_App entity + } + then { + + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + _links containing + self set to "uri/to/resource", + apId containing + macId set to MAC_ID + ; + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_005_BR" + Test objective + "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity having a + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + _links containing + self set to URI_TO_RESOURCE, + apId containing + macId set to MAC_ID + ; + ; + ; + } + //MEC 028, clause 5.2.4.3 + Expected behaviour + // Invalid subscriptionType should trigger an error response. + ensure that { + when { + the IUT entity receives + a vPUT containing + uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + body containing + AssocStaSubscription containing + subscriptionType set to "INVALID_VALUE", + callbackReference set to CALLBACK_URI, + _links containing + self set to "uri/to/resource", + apId containing + macId set to MAC_ID + ; + ; + ; + ; + ; + from the Dev_App entity + } + then { + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_007_OK" + Test objective + "Check that the IUT responds with 204 when an existing subscription is correctly deleted" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity having a + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + _links containing + self set to URI_TO_RESOURCE, + apId containing + macId set to MAC_ID + ; + ; + ; + } + //MEC 028, clause 5.2.4.4 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vDELETE containing + uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the Dev_App entity + } + then { + + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the Dev_App entity + } + } + } + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_002_NF" + Test objective + "Check that the IUT responds with an error when an not existing subscription cannot be deleted" + Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity "not" having a subscriptions containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + } + //MEC 028, clause 5.2.4.4 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vDELETE containing + uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; + from the Dev_App entity + } + then { + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the Dev_App entity + } + } + } +} \ No newline at end of file diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 new file mode 100644 index 0000000..4f7f1cd --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -0,0 +1,63 @@ +/* +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 MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_008_OK" + + Test objective + "Check that the IUT sends a notification about WLAN event notification + if the MEC service has an associated subscription and the event is generated" + + Reference "ETSI GS MEC 028 2.1.1, clause 6.4.2", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml" + Config Id Config_MEC_4 + PICS Selection PIC_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AssocStaSubscription containing + subscriptionType indicating value "AssocStaSubscription", + callbackReference indicating value CALLBACK_URI, + apId containing + macId set to MAC_ID + ; + ; + } + + // MEC 028, clause 5.2.6 + Expected behaviour + ensure that { + when { + the IUT entity generates a ap_identity_event containing + macId set to MAC_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "AssocStaNotification", + apId containing + macId set to MAC_ID + ; + ; + ; + to the Dev_App entity + } + } + } +} + diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 new file mode 100644 index 0000000..ec4a5f1 --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -0,0 +1,100 @@ +/* +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 MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + //Query without filter + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_002_OK" + Test objective + "Check that the IUT responds with the list of Station Point" + Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.3 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/queries/sta/sta_information" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.4.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + StaInfo containing + StaIdentity containing + macId set to MAC_ID + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + //Bad request + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_002_BR" + Test objective + "Check that the IUT responds with an error when a request with + incorrect parameters is sent by a MEC Application" + Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.3 + Expected behaviour + // Invalid filter should trigger an error response. + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/queries/sta/sta_information/?filter=INVALID_EXPRESSION" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.4.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } +} + + diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 new file mode 100644 index 0000000..8e4e589 --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -0,0 +1,196 @@ +/* +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 MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_003_OK" + Test objective + "Check that the IUT responds with the requested list of subscription" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions/?subscription_type=assoc_sta" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + SubscriptionLinkList containing + _link containing + LinkType set to "uri/to/subscription" + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_003_BR" + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + // Invalid subscription_type should trigger an error response. + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions/?subscription_type=INVALID_VALUE" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } + + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_004_OK" + Test objective + "Check that the IUT responds with a Notification Subscription" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + 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 "/wai/v1/subscriptions" + body containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + apId containing + macId set to MAC_ID + ; + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.4 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "201 Created" + bbody containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + self containing + LinkType set to "/wai/v1/subscriptions/{SUBSCRIPTION_ID}", + apId containing + macId set to MAC_ID + ; + ; + ; + ; + ; + to the Dev_App entity + } + } + } + + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_004_BR" + Test objective + "Check that the IUT responds with an error when an invalid Subscription request is sent" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + // Invalid subscriptionType should trigger an error response. + ensure that { + when { + the IUT entity receives + a vPOST containing + uri indicating value "/wai/v1/subscriptions" + body containing + AssocStaSubscription containing + subscriptionType set to "INVALID_VALUE" + ; + ; + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.4 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the Dev_App entity + } + } + } +} + -- GitLab From 2ebfdcc5ca8c17b07fe9dae7719b9ed103038615 Mon Sep 17 00:00:00 2001 From: piscione Date: Tue, 27 Apr 2021 09:33:51 +0200 Subject: [PATCH 03/63] Added TPs for MEC028. --- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 4 +- .../MEC028/SRV/WAI/Subscription.tplan2 | 72 ++++++++++++++++++- 2 files changed, 73 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index cff91a9..39fd49a 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -63,7 +63,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_001_NF" + TP Id "MEC_MEC028_SRV_WAI_007_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" @@ -270,7 +270,7 @@ Package MEC_MEC028_SRV_WAI { } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_NF" + TP Id "MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 8e4e589..4c4f2f5 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -95,6 +95,41 @@ Package MEC_MEC028_SRV_WAI { } } + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_001_NF" + Test objective + "Check that the IUT responds with an error when + a request with not existing parameters is sent" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions/INVALID_URI" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the Dev_App entity + } + } + } Test Purpose { @@ -192,5 +227,40 @@ Package MEC_MEC028_SRV_WAI { } } } -} + + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_002_NF" + Test objective + "Check that the IUT responds with an error when + a request with not existing parameters is sent" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST containing + uri indicating value "/wai/v1/subscriptions/INVALID_URI" + ; + from the Dev_App entity + } + then { + // MEC 028, clause 7.5.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the Dev_App entity + } + } + } +} \ No newline at end of file -- GitLab From 51e25cd7e34e6f49dfe2273e6369a77c3db874f9 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 27 Apr 2021 10:38:56 +0200 Subject: [PATCH 04/63] Review M015 TPs, Add V2X --- .../MEC030/PlatV2XInformationService.tplan2 | 67 ++ .../SRV/BWA/PlatBandwidthManager.tplan2 | 889 +++++++++++++++--- 2 files changed, 843 insertions(+), 113 deletions(-) create mode 100644 Test Purposes/MEC030/PlatV2XInformationService.tplan2 diff --git a/Test Purposes/MEC030/PlatV2XInformationService.tplan2 b/Test Purposes/MEC030/PlatV2XInformationService.tplan2 new file mode 100644 index 0000000..47fc345 --- /dev/null +++ b/Test Purposes/MEC030/PlatV2XInformationService.tplan2 @@ -0,0 +1,67 @@ +/* +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 MEC_SRV_V2X { + + import all from MEC_Common; + + + Test Purpose { + TP Id "TP_MEC_SRV_V2X_001_OK" + + Test objective + "Check that the IUT responds with the list of configured bandwidth allocations + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + uuUnicastProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + +} diff --git a/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 b/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 index e6ab4d6..3c7b388 100644 --- a/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 +++ b/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 @@ -26,11 +26,10 @@ Package MEC_SRV_BWA { TP Id "TP_MEC_SRV_BWA_001_OK" Test objective - "Check that the IUT responds with the list of configured bandwidth allocations - when queried by a MEC Application" + "Check that the IUT responds with the list of configured bandwidth allocations + when queried by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -43,7 +42,54 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.5 + // MEC 015 Clause 6.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "bwm/v1/bw_allocations" + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + bwInfoList containing + oneOrmore bwInfo containing + appInsId set to APP_INSTANCE_ID + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_BWA_002_OK" + + Test objective + "Check that the IUT responds with a configured bandwidth allocation + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.5 Expected behaviour ensure that { when { @@ -56,11 +102,11 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - bwInfo containing + bwInfoList containing appInsId set to APP_INSTANCE_ID ; ; @@ -72,13 +118,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_001_BR" + TP Id "TP_MEC_SRV_BWA_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -91,7 +137,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.5 + // MEC 015 Clause 6.2.5 Expected behaviour ensure that { when { @@ -105,7 +151,7 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -116,14 +162,55 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_002_OK" + TP Id "TP_MEC_SRV_BWA_002_NF" + Test objective + "Check that the IUT responds with an error when + a request with an unknown resource URI is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + app_id indicating value APP_UNKNOWN_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_BWA_003_OK_01" Test objective "Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" Config Id Config_MEC_1 @@ -136,30 +223,36 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.2 + // MEC 015 Clause 6.2.2 and Table 7.2.2-1: Elements of BwInfo, sessionFilter Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "bwm/v1/bw_allocations", body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.4 + // MEC 015 Clause 8.4.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", + status_code set to "201 Created", Location set to LOCATION, body containing bwInfo containing appInsId set to APP_INSTANCE_ID, - fixedAllocation set to SOME_ALLOCATION, - allocationDirection set to SOME_DIRECTION + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION ; ; ; @@ -170,14 +263,169 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_002_BR" + TP Id "TP_MEC_SRV_BWA_003_OK_02" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested bandwidth requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.2 and Table 7.2.2-1: Elements of BwInfo, sessionFilter + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/bw_allocations", + body containing + bwInfoList containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value SESSION_FILTER, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, + body containing + bwInfo containing + appInsId set to APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_BWA_003_BR_01" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/bw_allocations", + body containing + bwInfoList containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit, + fixedAllocation indicating value INVALID_ALLOCATION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_BWA_003_BR_02" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/bw_allocations", + body containing + bwInfoList containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + // MEC015 Clause 7.2.2 Type: BwInfo Table 7.2.2-1: Elements of BwInfo, sessionFilter shall be omit + sessionFilter indicating value SESSION_FILTER_VALUE, + fixedAllocation indicating value INVALID_ALLOCATION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.4.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_BWA_003_BR_03" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" Config Id Config_MEC_1 @@ -190,22 +438,26 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.2 + // MEC 015 Clause 6.2.2 Expected behaviour ensure that { when { the IUT entity receives a vPOST containing uri indicating value "bwm/v1/bw_allocations", body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - requestType indicating value INVALID_BW_ALLOCATION + bwInfoList containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + // MEC015 Clause 7.2.2 Type: BwInfo Table 7.2.2-1: Elements of BwInfo, sessionFilter shall be present + sessionFilter indicating value omit, + fixedAllocation indicating value INVALID_ALLOCATION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.4 + // MEC 015 Clause 8.4.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -216,14 +468,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_OK" + TP Id "TP_MEC_SRV_BWA_004_OK" Test objective "Check that the IUT responds with the configured bandwidth allocation when queried by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" Config Id Config_MEC_1 @@ -239,7 +490,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.2 + // MEC 015 Clause 6.2.2 Expected behaviour ensure that { when { @@ -249,7 +500,7 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -265,13 +516,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_NF" + TP Id "TP_MEC_SRV_BWA_004_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" Config Id Config_MEC_1 @@ -287,7 +538,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.2 + // MEC 015 Clause 6.2.2 Expected behaviour ensure that { when { @@ -297,7 +548,7 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.4.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -308,14 +559,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_OK" + TP Id "TP_MEC_SRV_BWA_005_OK" Test objective "Check that the IUT updates the requested bandwidth requirements when commanded by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -331,7 +581,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -339,15 +589,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -365,14 +617,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_BR" + TP Id "TP_MEC_SRV_BWA_005_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -388,7 +639,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -396,15 +647,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value INVALID_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value INVALID_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -415,14 +668,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_NF" + TP Id "TP_MEC_SRV_BWA_005_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -438,7 +690,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -446,15 +698,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -465,14 +719,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_PF" + TP Id "TP_MEC_SRV_BWA_005_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -488,7 +741,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -496,15 +749,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value INVALID_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; @@ -515,15 +770,14 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_OK" + TP Id "TP_MEC_SRV_BWA_006_OK" Test objective "Check that the IUT when provided with just the changes (deltas) updates the requested bandwidth requirements when commanded by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -539,7 +793,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -547,15 +801,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.3 + // MEC 015 Clause 8.3.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -573,14 +829,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_BR" + TP Id "TP_MEC_SRV_BWA_006_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -596,7 +851,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -604,16 +859,18 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value INVALID_TYPE, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value INVALID_TYPE, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.3 + // MEC 015 Clause 8.3.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -624,14 +881,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_NF" + TP Id "TP_MEC_SRV_BWA_006_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -647,7 +903,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -655,15 +911,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", if_match indicating value PROPER_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.3 + // MEC 015 Clause 8.3.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -674,14 +932,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_PF" + TP Id "TP_MEC_SRV_BWA_006_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -697,7 +954,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.4 + // MEC 015 Clause 6.2.4 Expected behaviour ensure that { when { @@ -705,15 +962,17 @@ Package MEC_SRV_BWA { uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", if_match indicating value INVALID_ETAG, body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION + ; ; ; from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.3 + // MEC 015 Clause 8.3.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; @@ -724,13 +983,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_OK" + TP Id "TP_MEC_SRV_BWA_007_OK" Test objective "Check that the IUT unregisters from the Bandwidth Management Service when commanded by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.5" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" Config Id Config_MEC_1 @@ -743,7 +1002,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.3 + // MEC 015 Clause 6.2.3 Expected behaviour ensure that { when { @@ -753,7 +1012,7 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.5 + // MEC 015 Clause 8.3.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -764,13 +1023,13 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_NF" + TP Id "TP_MEC_SRV_BWA_007_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 1.1.1, clause 8.3.3.5" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" Config Id Config_MEC_1 @@ -783,7 +1042,7 @@ Package MEC_SRV_BWA { ; } - // MEC 015, clause 6.2.3 + // MEC 015 Clause 6.2.3 Expected behaviour ensure that { when { @@ -793,7 +1052,7 @@ Package MEC_SRV_BWA { from the MEC_APP entity } then { - // MEC 015, clause 8.3.3.5 + // MEC 015 Clause 8.3.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -801,4 +1060,408 @@ Package MEC_SRV_BWA { } } } + + + /* + * Multi-access Traffic Steering (MTS) + */ + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_001_OK" + + Test objective + "Check that the IUT responds with the Multi-access Traffic Steering information + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_info" + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsCapabilityInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_002_OK" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions" + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + oneOrmore mtsList containing + mts containing + appInsId set to APP_INSTANCE_ID + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_003_OK" + + Test objective + "Check that the IUT responds with a configured Multi-access Traffic Steering + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_instance_id indicating value APP_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsList containing + appInsId set to APP_INSTANCE_ID + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_003_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + // Wrong parameter name should trigger an error response. + app_id indicating value APP_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_003_NF" + + Test objective + "Check that the IUT responds with an error when + a request with an unknown resource URI is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_id indicating value APP_UNKNOWN_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_004_OK_01" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 0, // Low Cost + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_004_OK_02" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 1, // SESSION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 4, // QoS + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_SRV_MTS_004_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v0/mts_sessions", // Invalid version number + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + } -- GitLab From d524d578def04afff423446165810374580b272c Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Tue, 27 Apr 2021 18:20:44 +0200 Subject: [PATCH 05/63] Enhance test purposes MEC028 --- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 96 +++++++--- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 52 +++--- .../SRV/WAI/NotificationCallback.tplan2 | 6 +- .../MEC028/SRV/WAI/StationInfo.tplan2 | 76 +++++++- .../MEC028/SRV/WAI/Subscription.tplan2 | 172 +++++++++++++----- 5 files changed, 299 insertions(+), 103 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index f5f245c..b613e88 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -16,22 +16,25 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; - //Query without filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_OK" Test objective - "Check that the IUT responds with the list of Access Point" + "Check that the IUT responds with the list of WLAN Access Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 - PICS Selection PIC_SERVICES + PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity having a ApInfo containing + apId containing + macId indicating value MAC_ID + ; + ; } - // MEC 028, clause 5.2.2 + // MEC 028, clause 5.2.2 Expected behaviour ensure that { when { @@ -39,29 +42,77 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/ap/ap_information" ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 - the IUT entity sends - a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - ApInfo containing - apId containing - macId set to MAC_ID - ; - ; + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ApInfo containing + apId containing + macId set to MAC_ID + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + //Query filter + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_002_OK" + Test objective + "Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter " + Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity having a ApInfo containing + apId containing + macId indicating value MAC_ID + ; + ; + } + // MEC 028, clause 5.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/queries/ap/ap_information", + query_parameters containing + macId indicating value MAC_ID ; - ; - to the Dev_App entity + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ApInfo containing + apId containing + macId set to MAC_ID + ; + ; + ; + ; + to the MEC_APP entity } } } //Bad request Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_001_BR" + TP Id "MEC_MEC028_SRV_WAI_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" @@ -81,9 +132,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/dev_app/v1/app_list/?filter=INVALID_FILTER" + uri indicating value "/wai/v1/queries/ap/ap_information", + query_parameters containing + mac indicating value MAC_ID + ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 @@ -91,7 +145,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; - to the Dev_App entity + to the MEC_APP entity } } } diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 39fd49a..217a536 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -18,7 +18,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_005_OK" + TP Id "MEC_MEC028_SRV_WAI_008_OK" Test objective "Check that the IUT responds with the list of Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", @@ -26,10 +26,12 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 - PICS Selection PIC_SERVICES + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { - the IUT entity being_in idle_state + the IUT entity having a subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; } Expected behaviour @@ -39,7 +41,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.6.3.1 @@ -56,14 +58,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_007_NF" + TP Id "MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" @@ -73,8 +75,7 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity "not" having a subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -86,14 +87,14 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; - from the Dev_App entity + from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not found" ; - to the Dev_App entity + to the MEC_APP entity } } } @@ -101,7 +102,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_006_OK" + TP Id "MEC_MEC028_SRV_WAI_009_OK" Test objective "Check that the IUT responds with a Notification Subscription when it is modified" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" @@ -118,7 +119,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to URI_TO_RESOURCE, apId containing - macId set to MAC_ID + macId set to MAC_ID ; ; ; @@ -133,7 +134,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", - callbackReference set to CALLBACK_URI, + callbackReference set to NEW_CALLBACK_URI, _links containing self set to URI_TO_RESOURCE, apId containing @@ -143,7 +144,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - from the Dev_App entity + from the MEC_APP entity } then { @@ -153,7 +154,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", - callbackReference set to CALLBACK_URI, + callbackReference set to NEW_CALLBACK_URI, _links containing self set to "uri/to/resource", apId containing @@ -163,13 +164,13 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_005_BR" + TP Id "MEC_MEC028_SRV_WAI_009_BR" Test objective "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" @@ -212,21 +213,21 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - from the Dev_App entity + from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_007_OK" + TP Id "MEC_MEC028_SRV_WAI_010_OK" Test objective "Check that the IUT responds with 204 when an existing subscription is correctly deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" @@ -256,7 +257,7 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; - from the Dev_App entity + from the MEC_APP entity } then { @@ -264,13 +265,13 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "204 No Content" ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_008_NF" + TP Id "MEC_MEC028_SRV_WAI_010_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" @@ -280,7 +281,6 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { - the IUT entity being_in idle_state and the IUT entity "not" having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; @@ -293,14 +293,14 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; - from the Dev_App entity + from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; - to the Dev_App entity + to the MEC_APP entity } } } diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 4f7f1cd..ffa5eb7 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_008_OK" + TP Id "MEC_MEC028_SRV_WAI_011_OK" Test objective "Check that the IUT sends a notification about WLAN event notification @@ -25,7 +25,9 @@ Package MEC_MEC028_SRV_WAI { Reference "ETSI GS MEC 028 2.1.1, clause 6.4.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml" + Config Id Config_MEC_4 + PICS Selection PIC_NOTIFICATIONS Initial conditions with { @@ -55,7 +57,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - to the Dev_App entity + to the MEC_APP entity } } } diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index ec4a5f1..2c85fef 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -16,9 +16,8 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; - //Query without filter Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_OK" + TP Id "MEC_MEC028_SRV_WAI_003_OK" Test objective "Check that the IUT responds with the list of Station Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", @@ -26,10 +25,14 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 - PICS Selection PIC_SERVICES + PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity having a StaInfo containing + StaIdentity containing + macId indicating value MAC_ID + ; + ; } // MEC 028, clause 5.2.3 Expected behaviour @@ -39,7 +42,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information" ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 @@ -54,14 +57,64 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - to the Dev_App entity + to the MEC_APP entity + } + } + } + + // Query with filters + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_004_OK" + Test objective + "Check that the IUT responds with the list of Station Point filtered by the macId provided as query parameter" + Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity having a StaInfo containing + StaIdentity containing + macId indicating value MAC_ID + ; + ; + } + // MEC 028, clause 5.2.3 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/queries/sta/sta_information", + query_parameters containing + macId set to MAC_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.4.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + StaInfo containing + StaIdentity containing + macId set to MAC_ID + ; + ; + ; + ; + to the MEC_APP entity } } } //Bad request Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_BR" + TP Id "MEC_MEC028_SRV_WAI_004_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" @@ -81,9 +134,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/sta/sta_information/?filter=INVALID_EXPRESSION" + uri indicating value "/wai/v1/queries/sta/sta_information", + query_parameters containing + mac set to MAC_ID + ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 @@ -91,7 +147,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; - to the Dev_App entity + to the MEC_APP entity } } } diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 4c4f2f5..afb8ebc 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_003_OK" + TP Id "MEC_MEC028_SRV_WAI_005_OK" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", @@ -25,10 +25,16 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 - PICS Selection PIC_SERVICES + PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity having a AssocStaSubscription containing + _link containing + self containing + href set to "uri/to/subscription" + ; + ; + ; } //MEC 028, clause 5.2.4.1 Expected behaviour @@ -36,9 +42,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions/?subscription_type=assoc_sta" + uri indicating value "/wai/v1/subscriptions" ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 @@ -47,57 +53,125 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing SubscriptionLinkList containing - _link containing - LinkType set to "uri/to/subscription" - ; - ; - ; - ; - to the Dev_App entity + assocStaSubscription containing + _link containing + self containing + LinkType containing + href set to "uri/to/subscription" + ; + ; + ; + ; + ; + ; + ; + to the MEC_APP entity } } } + + // Query with filter + Test Purpose { + TP Id "MEC_MEC028_SRV_WAI_006_OK" + Test objective + "Check that the IUT responds with the requested list of subscription" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity having a AssocStaSubscription containing + _link containing + self containing + href set to "uri/to/subscription" + ; + ; + ; + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v1/subscriptions" + query_parameters containing + href indicating value "uri/to/subscription", + subscription_type indicating value "assoc_sta" + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.5.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + SubscriptionLinkList containing + assocStaSubscription containing + _link containing + self containing + LinkType containing + href set to "uri/to/subscription" + ; + ; + ; + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_003_BR" + TP Id "MEC_MEC028_SRV_WAI_006_BR" Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + "Check that the IUT responds with the requested list of subscription" + Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" - Config Id Config_MEC_4 + Config Id Config_MEC_4 - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + PICS Selection PIC_SERVICES and PIC_MEC_PLAT - Initial conditions with { - the IUT entity being_in idle_state - } - //MEC 028, clause 5.2.4.1 - Expected behaviour - // Invalid subscription_type should trigger an error response. - ensure that { + Initial conditions with { + the IUT entity being_in idle_state + } + //MEC 028, clause 5.2.4.1 + Expected behaviour + ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions/?subscription_type=INVALID_VALUE" + uri indicating value "/wai/v1/subscriptions" + query_parameters containing + subscription_type indicating value "assocStaSub" + ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" - ; - to the Dev_App entity + ; + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_001_NF" + TP Id "MEC_MEC028_SRV_WAI_006_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" @@ -116,9 +190,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions/INVALID_URI" + uri indicating value "/wai/v1/subscriptions_INVALID_URI" ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 @@ -126,14 +200,15 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; - to the Dev_App entity + to the MEC_APP entity } } } + Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_004_OK" + TP Id "MEC_MEC028_SRV_WAI_007_OK" Test objective "Check that the IUT responds with a Notification Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" @@ -162,14 +237,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" - bbody containing + body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, @@ -182,14 +257,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_004_BR" + TP Id "MEC_MEC028_SRV_WAI_007_BR" Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" @@ -215,7 +290,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 @@ -223,14 +298,14 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; - to the Dev_App entity + to the MEC_APP entity } } } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_NF" + TP Id "MEC_MEC028_SRV_WAI_007_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" @@ -249,9 +324,18 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing - uri indicating value "/wai/v1/subscriptions/INVALID_URI" + uri indicating value "/wai/v1/subscriptions_INVALID_URI", + body containing + AssocStaSubscription containing + subscriptionType set to "AssocStaSubscription", + callbackReference set to CALLBACK_URI, + apId containing + macId set to MAC_ID + ; + ; + ; ; - from the Dev_App entity + from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 @@ -259,7 +343,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; - to the Dev_App entity + to the MEC_APP entity } } } -- GitLab From 0e5ec102cf27f781e0343bbd63b9aa8eec86b421 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Wed, 28 Apr 2021 09:30:39 +0200 Subject: [PATCH 06/63] Rename TP name in MEC016 --- .../MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 28 +++++++++---------- .../UEAPPLOC/SysUeApplicationsLocation.tplan2 | 14 +++++----- .../MEO/UEAPPS/SysUeApplications.tplan2 | 16 +++++------ .../SRV/WAI/NotificationCallback.tplan2 | 1 - 4 files changed, 29 insertions(+), 30 deletions(-) rename Test Purposes/{ => MEC016}/MEO/UEAPPCTX/SysUeAppsContext.tplan2 (95%) rename Test Purposes/{ => MEC016}/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 (95%) rename Test Purposes/{ => MEC016}/MEO/UEAPPS/SysUeApplications.tplan2 (95%) diff --git a/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 similarity index 95% rename from Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 rename to Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index a33a4e3..cc4e07d 100644 --- a/Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_MEO_UEAPPCTX { +Package MEC_MEC016_MEO_UEAPPCTX { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_MEO_UEAPPCTX { */ Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_001_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_OK" Test objective "Check that the IUT acknowledges the creation of the application context @@ -76,7 +76,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_001_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_BR" Test objective "Check that the IUT responds with an error when @@ -124,7 +124,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_001_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_NF" Test objective "Check that the IUT responds with an error when @@ -169,7 +169,7 @@ Package MEC_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC_MEO_UEAPPCTX_001_ERR + TP Id TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." @@ -206,7 +206,7 @@ Package MEC_MEO_UEAPPCTX { } } Variants - TP_MEC_MEO_UEAPPS_001_NF { + TP_MEC_MEC016_MEO_UEAPPS_001_NF { Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Bindings @@ -215,7 +215,7 @@ Package MEC_MEO_UEAPPCTX { value HTTP_STATUS set to "404 Not found"; } - TP_MEC_MEO_UEAPPS_001_BR { + TP_MEC_MEC016_MEO_UEAPPS_001_BR { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Bindings @@ -273,7 +273,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_002_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_002_BR" Test objective "Check that the IUT responds with an error when @@ -320,7 +320,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_002_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_002_NF" Test objective "Check that the IUT responds with an error when @@ -365,7 +365,7 @@ Package MEC_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC_MEO_UEAPPCTX_001_ERR + TP Id TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." @@ -401,7 +401,7 @@ Package MEC_MEO_UEAPPCTX { } } Variants - TP_MEC_MEO_UEAPPS_001_NF { + TP_MEC_MEC016_MEO_UEAPPS_001_NF { Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Bindings @@ -410,7 +410,7 @@ Package MEC_MEO_UEAPPCTX { value HTTP_STATUS set to "404 Not found"; } - TP_MEC_MEO_UEAPPS_001_BR { + TP_MEC_MEC016_MEO_UEAPPS_001_BR { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Bindings @@ -422,7 +422,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_003_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_003_OK" Test objective "Check that the IUT deletes the application context @@ -462,7 +462,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_003_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_003_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 similarity index 95% rename from Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 rename to Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index 9dd98c1..a495204 100644 --- a/Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_MEO_UEAPPCTX { +Package MEC_MEC016_MEO_UEAPPCTX { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_MEO_UEAPPCTX { */ Test Purpose { - TP Id "TP_MEC_MEO_UEAPPLOC_001_OK" + TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_OK" Test objective "Check that the IUT sends the locations available for instantiation of a specific user application @@ -78,7 +78,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPLOC_001_BR" + TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_BR" Test objective "Check that the IUT responds with an error when @@ -126,7 +126,7 @@ Package MEC_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPLOC_001_NF" + TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_NF" Test objective "Check that the IUT responds with an error when @@ -171,7 +171,7 @@ Package MEC_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC_MEO_UEAPPLOC_001_ERR + TP Id TP_MEC016_MEC_MEO_UEAPPLOC_001_ERR Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." @@ -208,7 +208,7 @@ Package MEC_MEO_UEAPPCTX { } } Variants - TP_MEC_MEO_UEAPPS_001_NF { + TP_MEC_MEC016_MEO_UEAPPS_001_NF { Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Bindings @@ -217,7 +217,7 @@ Package MEC_MEO_UEAPPCTX { value HTTP_STATUS set to "404 Not found"; } - TP_MEC_MEO_UEAPPS_001_BR { + TP_MEC_MEC016_MEO_UEAPPS_001_BR { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Bindings diff --git a/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 similarity index 95% rename from Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 rename to Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 index d09adbb..41f8a9b 100644 --- a/Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 @@ -13,13 +13,13 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_MEO_UEAPPS { +Package MEC_MEC016_MEO_UEAPPS { import all from MEC_Common; /* * UE Applications (UEAPPS) */ Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_OK" Test objective "Check that the IUT responds with the list of user applications available when requested by an UE Application" @@ -65,7 +65,7 @@ Package MEC_MEO_UEAPPS { } Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_002_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPS_002_OK" Test objective "Check that the IUT responds with the list of user applications available when requested by an UE Application" @@ -115,7 +115,7 @@ Package MEC_MEO_UEAPPS { Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" @@ -154,7 +154,7 @@ Package MEC_MEO_UEAPPS { } Test Purpose { - TP Id "TP_MEC_MEO_UEAPPS_001_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" @@ -190,7 +190,7 @@ Package MEC_MEO_UEAPPS { } Test Purpose { - TP Id TP_MEC_MEO_UEAPPS_001_ERR + TP Id TP_MEC_MEC016_MEO_UEAPPS_001_ERR Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." @@ -224,7 +224,7 @@ Package MEC_MEO_UEAPPS { } } Variants - TP_MEC_MEO_UEAPPS_001_NF { + TP_MEC_MEC016_MEO_UEAPPS_001_NF { Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Bindings @@ -233,7 +233,7 @@ Package MEC_MEO_UEAPPS { value HTTP_STATUS set to "404 Not found"; } - TP_MEC_MEO_UEAPPS_001_BR { + TP_MEC_MEC016_MEO_UEAPPS_001_BR { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Bindings diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index ffa5eb7..904df4e 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -62,4 +62,3 @@ Package MEC_MEC028_SRV_WAI { } } } - -- GitLab From aa10ff90805f4eb6c60c96f6e45639945a236ad3 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Wed, 28 Apr 2021 15:43:52 +0200 Subject: [PATCH 07/63] TP Naming update on MEC016 / MEC028 --- .../MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 | 12 ++++++------ Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 | 6 +++--- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 14 +++++++------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index a495204..9e12452 100644 --- a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { */ Test Purpose { - TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_OK" Test objective "Check that the IUT sends the locations available for instantiation of a specific user application @@ -78,7 +78,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_BR" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 217a536..c773612 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -18,7 +18,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_008_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_008_OK" Test objective "Check that the IUT responds with the list of Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", @@ -65,7 +65,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_008_NF" + TP Id "TP_MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" @@ -102,7 +102,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_009_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_009_OK" Test objective "Check that the IUT responds with a Notification Subscription when it is modified" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" @@ -170,7 +170,7 @@ Package MEC_MEC028_SRV_WAI { } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_009_BR" + TP Id "TP_MEC_MEC028_SRV_WAI_009_BR" Test objective "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" @@ -227,7 +227,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_010_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_010_OK" Test objective "Check that the IUT responds with 204 when an existing subscription is correctly deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" @@ -271,7 +271,7 @@ Package MEC_MEC028_SRV_WAI { } Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_010_NF" + TP Id "TP_MEC_MEC028_SRV_WAI_010_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index 2c85fef..e0b5a84 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_003_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_003_OK" Test objective "Check that the IUT responds with the list of Station Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", @@ -64,7 +64,7 @@ Package MEC_MEC028_SRV_WAI { // Query with filters Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_004_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_004_OK" Test objective "Check that the IUT responds with the list of Station Point filtered by the macId provided as query parameter" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", @@ -114,7 +114,7 @@ Package MEC_MEC028_SRV_WAI { //Bad request Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_004_BR" + TP Id "TP_MEC_MEC028_SRV_WAI_004_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index afb8ebc..4c69616 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_005_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_005_OK" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", @@ -73,7 +73,7 @@ Package MEC_MEC028_SRV_WAI { // Query with filter Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_006_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_006_OK" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", @@ -132,7 +132,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_006_BR" + TP Id "TP_MEC_MEC028_SRV_WAI_006_BR" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", @@ -171,7 +171,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_006_NF" + TP Id "TP_MEC_MEC028_SRV_WAI_006_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" @@ -208,7 +208,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_007_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_007_OK" Test objective "Check that the IUT responds with a Notification Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" @@ -264,7 +264,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_007_BR" + TP Id "TP_MEC_MEC028_SRV_WAI_007_BR" Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" @@ -305,7 +305,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_007_NF" + TP Id "TP_MEC_MEC028_SRV_WAI_007_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" -- GitLab From 0ea01f7abab3d727fca0d3f8a06eb348b23bd74b Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Wed, 28 Apr 2021 15:59:26 +0200 Subject: [PATCH 08/63] TP Naming update on MEC016 / MEC028 --- Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 6 +++--- .../MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 6 +++--- Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index cc4e07d..4930762 100644 --- a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -169,7 +169,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR" Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." @@ -226,7 +226,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { } Test Purpose { - TP Id "TP_MEC_MEO_UEAPPCTX_002_OK" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_002_OK" Test objective "Check that the IUT updates the application callback reference @@ -365,7 +365,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR" Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index 9e12452..16c172a 100644 --- a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -126,7 +126,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC016_MEC_MEO_UEAPPLOC_001_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_NF" Test objective "Check that the IUT responds with an error when @@ -171,7 +171,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { } Test Purpose { - TP Id TP_MEC016_MEC_MEO_UEAPPLOC_001_ERR + TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_ERR" Test objective "Check that the ITU responds with 404 Not Found and 400 Bad request when a request with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index b613e88..b704cae 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_001_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_001_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", @@ -63,7 +63,7 @@ Package MEC_MEC028_SRV_WAI { //Query filter Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_002_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter " Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", @@ -112,7 +112,7 @@ Package MEC_MEC028_SRV_WAI { //Bad request Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_002_BR" + TP Id "TP_MEC_MEC028_SRV_WAI_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 904df4e..9080d42 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { - TP Id "MEC_MEC028_SRV_WAI_011_OK" + TP Id "TP_MEC_MEC028_SRV_WAI_011_OK" Test objective "Check that the IUT sends a notification about WLAN event notification -- GitLab From cdf851600efb00b286be35f35eef8d12bdbc2e08 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Mon, 3 May 2021 17:14:36 +0200 Subject: [PATCH 09/63] Fixes on MEC016 --- .../MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 126 ++---------------- .../UEAPPLOC/SysUeApplicationsLocation.tplan2 | 63 +-------- .../MEO/UEAPPS/SysUeApplications.tplan2 | 72 +++++----- 3 files changed, 48 insertions(+), 213 deletions(-) diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index 4930762..440a7bf 100644 --- a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -76,7 +76,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_NF" Test objective "Check that the IUT responds with an error when @@ -113,7 +113,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { then { // MEC 016, clause 7.4.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" + status_code set to "404 Not Found" ; to the Dev_App entity } @@ -124,7 +124,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_NF" + TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_BR" Test objective "Check that the IUT responds with an error when @@ -168,63 +168,6 @@ Package MEC_MEC016_MEO_UEAPPCTX { } } - Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR" - Test objective - "Check that the ITU responds with 404 Not Found and 400 Bad request when a request - with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." - Reference "ETSI GS MEC 016 2.2.1, clause 7.4.3.4" - - Config Id Config_MEC_4 - - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - Expected behaviour - ensure that { - when { - the IUT entity receives - a vPOST request containing - uri set to URI, - body containing - AppContext containing - appInfo containing - appName set to APP_NAME_VALUE - ; - ; - ; - ; - } - then { - // MEC 016, clause 7.4.3.4 - the IUT entity sends - a HTTP response containing - status set to HTTP_STATUS - ; - } - } - Variants - TP_MEC_MEC016_MEO_UEAPPS_001_NF { - Test objective "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/app_contexts_error"; - value APP_NAME_VALUE set to APP_NAME; - value HTTP_STATUS set to "404 Not found"; - } - - TP_MEC_MEC016_MEO_UEAPPS_001_BR { - Test objective "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/app_contexts"; - value APP_NAME_VALUE set to APP_NAME_ERROR; - value HTTP_STATUS set to "400 Bad Request"; - } - } - Test Purpose { TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_002_OK" @@ -280,7 +223,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2", - "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yamlt" + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -364,61 +307,6 @@ Package MEC_MEC016_MEO_UEAPPCTX { } } - Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPCTX_001_ERR" - Test objective - "Check that the ITU responds with 404 Not Found and 400 Bad request when a request - with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." - Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.2" - - Config Id Config_MEC_4 - - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - Expected behaviour - ensure that { - when { - the IUT entity receives - a vPUT request containing - uri set to URI, - body containing - AppContext containing - appInfo containing - appName set to APP_NAME_VALUE - ; - ; - ; - ; - } - then { - the IUT entity sends - a HTTP response containing - status set to HTTP_STATUS - ; - } - } - Variants - TP_MEC_MEC016_MEO_UEAPPS_001_NF { - Test objective "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/app_contexts/{NON_EXISTENT_CONTEXT_ID}"; - value APP_NAME_VALUE set to APP_NAME; - value HTTP_STATUS set to "404 Not found"; - } - - TP_MEC_MEC016_MEO_UEAPPS_001_BR { - Test objective "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/app_contexts/{CONTEXT_ID}"; - value APP_NAME_VALUE set to APP_NAME_ERROR; - value HTTP_STATUS set to "400 Bad Request"; - } - } Test Purpose { @@ -428,7 +316,8 @@ Package MEC_MEC016_MEO_UEAPPCTX { "Check that the IUT deletes the application context when commanded by an UE Application" - Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 @@ -468,7 +357,8 @@ Package MEC_MEC016_MEO_UEAPPCTX { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5" + Reference "ETSI GS MEC 016 2.2.1, clause 7.5.3.5", + "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index 16c172a..310df80 100644 --- a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -82,7 +82,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Test objective "Check that the IUT responds with an error when - a request with incorrect URL is sent by a MEC Application" + a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4", "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" @@ -129,8 +129,8 @@ Package MEC_MEC016_MEO_UEAPPCTX { TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_NF" Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" + "Check that the IUT responds with an error when + a request with incorrect URL is sent by a MEC Application" Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4", "https://forge.etsi.org/gitlab/mec/gs016-ue-app-api/blob/master/UEAppInterfaceApi.yaml" @@ -170,61 +170,4 @@ Package MEC_MEC016_MEO_UEAPPCTX { } } - Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPLOC_001_ERR" - Test objective - "Check that the ITU responds with 404 Not Found and 400 Bad request when a request - with incorrect parameters and for an unknown URI is sent by a MEC Application, respectively." - Reference "ETSI GS MEC 016 2.2.1, clause 7.6.3.4" - - Config Id Config_MEC_4 - - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - Expected behaviour - ensure that { - when { - the IUT entity receives - a vPOST request containing - uri set to URI, - body containing - ApplicationLocationAvailability containing - appInfo containing - appName set to APP_NAME_VALUE - ; - ; - ; - ; - } - then { - // MEC 016, clause 7.6.3.4 - the IUT entity sends - a HTTP response containing - status set to HTTP_STATUS - ; - } - } - Variants - TP_MEC_MEC016_MEO_UEAPPS_001_NF { - Test objective "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/obtain_app_loc_availability_error"; - value APP_NAME_VALUE set to APP_NAME; - value HTTP_STATUS set to "404 Not found"; - } - - TP_MEC_MEC016_MEO_UEAPPS_001_BR { - Test objective "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - Bindings - value URI set to "/dev_app/v1/obtain_app_loc_availability"; - value APP_NAME_VALUE set to APP_NAME_ERROR; - value HTTP_STATUS set to "400 Bad Request"; - } - } - } diff --git a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 index 41f8a9b..f379ef4 100644 --- a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 @@ -64,6 +64,42 @@ Package MEC_MEC016_MEO_UEAPPS { } } + Test Purpose { + TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_NF" + Test objective + "Check that the IUT responds with an error when + a request for an unknown URI is sent by a MEC Application" + Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 016, clause 5.1.2 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + // wrong url should generate a "Not Found" error response + uri indicating value "/dev_app/v1/app_list_error" + ; + from the Dev_App entity + } + then { + // MEC 016, clause 7.3.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the Dev_App entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC016_MEO_UEAPPS_002_OK" Test objective @@ -115,7 +151,7 @@ Package MEC_MEC016_MEO_UEAPPS { Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_BR" + TP Id "TP_MEC_MEC016_MEO_UEAPPS_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" @@ -153,41 +189,7 @@ Package MEC_MEC016_MEO_UEAPPS { } } - Test Purpose { - TP Id "TP_MEC_MEC016_MEO_UEAPPS_001_NF" - Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 016 2.2.1, clause 7.3.3.1" - - Config Id Config_MEC_4 - - PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES - Initial conditions with { - the IUT entity being_in idle_state - } - // MEC 016, clause 5.1.2 - Expected behaviour - ensure that { - when { - the IUT entity receives - a vGET containing - // wrong url should generate a "Not Found" error response - uri indicating value "/dev_app/v1/app_list_error" - ; - from the Dev_App entity - } - then { - // MEC 016, clause 7.3.3.1 - the IUT entity sends - a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the Dev_App entity - } - } - } Test Purpose { TP Id TP_MEC_MEC016_MEO_UEAPPS_001_ERR -- GitLab From 2d15d5a7d6871eb2ee3561bdcbe9a765233a641f Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 4 May 2021 17:15:40 +0200 Subject: [PATCH 10/63] Rename TP name in MEC015 and MEC030 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 418 ++++++++++++++++ .../SRV/TM/TrafficManagement.tplan2} | 461 ++---------------- .../V2XInformationService.tplan2} | 2 +- 3 files changed, 456 insertions(+), 425 deletions(-) create mode 100644 Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 rename Test Purposes/{SRV/BWA/PlatBandwidthManager.tplan2 => MEC015/SRV/TM/TrafficManagement.tplan2} (70%) rename Test Purposes/MEC030/{PlatV2XInformationService.tplan2 => SRV/V2XInformationService.tplan2} (97%) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 new file mode 100644 index 0000000..b6e9fd7 --- /dev/null +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -0,0 +1,418 @@ +/* +Copyright (c) ETSI 2018-2021. + +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 MEC_MEC015_SRV_MTS { + + import all from MEC_Common; + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_001_OK" + + Test objective + "Check that the IUT responds with the Multi-access Traffic Steering information + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_info" + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsCapabilityInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_002_OK" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions" + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + oneOrmore mtsList containing + mts containing + appInsId set to APP_INSTANCE_ID + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_003_OK" + + Test objective + "Check that the IUT responds with a configured Multi-access Traffic Steering + when queried by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_instance_id indicating value APP_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsList containing + appInsId set to APP_INSTANCE_ID + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_003_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + // Wrong parameter name should trigger an error response. + app_id indicating value APP_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_003_NF" + + Test objective + "Check that the IUT responds with an error when + a request with an unknown resource URI is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having an mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 6.2.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_id indicating value APP_UNKNOWN_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_004_OK_01" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 0, // Low Cost + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_004_OK_02" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 1, // SESSION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 4, // QoS + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC016_SRV_MTS_004_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v0/mts_sessions", // Invalid version number + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + +} diff --git a/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 similarity index 70% rename from Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 rename to Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 3c7b388..61b7730 100644 --- a/Test Purposes/SRV/BWA/PlatBandwidthManager.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -13,7 +13,22 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_BWA { +/* +Copyright (c) ETSI 2018-2021. + +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 MEC_MEC015_SRV_TM { import all from MEC_Common; @@ -23,7 +38,7 @@ Package MEC_SRV_BWA { */ Test Purpose { - TP Id "TP_MEC_SRV_BWA_001_OK" + TP Id "TP_MEC_MEC016_SRV_TM_001_OK" Test objective "Check that the IUT responds with the list of configured bandwidth allocations @@ -70,7 +85,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_002_OK" + TP Id "TP_MEC_MEC016_SRV_TM_002_OK" Test objective "Check that the IUT responds with a configured bandwidth allocation @@ -118,7 +133,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_002_BR" + TP Id "TP_MEC_MEC016_SRV_TM_002_BR" Test objective "Check that the IUT responds with an error when @@ -162,7 +177,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_002_NF" + TP Id "TP_MEC_MEC016_SRV_TM_002_NF" Test objective "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application" @@ -204,7 +219,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_OK_01" + TP Id "TP_MEC_MEC016_SRV_TM_003_OK_01" Test objective "Check that the IUT responds with a registration and initialisation approval @@ -263,7 +278,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_OK_02" + TP Id "TP_MEC_MEC016_SRV_TM_003_OK_02" Test objective "Check that the IUT responds with a registration and initialisation approval @@ -322,7 +337,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_BR_01" + TP Id "TP_MEC_MEC016_SRV_TM_003_BR_01" Test objective "Check that the IUT responds with an error when @@ -370,7 +385,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_BR_02" + TP Id "TP_MEC_MEC016_SRV_TM_003_BR_02" Test objective "Check that the IUT responds with an error when @@ -419,7 +434,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_003_BR_03" + TP Id "TP_MEC_MEC016_SRV_TM_003_BR_03" Test objective "Check that the IUT responds with an error when @@ -468,7 +483,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_OK" + TP Id "TP_MEC_MEC016_SRV_TM_004_OK" Test objective "Check that the IUT responds with the configured bandwidth allocation @@ -516,7 +531,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_004_NF" + TP Id "TP_MEC_MEC016_SRV_TM_004_NF" Test objective "Check that the IUT responds with an error when @@ -559,7 +574,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_OK" + TP Id "TP_MEC_MEC016_SRV_TM_005_OK" Test objective "Check that the IUT updates the requested bandwidth requirements @@ -617,7 +632,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_BR" + TP Id "TP_MEC_MEC016_SRV_TM_005_BR" Test objective "Check that the IUT responds with an error when @@ -668,7 +683,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_NF" + TP Id "TP_MEC_MEC016_SRV_TM_005_NF" Test objective "Check that the IUT responds with an error when @@ -719,7 +734,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_005_PF" + TP Id "TP_MEC_MEC016_SRV_TM_005_PF" Test objective "Check that the IUT responds with an error when @@ -770,7 +785,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_OK" + TP Id "TP_MEC_MEC016_SRV_TM_006_OK" Test objective "Check that the IUT when provided with just the changes (deltas) @@ -829,7 +844,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_BR" + TP Id "TP_MEC_MEC016_SRV_TM_006_BR" Test objective "Check that the IUT responds with an error when @@ -881,7 +896,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_NF" + TP Id "TP_MEC_MEC016_SRV_TM_006_NF" Test objective "Check that the IUT responds with an error when @@ -932,7 +947,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_006_PF" + TP Id "TP_MEC_MEC016_SRV_TM_006_PF" Test objective "Check that the IUT responds with an error when @@ -983,7 +998,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_007_OK" + TP Id "TP_MEC_MEC016_SRV_TM_007_OK" Test objective "Check that the IUT unregisters from the Bandwidth Management Service @@ -1023,7 +1038,7 @@ Package MEC_SRV_BWA { Test Purpose { - TP Id "TP_MEC_SRV_BWA_007_NF" + TP Id "TP_MEC_MEC016_SRV_TM_007_NF" Test objective "Check that the IUT responds with an error when @@ -1062,406 +1077,4 @@ Package MEC_SRV_BWA { } - /* - * Multi-access Traffic Steering (MTS) - */ - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_001_OK" - - Test objective - "Check that the IUT responds with the Multi-access Traffic Steering information - when queried by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.3.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 7.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_info" - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - mtsCapabilityInfo - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_002_OK" - - Test objective - "Check that the IUT responds with the list of configured Multi-access Traffic Steering - when queried by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 6.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_sessions" - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - oneOrmore mtsList containing - mts containing - appInsId set to APP_INSTANCE_ID - ; - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_003_OK" - - Test objective - "Check that the IUT responds with a configured Multi-access Traffic Steering - when queried by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 6.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - app_instance_id indicating value APP_INSTANCE_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.4.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - mtsList containing - appInsId set to APP_INSTANCE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_003_BR" - - Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 6.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - // Wrong parameter name should trigger an error response. - app_id indicating value APP_INSTANCE_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.4.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_003_NF" - - Test objective - "Check that the IUT responds with an error when - a request with an unknown resource URI is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 6.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - app_id indicating value APP_UNKNOWN_INSTANCE_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.4.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_004_OK_01" - - Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v1/mts_sessions", - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.5.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value 0, // Low Cost - trafficDirection indicating value "00" - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_004_OK_02" - - Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v1/mts_sessions", - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 1, // SESSION_SPECIFIC_BW_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value 4, // QoS - trafficDirection indicating value "00" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.5.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_MTS_004_NF" - - Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; - } - - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v0/mts_sessions", // Invalid version number - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 9.5.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } - } - } - - } diff --git a/Test Purposes/MEC030/PlatV2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 similarity index 97% rename from Test Purposes/MEC030/PlatV2XInformationService.tplan2 rename to Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 47fc345..dae0713 100644 --- a/Test Purposes/MEC030/PlatV2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -19,7 +19,7 @@ Package MEC_SRV_V2X { Test Purpose { - TP Id "TP_MEC_SRV_V2X_001_OK" + TP Id "TP_MEC_MEC030_SRV_V2X_001_OK" Test objective "Check that the IUT responds with the list of configured bandwidth allocations -- GitLab From f38cc08b010b71d9fbb6201a692f98f6d827f18f Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 7 May 2021 09:08:48 +0200 Subject: [PATCH 11/63] Review MEC015, Update MEC030 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 40 +- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 105 +-- .../MEC030/SRV/V2XInformationService.tplan2 | 639 +++++++++++++++++- 3 files changed, 719 insertions(+), 65 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index b6e9fd7..7ef8c01 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -19,13 +19,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_001_OK" + TP Id "TP_MEC_MEC015_SRV_MTS_001_OK" Test objective "Check that the IUT responds with the Multi-access Traffic Steering information when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.3.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.3.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -62,13 +63,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_002_OK" + TP Id "TP_MEC_MEC015_SRV_MTS_002_OK" Test objective "Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -109,13 +111,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_003_OK" + TP Id "TP_MEC_MEC015_SRV_MTS_003_OK" Test objective "Check that the IUT responds with a configured Multi-access Traffic Steering when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -157,13 +160,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_003_BR" + TP Id "TP_MEC_MEC015_SRV_MTS_003_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -201,13 +205,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_003_NF" + TP Id "TP_MEC_MEC015_SRV_MTS_003_NF" Test objective "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -244,13 +249,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_004_OK_01" + TP Id "TP_MEC_MEC015_SRV_MTS_004_OK_01" Test objective "Check that the IUT responds with a registration and initialisation approval for the requested MTS session requirements sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -305,13 +311,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_004_OK_02" + TP Id "TP_MEC_MEC015_SRV_MTS_004_OK_02" Test objective "Check that the IUT responds with a registration and initialisation approval for the requested MTS session requirements sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -366,13 +373,14 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_MTS_004_NF" + TP Id "TP_MEC_MEC015_SRV_MTS_004_NF" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 61b7730..73f3b2b 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -38,13 +38,14 @@ Package MEC_MEC015_SRV_TM { */ Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_001_OK" + TP Id "TP_MEC_MEC015_SRV_TM_001_OK" Test objective "Check that the IUT responds with the list of configured bandwidth allocations when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -85,13 +86,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_002_OK" + TP Id "TP_MEC_MEC015_SRV_TM_002_OK" Test objective "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -133,13 +135,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_002_BR" + TP Id "TP_MEC_MEC015_SRV_TM_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -177,12 +180,13 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_002_NF" + TP Id "TP_MEC_MEC015_SRV_TM_002_NF" Test objective "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -219,13 +223,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_003_OK_01" + TP Id "TP_MEC_MEC015_SRV_TM_003_OK_01" Test objective "Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -278,13 +283,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_003_OK_02" + TP Id "TP_MEC_MEC015_SRV_TM_003_OK_02" Test objective "Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -337,13 +343,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_003_BR_01" + TP Id "TP_MEC_MEC015_SRV_TM_003_BR_01" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -385,13 +392,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_003_BR_02" + TP Id "TP_MEC_MEC015_SRV_TM_003_BR_02" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -434,13 +442,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_003_BR_03" + TP Id "TP_MEC_MEC015_SRV_TM_003_BR_03" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -483,13 +492,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_004_OK" + TP Id "TP_MEC_MEC015_SRV_TM_004_OK" Test objective "Check that the IUT responds with the configured bandwidth allocation when queried by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -531,13 +541,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_004_NF" + TP Id "TP_MEC_MEC015_SRV_TM_004_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -574,13 +585,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_005_OK" + TP Id "TP_MEC_MEC015_SRV_TM_005_OK" Test objective "Check that the IUT updates the requested bandwidth requirements when commanded by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -632,13 +644,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_005_BR" + TP Id "TP_MEC_MEC015_SRV_TM_005_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -683,13 +696,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_005_NF" + TP Id "TP_MEC_MEC015_SRV_TM_005_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -734,13 +748,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_005_PF" + TP Id "TP_MEC_MEC015_SRV_TM_005_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -785,14 +800,15 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_006_OK" + TP Id "TP_MEC_MEC015_SRV_TM_006_OK" Test objective "Check that the IUT when provided with just the changes (deltas) updates the requested bandwidth requirements when commanded by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -844,13 +860,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_006_BR" + TP Id "TP_MEC_MEC015_SRV_TM_006_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -896,13 +913,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_006_NF" + TP Id "TP_MEC_MEC015_SRV_TM_006_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -947,13 +965,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_006_PF" + TP Id "TP_MEC_MEC015_SRV_TM_006_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -998,13 +1017,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_007_OK" + TP Id "TP_MEC_MEC015_SRV_TM_007_OK" Test objective "Check that the IUT unregisters from the Bandwidth Management Service when commanded by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -1038,13 +1058,14 @@ Package MEC_MEC015_SRV_TM { Test Purpose { - TP Id "TP_MEC_MEC016_SRV_TM_007_NF" + TP Id "TP_MEC_MEC015_SRV_TM_007_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" + Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index dae0713..34d6686 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 @@ -19,13 +19,14 @@ Package MEC_SRV_V2X { Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_001_OK" + TP Id "TP_MEC_MEC030_SRV_V2X_001_OK_01" Test objective - "Check that the IUT responds with the list of configured bandwidth allocations + "Check that the IUT responds with a configured provisioning information over Uu unicast when queried by a MEC Application" - Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" Config Id Config_MEC_1 @@ -33,19 +34,19 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing + the MEC_APP entity having a uuUnicastProvisioningInfo containing appInsId indicating value APP_INSTANCE_ID ; } - // MEC 030 Clause 6.2.2 + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" query_parameters containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_ECGI ; ; from the MEC_APP entity @@ -64,4 +65,628 @@ Package MEC_SRV_V2X { } + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_001_OK_02" + + Test objective + "Check that the IUT responds with a configured provisioning information over Uu unicast + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuUnicastProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_LATITUDE + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + uuUnicastProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_001_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuUnicastProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_LATITUDE + // Wrong parameter name should trigger an error response. + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_001_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuUnicastProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_UNKNOWN_ECGI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_002_OK_01" + + Test objective + "Check that the IUT responds with a configured provisioning information over Uu MBMS + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuMbmsProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_ECGI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + uuMbmsProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_002_OK_02" + + Test objective + "Check that the IUT responds with a configured provisioning information over Uu MBMS + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuMbmsProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_LATITUDE + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + uuMbmsProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_002_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuMbmsProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_ECGI + // Wrong parameter name should trigger an error response. + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_002_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a uuMbmsProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_UNKNOWN_LATITUDE + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_003_OK_01" + + Test objective + "Check that the IUT responds with a configured provisioning information over PC5 + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a pc5ProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/pc5_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_ECGI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + pc5ProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_003_OK_02" + + Test objective + "Check that the IUT responds with a configured provisioning information over PC5 + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a pc5ProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/pc5_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_LATITUDE + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + pc5ProvisioningInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_003_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a pc5ProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/pc5_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_ECGI + // Wrong parameter name should trigger an error response. + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_003_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a pc5ProvisioningInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/queries/pc5_provisioning_info" + query_parameters containing + location_info indicating value LOCATION_INFO_UNKNOWN_ECGI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_004_OK" + + Test objective + "Check that the IUT sends a request about QoS information for a vehicular UE + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.6.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a predictedQos + } + + // MEC 030 Clause 6.2.5 Type: PredictedQos + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/provide_predicted_qos" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.6.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + predictedQos + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_004_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.6.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a predictedQos + } + + // MEC 030 Clause 6.2.5 Type: PredictedQos + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/provide_predicted_qos" + // Wrong parameter name should trigger an error response. + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.6.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_004_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.6.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity not having a predictedQos + } + + // MEC 030 Clause 6.2.5 Type: PredictedQos + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/provide_predicted_qos" + // Wrong parameter name should trigger an error response. + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.6.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + } -- GitLab From d36d709c64ed72b2e9793eaf7d66119c4bb671e7 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 7 May 2021 11:27:36 +0200 Subject: [PATCH 12/63] Update MEC030 --- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 15 - .../MEC030/SRV/V2XInformationService.tplan2 | 1009 ++++++++++++++++- 2 files changed, 994 insertions(+), 30 deletions(-) diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 73f3b2b..efc3107 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -13,21 +13,6 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -/* -Copyright (c) ETSI 2018-2021. - -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 MEC_MEC015_SRV_TM { import all from MEC_Common; diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 34d6686..c6ccc9e 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_V2X { +Package MEC_MEC030_SRV_V2X { import all from MEC_Common; @@ -35,7 +35,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -82,7 +82,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -129,7 +129,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -174,7 +174,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -218,7 +218,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuMbmsProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -265,7 +265,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuMbmsProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -312,7 +312,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuMbmsProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -357,7 +357,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuMbmsProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -401,7 +401,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a pc5ProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -448,7 +448,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a pc5ProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -495,7 +495,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a pc5ProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -540,7 +540,7 @@ Package MEC_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a pc5ProvisioningInfo containing - appInsId indicating value APP_INSTANCE_ID + location_info indicating value LOCATION_INFO ; } @@ -592,6 +592,12 @@ Package MEC_SRV_V2X { when { the IUT entity receives a vPOST containing uri indicating value "vis/v1/provide_predicted_qos" + body containing + predictedQos containing + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_ROUTES + ; + ; ; from the MEC_APP entity } @@ -600,7 +606,10 @@ Package MEC_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - predictedQos + predictedQos containing + locationGranularity, + routes + ; ; ; to the MEC_APP entity @@ -635,6 +644,12 @@ Package MEC_SRV_V2X { the IUT entity receives a vPOST containing uri indicating value "vis/v1/provide_predicted_qos" // Wrong parameter name should trigger an error response. + body containing + predictedQos containing + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_ROUTES + ; + ; ; from the MEC_APP entity } @@ -674,7 +689,12 @@ Package MEC_SRV_V2X { when { the IUT entity receives a vPOST containing uri indicating value "vis/v1/provide_predicted_qos" - // Wrong parameter name should trigger an error response. + body containing + predictedQos containing + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_UNKNOWN_ROUTES + ; + ; ; from the MEC_APP entity } @@ -689,4 +709,963 @@ Package MEC_SRV_V2X { } + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_005_OK" + + Test objective + "Check that the IUT processes properly a request to publish a V2X message" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.7.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.2.6 Type: V2xMsgPublication + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/publish_v2x_message" + body containing + V2xMsgPublication containing + stdOrganization indicating value "ETSI", + msgType indicating value 2, // ETSI ITS CAM, See ETSI TS 102 894-2 + msgEncodeFormat indicating value "base64", + msgContent indicating value CAM_VALUE_BASE_64 + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.7.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_005_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.7.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.2.6 Type: V2xMsgPublication + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/publish_v2x_message", + body containing + V2xMsgPublication containing + stdOrganization indicating value "UNKNOWN_ORG" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.7.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_OK_01" + + Test objective + "Check that the IUT responds with the requested list of subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + prov_chg_uu_uni indicating value PROV_CHG_UU_UNI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + subscriptionLinkList containing + subscriptions containing + href indicating value HREF_UU_UNI_SUBSCRIPTION, + subscriptionType indicating value "ProvChgUuUniSubscription" + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_OK_02" + + Test objective + "Check that the IUT responds with the requested list of subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + prov_chg_uu_mbms indicating value PROV_CHG_UU_MBMS + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + subscriptionLinkList containing + subscriptions containing + href indicating value HREF_UU_MBMS_SUBSCRIPTION, + subscriptionType indicating value "ProvChgUuMbmsSubscription" + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_OK_03" + + Test objective + "Check that the IUT responds with the requested list of subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a pc5ProvisioningInfo containing + _links containing + self indicating value HREF_PC5_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + prov_chg_pc5 indicating value PROV_CHG_PC5 + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + subscriptionLinkList containing + subscriptions containing + href indicating value HREF_PC5_SUBSCRIPTION, + subscriptionType indicating value "ProvChgPc5Subscription" + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_OK_04" + + Test objective + "Check that the IUT responds with the requested list of subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2X_MSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + v2x_msg indicating value V2X_MSG + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + subscriptionLinkList containing + subscriptions containing + href indicating value HREF_V2X_MSG_SUBSCRIPTION, + subscriptionType indicating value "V2xMsgSubscription" + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + // Wrong parameter name should trigger an error response. + prov_chg_uu_uni indicating value PROV_CHG_UU_UNI + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + prov_chg_uu_uni indicating value PROV_CHG_UU_UNI_UNKNOWN + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_01" + + Test objective + "Check that the IUT responds with the requested to create a subscription" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" containing + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA, + _links indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_02" + + Test objective + "Check that the IUT responds with the requested to create a subscription" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" containing + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA, + _links indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_03" + + Test objective + "Check that the IUT responds with the requested to create a subscription" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.3.4 Type: ProvChgPc5Subscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/subscriptions" + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_PC5_CRITERIA + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" containing + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_PC5_CRITERIA, + _links indicating value HREF_PC5_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_04" + + Test objective + "Check that the IUT responds with the requested to create a subscription" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/subscriptions" + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_V2XMSG_CRITERIA + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" containing + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_V2XMSG_SUBSCRIPTION, + filterCriteria indicating value FILTER_V2XMSG_CRITERIA, + _links indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_BR" + + Test objective + "Check that the IUT responds with the requested to create a subscription" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/subscriptions" + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "InvalidProvChgUuMbmsSubscription", // Invalid SubscriptionType + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.8.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_OK_01" + + Test objective + "Check that the IUT responds with the requested of subscription information + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA, + _links indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_OK_02" + + Test objective + "Check that the IUT responds with the requested of subscription information + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + subscriptionId indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA, + _links indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_OK_03" + + Test objective + "Check that the IUT responds with the requested of subscription information + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_PC5_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.4 Type: ProvChgPc5Subscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + subscriptionId indicating value HREF_PC5_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_PC5_CRITERIA, + _links indicating value HREF_PC5_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_OK_04" + + Test objective + "Check that the IUT responds with the requested of subscription information + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_V2XMSG_SUBSCRIPTION, + filterCriteria indicating value FILTER_V2XMSG_CRITERIA, + _links indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + // Wrong parameter name should trigger an error response. + subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_008_NF" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.1", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v1/subscriptions", + query_parameters containing + // Wrong parameter name should trigger an error response. + subscriptionId indicating value HREF_V2XMSG_UNKNOWN_SUBSCRIPTION + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + } -- GitLab From b1f7544e4bb5d182254e61564533f134b906bee9 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 7 May 2021 15:02:36 +0200 Subject: [PATCH 13/63] Terminate MEC030 omplementation --- .../MEC030/SRV/V2XInformationService.tplan2 | 632 +++++++++++++++++- 1 file changed, 614 insertions(+), 18 deletions(-) diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index c6ccc9e..7cbb42c 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -56,7 +56,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - uuUnicastProvisioningInfo + uuUnicastProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -94,7 +94,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/uu_unicast_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_LATITUDE - ; + ; ; from the MEC_APP entity } @@ -103,7 +103,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - uuUnicastProvisioningInfo + uuUnicastProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -142,7 +142,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing location_info indicating value LOCATION_INFO_LATITUDE // Wrong parameter name should trigger an error response. - ; + ; ; from the MEC_APP entity } @@ -230,7 +230,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_ECGI - ; + ; ; from the MEC_APP entity } @@ -239,7 +239,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - uuMbmsProvisioningInfo + uuMbmsProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -277,7 +277,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_LATITUDE - ; + ; ; from the MEC_APP entity } @@ -286,7 +286,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - uuMbmsProvisioningInfo + uuMbmsProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -325,7 +325,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing location_info indicating value LOCATION_INFO_ECGI // Wrong parameter name should trigger an error response. - ; + ; ; from the MEC_APP entity } @@ -369,7 +369,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/uu_mbms_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_UNKNOWN_LATITUDE - ; + ; ; from the MEC_APP entity } @@ -413,7 +413,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/pc5_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_ECGI - ; + ; ; from the MEC_APP entity } @@ -422,7 +422,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - pc5ProvisioningInfo + pc5ProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -460,7 +460,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/pc5_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_LATITUDE - ; + ; ; from the MEC_APP entity } @@ -469,7 +469,7 @@ Package MEC_MEC030_SRV_V2X { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - pc5ProvisioningInfo + pc5ProvisioningInfo set to any_value ; ; to the MEC_APP entity @@ -508,7 +508,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing location_info indicating value LOCATION_INFO_ECGI // Wrong parameter name should trigger an error response. - ; + ; ; from the MEC_APP entity } @@ -552,7 +552,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/queries/pc5_provisioning_info" query_parameters containing location_info indicating value LOCATION_INFO_UNKNOWN_ECGI - ; + ; ; from the MEC_APP entity } @@ -607,8 +607,8 @@ Package MEC_MEC030_SRV_V2X { status_code set to "200 OK" body containing predictedQos containing - locationGranularity, - routes + locationGranularity set to any_value, + routes set to any_value ; ; ; @@ -1668,4 +1668,600 @@ Package MEC_MEC030_SRV_V2X { } + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_OK_01" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, + _links indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, + _links indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_OK_02" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA_1, + _links indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_UU_MBMS_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_MBMS_CRITERIA_1, + _links indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_OK_03" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_PC5_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.4 Type: ProvChgPc5Subscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_PC5_CRITERIA_1, + _links indicating value HREF_PC5_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, + filterCriteria indicating value FILTER_PC5_CRITERIA_1, + _links indicating value HREF_PC5_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_OK_04" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + v2xMsgSubscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_V2XMSG_SUBSCRIPTION, + filterCriteria indicating value FILTER_V2XMSG_CRITERIA_1, + _links indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" containing + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_V2XMSG_SUBSCRIPTION, + filterCriteria indicating value FILTER_V2XMSG_CRITERIA_1, + _links indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_BR" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "InvalidProvChgUuUniSubscription", // Invalid SubscriptionType + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, + _links indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_NF" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v1/subscriptions", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, + filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, + _links indicating value HREF_UU_UNI_UNKNOWN_SUBSCRIPTION + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_01" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_02" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_UU_MBMS_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_03" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_PC5_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.4 Type: ProvChgPc5Subscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_04" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_V2XMSG_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.5 Type: V2xMsgSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_BR" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_NF" + + Test objective + "Check that the IUT responds with the requested of updating subscription + when queried by a MEC Application" + + Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_UU_UNI_SUBSCRIPTION + ; + ; + } + + // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v1/subscriptions" + ; + from the MEC_APP entity + } + then { + // MEC 030 Clause 7.9.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + } -- GitLab From e86dee91f4770ac0170d8eed9317f55020cccb72 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 10 May 2021 10:32:38 +0200 Subject: [PATCH 14/63] Rename TP name in MEC013 --- .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 6 +++--- .../SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 | 10 +++++----- .../SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 6 +++--- .../SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 | 10 +++++----- .../SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 | 10 +++++----- .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 8 ++++---- .../SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 | 10 +++++----- .../SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 | 10 +++++----- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 8 ++++---- 9 files changed, 39 insertions(+), 39 deletions(-) rename Test Purposes/{ => MEC013}/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 (96%) rename Test Purposes/{ => MEC013}/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 (96%) rename Test Purposes/{SRV => MEC013}/UEINFOLOOK/PlatUeInformationLookup.tplan2 (96%) diff --git a/Test Purposes/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 similarity index 96% rename from Test Purposes/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 rename to Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index b50eb3d..a2d35f2 100644 --- a/Test Purposes/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_RLOCLOOK { +Package MEC_MEC013_SRV_RLOCLOOK { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_SRV_RLOCLOOK { */ Test Purpose { - TP Id "TP_MEC_SRV_RLOCLOOK_001_OK" + TP Id "TP_MEC_MEC013_SRV_RLOCLOOK_001_OK" Test objective "Check that the IUT responds with the list of radio nodes currently associated with the MEC host and the location of each radio node @@ -68,7 +68,7 @@ Package MEC_SRV_RLOCLOOK { Test Purpose { - TP Id "TP_MEC_SRV_RLOCLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_RLOCLOOK_001_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 similarity index 96% rename from Test Purposes/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 rename to Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index f9a6d46..7c67397 100644 --- a/Test Purposes/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UEAREASUB { +Package MEC_MEC013_SRV_UEAREASUB { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_SRV_UEAREASUB { */ Test Purpose { - TP Id "TP_MEC_SRV_UEAREASUB_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_001_OK" Test objective "Check that the IUT acknowledges the UE area change subscription request when @@ -87,7 +87,7 @@ Package MEC_SRV_UEAREASUB { Test Purpose { - TP Id "TP_MEC_SRV_UEAREASUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_001_BR" Test objective "Check that the IUT responds with an error when @@ -132,7 +132,7 @@ Package MEC_SRV_UEAREASUB { Test Purpose { - TP Id "TP_MEC_SRV_UEAREASUB_002_OK" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_002_OK" Test objective "Check that the IUT acknowledges the cancellation of UE area change notifications @@ -172,7 +172,7 @@ Package MEC_SRV_UEAREASUB { Test Purpose { - TP Id "TP_MEC_SRV_UEAREASUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 similarity index 96% rename from Test Purposes/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 rename to Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 8207758..83a6c18 100644 --- a/Test Purposes/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UEDISTLOOK { +Package MEC_MEC013_SRV_UEDISTLOOK { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_UEDISTLOOK { */ Test Purpose { - TP Id "TP_MEC_SRV_UEDISTLOOK_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_OK" Test objective "Check that the IUT responds with the distance to a UE @@ -67,7 +67,7 @@ Package MEC_SRV_UEDISTLOOK { Test Purpose { - TP Id "TP_MEC_SRV_UEDISTLOOK_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_BR" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 similarity index 96% rename from Test Purposes/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 rename to Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 3f20365..883b0da 100644 --- a/Test Purposes/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UEDISTSUB { +Package MEC_MEC013_SRV_UEDISTSUB { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_SRV_UEDISTSUB { */ Test Purpose { - TP Id "TP_MEC_SRV_UEDISTSUB_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_001_OK" Test objective "Check that the IUT acknowledges the UE distance subscription request when commanded by a @@ -89,7 +89,7 @@ Package MEC_SRV_UEDISTSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEDISTSUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_001_BR" Test objective "Check that the IUT responds with an error when @@ -135,7 +135,7 @@ Package MEC_SRV_UEDISTSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEDISTSUB_002_OK" + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_OK" Test objective "Check that the IUT acknowledges the cancellation of UE distance notifications @@ -175,7 +175,7 @@ Package MEC_SRV_UEDISTSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEDISTSUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 similarity index 96% rename from Test Purposes/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 rename to Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 index 672c560..c77252f 100644 --- a/Test Purposes/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UEINFOSUB { +Package MEC_MEC013_SRV_UEINFOSUB { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_UEINFOSUB { */ Test Purpose { - TP Id "TP_MEC_SRV_UEINFOSUB_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_001_OK" Test objective "Check that the IUT acknowledges the UE information change subscription request @@ -86,7 +86,7 @@ Package MEC_SRV_UEINFOSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEINFOSUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_001_BR" Test objective "Check that the IUT responds with an error when @@ -132,7 +132,7 @@ Package MEC_SRV_UEINFOSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEINFOSUB_002_OK" + TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_002_OK" Test objective "Check that the IUT acknowledges the cancellation of UE information change notifications @@ -172,7 +172,7 @@ Package MEC_SRV_UEINFOSUB { Test Purpose { - TP Id "TP_MEC_SRV_UEINFOSUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 similarity index 96% rename from Test Purposes/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 rename to Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index 2b8019f..538878e 100644 --- a/Test Purposes/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UELOCLOOK { +Package MEC_MEC013_SRV_UELOCLOOK { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_UELOCLOOK { */ Test Purpose { - TP Id "TP_MEC_SRV_UELOCLOOK_001_OK" + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_001_OK" Test objective "Check that the IUT responds with a list for the location of User Equipments @@ -71,7 +71,7 @@ Package MEC_SRV_UELOCLOOK { Test Purpose { - TP Id "TP_MEC_SRV_UELOCLOOK_001_BR" + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_001_BR" Test objective "Check that the IUT responds with an error when @@ -116,7 +116,7 @@ Package MEC_SRV_UELOCLOOK { Test Purpose { - TP Id "TP_MEC_SRV_UELOCLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_001_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 similarity index 96% rename from Test Purposes/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 rename to Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index 444ef95..dfa6ba0 100644 --- a/Test Purposes/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UELOCSUB { +Package MEC_MEC013_SRV_UELOCSUB { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_UELOCSUB { */ Test Purpose { - TP Id "TP_MEC_SRV_UELOCSUB_001_OK" + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK" Test objective "Check that the IUT acknowledges the UE location change subscription request @@ -86,7 +86,7 @@ Package MEC_SRV_UELOCSUB { Test Purpose { - TP Id "TP_MEC_SRV_UELOCSUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_BR" Test objective "Check that the IUT responds with an error when @@ -132,7 +132,7 @@ Package MEC_SRV_UELOCSUB { Test Purpose { - TP Id "TP_MEC_SRV_UELOCSUB_002_OK" + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_OK" Test objective "Check that the IUT acknowledges the cancellation of UE location change notifications @@ -172,7 +172,7 @@ Package MEC_SRV_UELOCSUB { Test Purpose { - TP Id "TP_MEC_SRV_UELOCSUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 similarity index 96% rename from Test Purposes/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 rename to Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 index ba2df31..b5ef06e 100644 --- a/Test Purposes/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UETRACKSUB { +Package MEC_MEC013_SRV_UETRACKSUB { import all from MEC_Common; @@ -24,7 +24,7 @@ Package MEC_SRV_UETRACKSUB { Test Purpose { - TP Id "TP_MEC_SRV_UETRACKSUB_001_OK" + TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_001_OK" Test objective "Check that the IUT acknowledges the UE location change subscription request @@ -88,7 +88,7 @@ Package MEC_SRV_UETRACKSUB { Test Purpose { - TP Id "TP_MEC_SRV_UETRACKSUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_001_BR" Test objective "Check that the IUT responds with an error when @@ -133,7 +133,7 @@ Package MEC_SRV_UETRACKSUB { Test Purpose { - TP Id "TP_MEC_SRV_UETRACKSUB_002_OK" + TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_002_OK" Test objective "Check that the IUT acknowledges the cancellation of UE tracking notifications @@ -173,7 +173,7 @@ Package MEC_SRV_UETRACKSUB { Test Purpose { - TP Id "TP_MEC_SRV_UETRACKSUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 similarity index 96% rename from Test Purposes/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 rename to Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 5bd34fc..c6e5b6b 100644 --- a/Test Purposes/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UEINFOLOOK { +Package MEC_MEC013_SRV_UEINFOLOOK { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_SRV_UEINFOLOOK { */ Test Purpose { - TP Id "TP_MEC_SRV_UEINFOLOOK_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -71,7 +71,7 @@ Package MEC_SRV_UEINFOLOOK { Test Purpose { - TP Id "TP_MEC_SRV_UEINFOLOOK_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_BR" Test objective "Check that the IUT responds with an error when @@ -117,7 +117,7 @@ Package MEC_SRV_UEINFOLOOK { Test Purpose { - TP Id "TP_MEC_SRV_UEINFOLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_NF" Test objective "Check that the IUT responds with an error when -- GitLab From c34451ef6bade27feac6cf2e6f217844a8fae1b3 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 10 May 2021 12:08:42 +0200 Subject: [PATCH 15/63] Rename TP name in MEC012 --- .../RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 2 +- .../SRV/RNIS/RnisAllSubscriptions_BV.tplan2 | 6 ++--- .../SRV/RNIS/RnisNotifications.tplan2 | 22 +++++++++---------- .../SRV/RNIS/RnisQuery_BO_BI.tplan2 | 18 +++++++-------- .../{ => MEC012}/SRV/RNIS/RnisQuery_BV.tplan2 | 10 ++++----- .../RnisSpecificSubscription_BO_BI.tplan2 | 10 ++++----- .../RNIS/RnisSpecificSubscription_BV.tplan2 | 8 +++---- 7 files changed, 38 insertions(+), 38 deletions(-) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 (98%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 (97%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisNotifications.tplan2 (96%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisQuery_BO_BI.tplan2 (92%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisQuery_BV.tplan2 (96%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 (93%) rename Test Purposes/{ => MEC012}/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 (96%) diff --git a/Test Purposes/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 similarity index 98% rename from Test Purposes/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index e60a0bb..defab03 100644 --- a/Test Purposes/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_SUBS_BI { +Package MEC_MEC012_SRV_RNIS_SUBS_BI { import all from MEC_Common; diff --git a/Test Purposes/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 similarity index 97% rename from Test Purposes/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 index 209ae20..7f452db 100644 --- a/Test Purposes/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_SUBS_BV { +Package MEC_MEC012_SRV_RNIS_SUBS_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_011_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_011_OK" Test objective "Check that the RNIS service sends the list of links to the relevant RNIS subscriptions when requested. @@ -72,7 +72,7 @@ Package MEC012_SRV_RNIS_SUBS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_012_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_012_OK" Test objective "Check that the RNIS service creates a new RNIS subscription. diff --git a/Test Purposes/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 similarity index 96% rename from Test Purposes/SRV/RNIS/RnisNotifications.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index d2632ab..4ab265d 100644 --- a/Test Purposes/SRV/RNIS/RnisNotifications.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_NOTIF_BV { +Package MEC_MEC012_SRV_RNIS_NOTIF_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_001_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_001_OK" Test objective "Check that the RNIS service sends an RNIS notification about cell change @@ -64,7 +64,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_002_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_002_OK" Test objective "Check that the RNIS service sends an RNIS notification about RAB establishment @@ -112,7 +112,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_003_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_003_OK" Test objective "Check that the RNIS service sends an RNIS notification about RAB modification @@ -154,7 +154,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_004_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_004_OK" Test objective "Check that the RNIS service sends an RNIS notification about RAB release @@ -197,7 +197,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_005_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_005_OK" Test objective "Check that the RNIS service sends an RNIS notification about UE measurement report @@ -241,7 +241,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_006_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_006_OK" Test objective "Check that the RNIS service sends an RNIS notification about UE timing advance @@ -284,7 +284,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_007_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_007_OK" Test objective "Check that the RNIS service sends an RNIS notification about UE carrier aggregation reconfiguration @@ -327,7 +327,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_008_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_008_OK" Test objective "Check that the RNIS service sends an RNIS notification about S1-U bearer @@ -372,7 +372,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_009_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_009_OK" Test objective "Check that the RNIS service sends an RNIS notification about 5G NR UE measurement report @@ -411,7 +411,7 @@ Package MEC012_SRV_RNIS_NOTIF_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_010_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_010_OK" Test objective "Check that the RNIS service sends an RNIS notification on subscription expiration diff --git a/Test Purposes/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 similarity index 92% rename from Test Purposes/SRV/RNIS/RnisQuery_BO_BI.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index 3b7fec6..f7423a6 100644 --- a/Test Purposes/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_QUERY_BI { +Package MEC_MEC012_SRV_RNIS_QUERY_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_016_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC012_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" @@ -56,7 +56,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_016_NF" // Negative test: 404 Not found + TP Id "TP_MEC_MEC012_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" @@ -94,7 +94,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_017_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC012_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" @@ -130,7 +130,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_017_NF" // Negative test: 404 Not found + TP Id "TP_MEC_MEC012_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" @@ -166,7 +166,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_018_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC012_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" @@ -205,7 +205,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_018_NF" // Negative test: 404 Not found + TP Id "TP_MEC_MEC012_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" @@ -243,7 +243,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_019_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC012_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" @@ -281,7 +281,7 @@ Package MEC012_SRV_RNIS_QUERY_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_019_NF" // Negative test: 404 Not found + TP Id "TP_MEC_MEC012_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" diff --git a/Test Purposes/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 similarity index 96% rename from Test Purposes/SRV/RNIS/RnisQuery_BV.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 index b6af8b3..de54518 100644 --- a/Test Purposes/SRV/RNIS/RnisQuery_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_QUERY_BV { +Package MEC_MEC012_SRV_RNIS_QUERY_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_016_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_016_OK" Test objective "Check that the RNIS service returns the RAB information when requested" @@ -67,7 +67,7 @@ Package MEC012_SRV_RNIS_QUERY_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_017_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_017_OK" Test objective "Check that the RNIS service returns the PLMN information when requested" @@ -109,7 +109,7 @@ Package MEC012_SRV_RNIS_QUERY_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_018_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_018_OK" Test objective "Check that the RNIS service returns the S1 bearer information" @@ -157,7 +157,7 @@ Package MEC012_SRV_RNIS_QUERY_BV { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_019_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_019_OK" Test objective "Check that the RNIS service returns the L2 measurements information" diff --git a/Test Purposes/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 similarity index 93% rename from Test Purposes/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index c7c959e..11166e7 100644 --- a/Test Purposes/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 @@ -12,12 +12,12 @@ 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 MEC012_SRV_RNIS_SUB_BI { +Package MEC_MEC012_SRV_RNIS_SUB_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_013_NF" // Negative test: 404 Not Found + TP Id "TP_MEC_MEC012_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" @@ -53,7 +53,7 @@ Package MEC012_SRV_RNIS_SUB_BI { Test Purpose { // Negative test: 400 Bad request - TP Id "TP_MEC_SRV_RNIS_014_BR" + TP Id "TP_MEC_MEC012_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" @@ -97,7 +97,7 @@ Package MEC012_SRV_RNIS_SUB_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_014_NF" // Negative test: 404 Not Found + TP Id "TP_MEC_MEC012_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" @@ -133,7 +133,7 @@ Package MEC012_SRV_RNIS_SUB_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_015_NF" // Negative test: 404 Not Found + TP Id "TP_MEC_MEC012_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" diff --git a/Test Purposes/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 similarity index 96% rename from Test Purposes/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 index 9125017..8a253a6 100644 --- a/Test Purposes/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC012_SRV_RNIS_SUB_BV { +Package MEC_MEC012_SRV_RNIS_SUB_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_013_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_013_OK" Test objective "Check that the RNIS service sends a RNIS subscription when requested. @@ -74,7 +74,7 @@ Package MEC012_SRV_RNIS_SUB_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_014_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_014_OK" Test objective "Check that the RNIS service modifies a RNIS subscription when requested" @@ -130,7 +130,7 @@ Package MEC012_SRV_RNIS_SUB_BV { Test Purpose { - TP Id "TP_MEC_SRV_RNIS_015_OK" + TP Id "TP_MEC_MEC012_SRV_RNIS_015_OK" Test objective "Check that the RNIS service deletes a RNIS subscription when requested" -- GitLab From 54d628379ffa831678083c035b117f228e589606 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 10 May 2021 14:11:27 +0200 Subject: [PATCH 16/63] Rename TP name in MEC009, MEC010p2 MEC011 MEC014 MEC021 & MEC029 --- .../MEX/ANY/CommonUnauthFailure_BI.tplan2 | 6 +- .../{ => MEC010p2}/MEO/GRANT/Grant_BI.tplan2 | 6 +- .../{ => MEC010p2}/MEO/GRANT/Grant_BV.tplan2 | 10 ++-- .../MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 22 ++++---- .../MEO/PKGM/AppPkgMgt_BV.tplan2 | 24 ++++---- .../MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 16 +++--- .../MEPM/PKGM/AppPkgMgt_BV.tplan2 | 20 +++---- .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 28 +++++----- .../MEX/LCM/AppInstanceMgmt_BV.tplan2 | 28 +++++----- .../LCM/AppInstanceMgmt_notifications.tplan2 | 4 +- .../SRV/APPSAQ/PlatAppServices.tplan2 | 24 ++++---- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 18 +++--- .../{ => MEC011}/SRV/DNS/PlatDnsRules.tplan2 | 16 +++--- .../{ => MEC011}/SRV/SAQ/PlatServices.tplan2 | 10 ++-- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 18 +++--- .../{ => MEC011}/SRV/TIME/PlatTiming.tplan2 | 6 +- .../SRV/TRAF/PlatTrafficRules.tplan2 | 16 +++--- .../SRV/TRANS/PlatTransport.tplan2 | 4 +- .../SRV/UETAG/PlatUeIdentity.tplan2 | 16 +++--- .../{ => MEC021}/SRV/AMS/Ams_BO_BI.tplan2 | 28 +++++----- .../{ => MEC021}/SRV/AMS/Ams_BV.tplan2 | 30 +++++----- .../SRV/FAIS/PlatFixedAcessInfo.tplan2 | 56 +++++++++---------- 22 files changed, 203 insertions(+), 203 deletions(-) rename Test Purposes/{ => MEC009}/MEX/ANY/CommonUnauthFailure_BI.tplan2 (91%) rename Test Purposes/{ => MEC010p2}/MEO/GRANT/Grant_BI.tplan2 (93%) rename Test Purposes/{ => MEC010p2}/MEO/GRANT/Grant_BV.tplan2 (96%) rename Test Purposes/{ => MEC010p2}/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 (94%) rename Test Purposes/{ => MEC010p2}/MEO/PKGM/AppPkgMgt_BV.tplan2 (96%) rename Test Purposes/{ => MEC010p2}/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 (93%) rename Test Purposes/{ => MEC010p2}/MEPM/PKGM/AppPkgMgt_BV.tplan2 (96%) rename Test Purposes/{ => MEC010p2}/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 (95%) rename Test Purposes/{ => MEC010p2}/MEX/LCM/AppInstanceMgmt_BV.tplan2 (96%) rename Test Purposes/{ => MEC010p2}/MEX/LCM/AppInstanceMgmt_notifications.tplan2 (96%) rename Test Purposes/{ => MEC011}/SRV/APPSAQ/PlatAppServices.tplan2 (97%) rename Test Purposes/{ => MEC011}/SRV/APPSUB/PlatAppSubscriptions.tplan2 (96%) rename Test Purposes/{ => MEC011}/SRV/DNS/PlatDnsRules.tplan2 (97%) rename Test Purposes/{ => MEC011}/SRV/SAQ/PlatServices.tplan2 (96%) rename Test Purposes/{ => MEC011}/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 (96%) rename Test Purposes/{ => MEC011}/SRV/TIME/PlatTiming.tplan2 (96%) rename Test Purposes/{ => MEC011}/SRV/TRAF/PlatTrafficRules.tplan2 (97%) rename Test Purposes/{ => MEC011}/SRV/TRANS/PlatTransport.tplan2 (96%) rename Test Purposes/{ => MEC014}/SRV/UETAG/PlatUeIdentity.tplan2 (97%) rename Test Purposes/{ => MEC021}/SRV/AMS/Ams_BO_BI.tplan2 (94%) rename Test Purposes/{ => MEC021}/SRV/AMS/Ams_BV.tplan2 (96%) rename Test Purposes/{ => MEC029}/SRV/FAIS/PlatFixedAcessInfo.tplan2 (96%) diff --git a/Test Purposes/MEX/ANY/CommonUnauthFailure_BI.tplan2 b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 similarity index 91% rename from Test Purposes/MEX/ANY/CommonUnauthFailure_BI.tplan2 rename to Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 index 93a5dc9..85497a8 100644 --- a/Test Purposes/MEX/ANY/CommonUnauthFailure_BI.tplan2 +++ b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 @@ -12,13 +12,13 @@ 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 MEC_MEX_ANY_BI { +Package MEC_MEC009_MEX_ANY_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEX_ANY_001_NT" //Negative case 401 Unauthorized - no token + TP Id "TP_MEC_MEC009_MEX_ANY_001_NT" //Negative case 401 Unauthorized - no token Test objective "Check that a MEC API provider responds with an error when it receives @@ -49,7 +49,7 @@ Package MEC_MEX_ANY_BI { } Test Purpose { - TP Id "TP_MEC_MEX_ANY_001_WT" //Negative case 401 Unauthorized - wrong token + TP Id "TP_MEC_MEC009_MEX_ANY_001_WT" //Negative case 401 Unauthorized - wrong token Test objective "Check that a MEC API provider responds with an error when it receives diff --git a/Test Purposes/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 similarity index 93% rename from Test Purposes/MEO/GRANT/Grant_BI.tplan2 rename to Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index 96d0239..dccd254 100644 --- a/Test Purposes/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -12,12 +12,12 @@ 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_GRANT_BI { +Package MEC_MEC010p2_MEO_GRANT_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEO_GRANT_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives @@ -60,7 +60,7 @@ Package MEC010_2_MEO_GRANT_BI { } Test Purpose { - TP Id "TP_MEC_MEO_GRANT_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives diff --git a/Test Purposes/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 similarity index 96% rename from Test Purposes/MEO/GRANT/Grant_BV.tplan2 rename to Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index 7d7a4f4..e7668cf 100644 --- a/Test Purposes/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -12,13 +12,13 @@ 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_GRANT_BV { +Package MEC_MEC010p2_MEO_GRANT_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEO_GRANT_001_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" Test objective "Check that MEO sends a synchronous grant response when a grant request is requested" @@ -71,7 +71,7 @@ Package MEC010_2_MEO_GRANT_BV { Test Purpose { - TP Id "TP_MEC_MEO_GRANT_002_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" Test objective "Check that MEO sends a asynchronous grant response when a grant request is requested" @@ -118,7 +118,7 @@ Package MEC010_2_MEO_GRANT_BV { Test Purpose { - TP Id "TP_MEC_MEO_GRANT_003_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK" Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" @@ -156,7 +156,7 @@ Package MEC010_2_MEO_GRANT_BV { Test Purpose { - TP Id "TP_MEC_MEO_GRANT_004_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" diff --git a/Test Purposes/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 similarity index 94% rename from Test Purposes/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 rename to Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index a17cac9..e09f42c 100644 --- a/Test Purposes/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -12,13 +12,13 @@ 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_PKGM_BO_BI { +Package MEC_MEC010p2_MEO_PKGM_BO_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEO_PKGM_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_BR" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives @@ -54,7 +54,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_002_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_BR" //Negative case 400 Bad request Test objective "Check that MEO responds with an error when it receives @@ -88,7 +88,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives @@ -121,7 +121,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_004_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_004_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives @@ -154,7 +154,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_005_BR" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_BR" Test objective "Check that MEO sends an error when it receives a malformed request to modify @@ -189,7 +189,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { Test Purpose { - TP Id "TP_MEC_MEO_PKGM_005_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives @@ -223,7 +223,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_006_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives @@ -256,7 +256,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_007_BR" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_BR" Test objective "Check that MEO service sends an error when it receives a @@ -295,7 +295,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_009_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF" Test objective "Check that MEO service sends an error when it receives a query for a subscription on AppPackages @@ -331,7 +331,7 @@ Package MEC010_2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_010_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_NF" Test objective "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages diff --git a/Test Purposes/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 similarity index 96% rename from Test Purposes/MEO/PKGM/AppPkgMgt_BV.tplan2 rename to Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 4955b93..28f81b8 100644 --- a/Test Purposes/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -12,14 +12,14 @@ 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_PKGM_BV { +Package MEC_MEC010p2_MEO_PKGM_BV { import all from MEC_Common; //All APP packages Test Purpose { - TP Id "TP_MEC_MEO_PKGM_001_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_OK" Test objective "Check that MEO creates a new App Package when requested" @@ -75,7 +75,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_002_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_OK" Test objective "Check that MEO returns the list of App Packages when requested" @@ -126,7 +126,7 @@ Package MEC010_2_MEO_PKGM_BV { //Individual APP packages Test Purpose { - TP Id "TP_MEC_MEO_PKGM_003_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_OK" Test objective "Check that MEO returns the an App Package when requested" @@ -173,7 +173,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_004_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_004_OK" Test objective "Check that MEO deletes an App Package when requested" @@ -205,7 +205,7 @@ Package MEC010_2_MEO_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEO_PKGM_005_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_OK" Test objective "Check that MEO changes the status of an App Package from INITIAL_OP_STATE with an operation of type OPERATION_VALUE when requested, with the following possible combinations: @@ -242,7 +242,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_006_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_OK" Test objective "Check that MEO returns the Application Descriptor contained on a on-boarded Application Package when requested" @@ -279,7 +279,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK" Test objective "Check that MEO service sends a Application Package Subscription when requested" @@ -325,7 +325,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_008_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_OK" Test objective "Check that MEO service returns the list of Application Package Subscriptions when requested" @@ -372,7 +372,7 @@ Package MEC010_2_MEO_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEO_PKGM_009_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_OK" Test objective "Check that MEO service returns an Application Package Subscription when requested" @@ -416,7 +416,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_010_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_OK" Test objective "Check that MEO service deletes an Application Package Subscription when requested" @@ -450,7 +450,7 @@ Package MEC010_2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEO_PKGM_011_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_OK" Test objective "Check that the MEO service sends a application package notification diff --git a/Test Purposes/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 similarity index 93% rename from Test Purposes/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 rename to Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index 1585f30..a0a1ee9 100644 --- a/Test Purposes/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -12,13 +12,13 @@ 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_MEPM_MM3_PKGM_BI { +Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_BR" //Negative case 400 Bad request Test objective "Check that MEPM responds with an error when it receives @@ -53,7 +53,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_002_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_NF" //Negative case 404 Not found Test objective "Check that MEPM responds with an error when it receives @@ -88,7 +88,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_NF" //Negative case 404 Not found Test objective "Check that MEPM responds with an error when it receives @@ -122,7 +122,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_004_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_NF" //Negative case 404 Not found Test objective "Check that MEPM responds with an error when it receives @@ -156,7 +156,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_005_BR" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_BR" Test objective "Check that MEPM service sends an error when it receives a @@ -195,7 +195,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_007_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_NF" Test objective "Check that MEPM service sends an error when it receives a query for a subscription on AppPackages @@ -231,7 +231,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_008_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_NF" Test objective "Check that MEPM service sends an error when it receives a deletion request for a subscription on AppPackages diff --git a/Test Purposes/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 similarity index 96% rename from Test Purposes/MEPM/PKGM/AppPkgMgt_BV.tplan2 rename to Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index a15870f..7126841 100644 --- a/Test Purposes/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -12,13 +12,13 @@ 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_MEPM_MM3_PKGM_BV { +Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_001_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_OK" Test objective "Check that MEPM returns the list of App Packages when requested" @@ -69,7 +69,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { //Individual APP packages Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_002_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_OK" Test objective "Check that MEPM returns the an App Package when requested" @@ -116,7 +116,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_003_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_OK" Test objective "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" @@ -153,7 +153,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_004_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_OK" Test objective "Check that MEPM returns the content on a on-boarded Application Package when requested" @@ -190,7 +190,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_005_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_OK" Test objective "Check that MEPM service returns an application package subscription when requested" @@ -236,7 +236,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_006_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_OK" Test objective "Check that MEPM service returns the list of Application Package Subscriptions when requested" @@ -283,7 +283,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_OK" Test objective "Check that MEPM service returns an Application Package Subscription when requested" @@ -327,7 +327,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_008_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_OK" Test objective "Check that MEPM service deletes an Application Package Subscription when requested" @@ -361,7 +361,7 @@ Package MEC010_2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEPM_PKGM_009_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" Test objective "Check that the MEPM service sends a application package notification diff --git a/Test Purposes/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 similarity index 95% rename from Test Purposes/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 rename to Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index afaf3f3..3119c0d 100644 --- a/Test Purposes/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -12,12 +12,12 @@ 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 { +Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEX_LCM_001_BR" + TP Id "TP_MEC_MEC010p2_MEX_LCM_001_BR" Test objective "Check that MEC API providersends an error when it receives a malformed request @@ -57,7 +57,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_MEX_LCM_003_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEC010p2_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" @@ -92,7 +92,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_MEX_LCM_004_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEC010p2_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" @@ -126,7 +126,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_MEX_LCM_005_BR" + TP Id "TP_MEC_MEC010p2_MEX_LCM_005_BR" Test objective "Check that MEC API providerservice fails to instantiate an App Instance when it receives a malformed request" @@ -166,7 +166,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_005_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEC010p2_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 @@ -200,7 +200,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_006_BR" + TP Id "TP_MEC_MEC010p2_MEX_LCM_006_BR" Test objective "Check that MEC API providerservice fails to terminate an App Instance when it receives a malformed request" @@ -240,7 +240,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_006_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEC010p2_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 @@ -274,7 +274,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_007_BR" + TP Id "TP_MEC_MEC010p2_MEX_LCM_007_BR" Test objective "Check that MEC API providerservice fails to operate on an App Instance when it receives a malformed request" @@ -313,7 +313,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_007_NF" // Wrong APP_INSTANCE_ID + TP Id "TP_MEC_MEC010p2_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 @@ -347,7 +347,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_009_NF" + TP Id "TP_MEC_MEC010p2_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" @@ -382,7 +382,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { Test Purpose { - TP Id "TP_MEC_MEX_LCM_010_BR" + TP Id "TP_MEC_MEC010p2_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" @@ -422,7 +422,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_012_NF" + TP Id "TP_MEC_MEC010p2_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" @@ -455,7 +455,7 @@ Package MEC010_2_APP_INSTANCE_LCM_BI { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_013_NF" + TP Id "TP_MEC_MEC010p2_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" diff --git a/Test Purposes/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 similarity index 96% rename from Test Purposes/MEX/LCM/AppInstanceMgmt_BV.tplan2 rename to Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index 77f7d35..352c7a1 100644 --- a/Test Purposes/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -12,7 +12,7 @@ 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 { +Package MEC_MEC010p2_APP_INSTANCE_LCM { import all from MEC_Common; @@ -20,7 +20,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_001_OK" // It applies for MM1 and MM3 on MEC10-2 + TP Id "TP_MEC_MEC010p2_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" @@ -72,7 +72,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_002_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_002_OK" Test objective "Check that MEC API provider retrieves the list of App instances when requested" @@ -120,7 +120,7 @@ Package MEC010_2_APP_INSTANCE_LCM { } Test Purpose { - TP Id "TP_MEC_MEX_LCM_003_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_003_OK" Test objective "Check that MEC API provider retrieves an App Package when requested" @@ -168,7 +168,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_004_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_004_OK" Test objective "Check that MEC API provider service deletes an App Instance when requested" @@ -201,7 +201,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_005_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_005_OK" Test objective "Check that MEC API provider service instantiates an App Instance when requested" @@ -246,7 +246,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_006_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_006_OK" Test objective "Check that MEC API provider service terminates an App Instance when requested" @@ -291,7 +291,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_007_OK" + TP Id "TP_MEC_MEC010p2_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. @@ -340,7 +340,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_008_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_008_OK" Test objective "Check that MEC API provider service retrieves info about LCM Operation Occurrency on App Instances when requested" @@ -390,7 +390,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_009_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_009_OK" Test objective "Check that MEC API provider service retrieves info about LCM Operation Occurrency on an App Instance when requested" @@ -438,7 +438,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_010_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_010_OK" Test objective "Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can @@ -490,7 +490,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_011_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_011_OK" Test objective "Check that MEC API provider service sends the list of LCM Subscriptions when requested" @@ -541,7 +541,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_012_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_012_OK" Test objective "Check that MEC API provider service sends the information about an existing LCM subscription when requested" @@ -591,7 +591,7 @@ Package MEC010_2_APP_INSTANCE_LCM { Test Purpose { - TP Id "TP_MEC_MEX_LCM_013_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" Test objective "Check that MEC API provider service delete an existing LCM Subscription when requested" diff --git a/Test Purposes/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 similarity index 96% rename from Test Purposes/MEX/LCM/AppInstanceMgmt_notifications.tplan2 rename to Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 index d611a9f..d99f007 100644 --- a/Test Purposes/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 @@ -12,12 +12,12 @@ 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 { +Package MEC_MEC010p2_LCM_NOTIF { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEX_LCM_014_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" Test objective "Check that MEC API provider sends a notification to the subscriber when an application lcm change event occurs" diff --git a/Test Purposes/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 similarity index 97% rename from Test Purposes/SRV/APPSAQ/PlatAppServices.tplan2 rename to Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 3d1336d..5b05e7e 100644 --- a/Test Purposes/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_APPSAQ { +Package MEC_MEC011_SRV_APPSAQ { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_APPSAQ { * Application Service Availability Query (APPSAQ) */ Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_001_OK" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_001_OK" Test objective "Check that the IUT responds with a list of available MEC services @@ -68,7 +68,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_001_BR" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_001_BR" Test objective "Check that the IUT responds with an error when @@ -112,7 +112,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_002_OK" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_OK" Test objective "Check that the IUT notifies the authorised relevant (subscribed) application @@ -180,7 +180,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_002_BR" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_BR" Test objective "Check that the IUT responds with an error when @@ -228,7 +228,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_002_NF" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_NF" Test objective "Check that the IUT responds with an error when @@ -275,7 +275,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_003_OK" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_003_OK" Test objective "Check that the IUT responds with the information on a specific service @@ -324,7 +324,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_003_NF" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_003_NF" Test objective "Check that the IUT responds with an error when @@ -367,7 +367,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_004_OK" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_OK" Test objective "Check that the IUT updates a service information for a given @@ -423,7 +423,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_004_BR" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_BR" Test objective "Check that the IUT responds with an error when @@ -473,7 +473,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_004_NF" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_NF" Test objective "Check that the IUT responds with an error when @@ -522,7 +522,7 @@ Package MEC_SRV_APPSAQ { Test Purpose { - TP Id "TP_MEC_SRV_APPSAQ_004_PF" + TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_PF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 similarity index 96% rename from Test Purposes/SRV/APPSUB/PlatAppSubscriptions.tplan2 rename to Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index 37bb9cb..80f126c 100644 --- a/Test Purposes/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_APPSUB { +Package MEC_MEC011_SRV_APPSUB { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_APPSUB { * Application Subscriptions (APPSUB) */ Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_001_OK" + TP Id "TP_MEC_MEC011_SRV_APPSUB_001_OK" Test objective "Check that the IUT responds with a list of subscriptions for notifications @@ -66,7 +66,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_001_NF" + TP Id "TP_MEC_MEC011_SRV_APPSUB_001_NF" Test objective "Check that the IUT responds with an error when @@ -106,7 +106,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_002_OK" + TP Id "TP_MEC_MEC011_SRV_APPSUB_002_OK" Test objective "Check that the IUT acknowledges the subscription by a MEC Application @@ -160,7 +160,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_002_BR" + TP Id "TP_MEC_MEC011_SRV_APPSUB_002_BR" Test objective "Check that the IUT responds with an error when @@ -207,7 +207,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_003_OK" + TP Id "TP_MEC_MEC011_SRV_APPSUB_003_OK" Test objective "Check that the IUT responds with the information on a specific subscription @@ -256,7 +256,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_003_NF" + TP Id "TP_MEC_MEC011_SRV_APPSUB_003_NF" Test objective "Check that the IUT responds with an error when @@ -300,7 +300,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_004_OK" + TP Id "TP_MEC_MEC011_SRV_APPSUB_004_OK" Test objective "Check that the IUT acknowledges the unsubscribe from service availability event notifications @@ -343,7 +343,7 @@ Package MEC_SRV_APPSUB { Test Purpose { - TP Id "TP_MEC_SRV_APPSUB_004_NF" + TP Id "TP_MEC_MEC011_SRV_APPSUB_004_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 similarity index 97% rename from Test Purposes/SRV/DNS/PlatDnsRules.tplan2 rename to Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 556a363..babc16f 100644 --- a/Test Purposes/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_DNS { +Package MEC_MEC011_SRV_DNS { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_DNS { * DNS rules (DNS) */ Test Purpose { - TP Id "TP_MEC_SRV_DNS_001_OK" + TP Id "TP_MEC_MEC011_SRV_DNS_001_OK" Test objective "Check that the IUT responds with a list of active DNS rules @@ -68,7 +68,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_002_OK" + TP Id "TP_MEC_MEC011_SRV_DNS_002_OK" Test objective "Check that the IUT responds with the information on a specific DNS rule @@ -117,7 +117,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_002_NF" + TP Id "TP_MEC_MEC011_SRV_DNS_002_NF" Test objective "Check that the IUT responds with an error when @@ -160,7 +160,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_003_OK" + TP Id "TP_MEC_MEC011_SRV_DNS_003_OK" Test objective "Check that the IUT updates a specific DNS rule @@ -215,7 +215,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_003_BR" + TP Id "TP_MEC_MEC011_SRV_DNS_003_BR" Test objective "Check that the IUT responds with an error when @@ -264,7 +264,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_003_NF" + TP Id "TP_MEC_MEC011_SRV_DNS_003_NF" Test objective "Check that the IUT responds with an error when @@ -312,7 +312,7 @@ Package MEC_SRV_DNS { Test Purpose { - TP Id "TP_MEC_SRV_DNS_003_PF" + TP Id "TP_MEC_MEC011_SRV_DNS_003_PF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 similarity index 96% rename from Test Purposes/SRV/SAQ/PlatServices.tplan2 rename to Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index a0c34da..d9c9847 100644 --- a/Test Purposes/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_SAQ { +Package MEC_MEC011_SRV_SAQ { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_SAQ { * Service Availability Query (SAQ) */ Test Purpose { - TP Id "TP_MEC_SRV_SAQ_001_OK" + TP Id "TP_MEC_MEC011_SRV_SAQ_001_OK" Test objective "Check that the IUT responds with a list of available MEC services @@ -65,7 +65,7 @@ Package MEC_SRV_SAQ { Test Purpose { - TP Id "TP_MEC_SRV_SAQ_001_BR" + TP Id "TP_MEC_MEC011_SRV_SAQ_001_BR" Test objective "Check that the IUT responds with an error when @@ -106,7 +106,7 @@ Package MEC_SRV_SAQ { Test Purpose { - TP Id "TP_MEC_SRV_SAQ_002_OK" + TP Id "TP_MEC_MEC011_SRV_SAQ_002_OK" Test objective "Check that the IUT responds with the information on a specific service @@ -152,7 +152,7 @@ Package MEC_SRV_SAQ { Test Purpose { - TP Id "TP_MEC_SRV_SAQ_002_NF" + TP Id "TP_MEC_MEC011_SRV_SAQ_002_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 similarity index 96% rename from Test Purposes/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 rename to Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index 47d30ef..eea8b0b 100644 --- a/Test Purposes/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_SRVSUB { +Package MEC_MEC011_SRV_SRVSUB { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_SRVSUB { * Service Subscriptions (SRVSUB) */ Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_001_OK" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_001_OK" Test objective "Check that the IUT responds with a list of subscriptions for notifications @@ -66,7 +66,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_001_NF" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_001_NF" Test objective "Check that the IUT responds with an error when @@ -106,7 +106,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_002_OK" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_002_OK" Test objective "Check that the IUT acknowledges the subscription by a MEC Application @@ -160,7 +160,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_002_BR" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_002_BR" Test objective "Check that the IUT responds with an error when @@ -207,7 +207,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_003_OK" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_003_OK" Test objective "Check that the IUT responds with the information on a specific subscription @@ -256,7 +256,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_003_NF" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_003_NF" Test objective "Check that the IUT responds with an error when @@ -300,7 +300,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_004_OK" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_004_OK" Test objective "Check that the IUT acknowledges the unsubscribe from service availability event notifications @@ -343,7 +343,7 @@ Package MEC_SRV_SRVSUB { Test Purpose { - TP Id "TP_MEC_SRV_SRVSUB_004_NF" + TP Id "TP_MEC_MEC011_SRV_SRVSUB_004_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 similarity index 96% rename from Test Purposes/SRV/TIME/PlatTiming.tplan2 rename to Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 279b738..86a8e35 100644 --- a/Test Purposes/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_TIME { +Package MEC_MEC011_SRV_TIME { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_TIME { * Timing capabilities (TIME) */ Test Purpose { - TP Id "TP_MEC_SRV_TIME_001_OK" + TP Id "TP_MEC_MEC011_SRV_TIME_001_OK" Test objective "Check that the IUT responds with timing capabilities @@ -63,7 +63,7 @@ Package MEC_SRV_TIME { Test Purpose { - TP Id "TP_MEC_SRV_TIME_002_OK" + TP Id "TP_MEC_MEC011_SRV_TIME_002_OK" Test objective "Check that the IUT responds with current time diff --git a/Test Purposes/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 similarity index 97% rename from Test Purposes/SRV/TRAF/PlatTrafficRules.tplan2 rename to Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index b12f9d2..c5d6a0e 100644 --- a/Test Purposes/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_TRAF { +Package MEC_MEC011_SRV_TRAF { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_TRAF { * Traffic rules (TRAF) */ Test Purpose { - TP Id "TP_MEC_SRV_TRAF_001_OK" + TP Id "TP_MEC_MEC011_SRV_TRAF_001_OK" Test objective "Check that the IUT responds with a list of available traffic rules @@ -68,7 +68,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_001_NF" + TP Id "TP_MEC_MEC011_SRV_TRAF_001_NF" Test objective "Check that the IUT responds with an error when @@ -108,7 +108,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_002_OK" + TP Id "TP_MEC_MEC011_SRV_TRAF_002_OK" Test objective "Check that the IUT responds with the information on a specific traffic rule @@ -157,7 +157,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_003_OK" + TP Id "TP_MEC_MEC011_SRV_TRAF_003_OK" Test objective "Check that the IUT updates a specific traffic rule @@ -213,7 +213,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_003_BR" + TP Id "TP_MEC_MEC011_SRV_TRAF_003_BR" Test objective "Check that the IUT responds with an error when @@ -263,7 +263,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_003_NF" + TP Id "TP_MEC_MEC011_SRV_TRAF_003_NF" Test objective "Check that the IUT responds with an error when @@ -312,7 +312,7 @@ Package MEC_SRV_TRAF { Test Purpose { - TP Id "TP_MEC_SRV_TRAF_003_PF" + TP Id "TP_MEC_MEC011_SRV_TRAF_003_PF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 similarity index 96% rename from Test Purposes/SRV/TRANS/PlatTransport.tplan2 rename to Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index c614362..9d68374 100644 --- a/Test Purposes/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_TRANS { +Package MEC_MEC011_SRV_TRANS { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_TRANS { * Transport (TRANS) */ Test Purpose { - TP Id "TP_MEC_SRV_TRANS_001_OK" + TP Id "TP_MEC_MEC011_SRV_TRANS_001_OK" Test objective "Check that the IUT responds with a list of available transports diff --git a/Test Purposes/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 similarity index 97% rename from Test Purposes/SRV/UETAG/PlatUeIdentity.tplan2 rename to Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index 731169e..4c4de77 100644 --- a/Test Purposes/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_UETAG { +Package MEC_MEC014_SRV_UETAG { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_SRV_UETAG { */ Test Purpose { - TP Id "TP_MEC_SRV_UETAG_001_OK" + TP Id "TP_MEC_MEC014_SRV_UETAG_001_OK" Test objective "Check that the IUT responds with the information on a UE Identity tag @@ -76,7 +76,7 @@ Package MEC_SRV_UETAG { Test Purpose { - TP Id "TP_MEC_SRV_UETAG_001_BR" + TP Id "TP_MEC_MEC014_SRV_UETAG_001_BR" Test objective "Check that the IUT responds with an error when @@ -120,7 +120,7 @@ Package MEC_SRV_UETAG { Test Purpose { - TP Id "TP_MEC_SRV_UETAG_001_NF" + TP Id "TP_MEC_MEC014_SRV_UETAG_001_NF" Test objective "Check that the IUT responds with an error when @@ -164,7 +164,7 @@ Package MEC_SRV_UETAG { Test Purpose { - TP Id "TP_MEC_SRV_UETAG_002_OK" + TP Id "TP_MEC_MEC014_SRV_UETAG_002_OK" Test objective "Check that the IUT registers a tag (representing a UE) or a list of tags @@ -225,7 +225,7 @@ Package MEC_SRV_UETAG { Test Purpose { - TP Id "TP_MEC_SRV_UETAG_002_BR" + TP Id "TP_MEC_MEC014_SRV_UETAG_002_BR" Test objective "Check that the IUT responds with an error when @@ -275,7 +275,7 @@ x if_match indicating value PROPER_ETAG, Test Purpose { - TP Id "TP_MEC_SRV_UETAG_002_NF" + TP Id "TP_MEC_MEC014_SRV_UETAG_002_NF" Test objective "Check that the IUT responds with an error when @@ -325,7 +325,7 @@ x if_match indicating value PROPER_ETAG, Test Purpose { - TP Id "TP_MEC_SRV_UETAG_002_PF" + TP Id "TP_MEC_MEC014_SRV_UETAG_002_PF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 similarity index 94% rename from Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 rename to Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index a4de91e..aa4fd55 100644 --- a/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC021_SRV_AMS_BO_BI { +Package MEC_MEC021_SRV_AMS_BO_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_AMS_001_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC021_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" @@ -53,7 +53,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_002_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC021_SRV_AMS_002_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed request to create a new application mobility service" @@ -90,7 +90,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_003_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" @@ -128,7 +128,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_004_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription @@ -167,7 +167,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_005_NF" // Negative test: 404 Not Found + TP Id "TP_MEC_MEC021_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" @@ -201,7 +201,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_006_NF" // Negative test: 404 Not Found + TP Id "TP_MEC_MEC021_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" @@ -235,7 +235,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_007_BR" // Negative test: 400 Bad request + TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" // Negative test: 400 Bad request Test objective "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription. @@ -280,7 +280,7 @@ Package MEC021_SRV_AMS_BO_BI { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_007_NF" // Negative test: 404 Not found + TP Id "TP_MEC_MEC021_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" @@ -315,7 +315,7 @@ Package MEC021_SRV_AMS_BO_BI { Test Purpose { - TP Id "TP_MEC_SRV_AMS_011_NF" + TP Id "TP_MEC_MEC021_SRV_AMS_011_NF" Test objective "Check that the AMS service sends an error when receives a query about a not existing individual application mobility service" @@ -350,7 +350,7 @@ Package MEC021_SRV_AMS_BO_BI { Test Purpose { - TP Id "TP_MEC_SRV_AMS_012_NF" + TP Id "TP_MEC_MEC021_SRV_AMS_012_NF" Test objective "Check that the AMS service sends an error when receives a request to modify a not existing individual application mobility service" @@ -390,7 +390,7 @@ Package MEC021_SRV_AMS_BO_BI { Test Purpose { - TP Id "TP_MEC_SRV_AMS_012_BR" + TP Id "TP_MEC_MEC021_SRV_AMS_012_BR" Test objective "Check that the AMS service sends an error when receives a request to modify a individual application mobility service using bad parameters" @@ -430,7 +430,7 @@ Package MEC021_SRV_AMS_BO_BI { Test Purpose { - TP Id "TP_MEC_SRV_AMS_013_NF" + TP Id "TP_MEC_MEC021_SRV_AMS_013_NF" Test objective "Check that the AMS service sends an error when is requested to delete the resource @@ -465,7 +465,7 @@ Package MEC021_SRV_AMS_BO_BI { Test Purpose { - TP Id "TP_MEC_SRV_AMS_014_NF" + TP Id "TP_MEC_MEC021_SRV_AMS_014_NF" Test objective "Check that the AMS service send an error when is requested to deregister a not existent individual application mobility service" diff --git a/Test Purposes/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 similarity index 96% rename from Test Purposes/SRV/AMS/Ams_BV.tplan2 rename to Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 index 0564442..c1c8be2 100644 --- a/Test Purposes/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 @@ -13,12 +13,12 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC021_SRV_AMS_BV { +Package MEC_MEC021_SRV_AMS_BV { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_AMS_001_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK" Test objective "Check that the AMS service returns information about the registered application mobility services when requested" @@ -61,7 +61,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_002_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_002_OK" Test objective "Check that the AMS service creates a new application mobility services when requested" @@ -108,7 +108,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_003_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_003_OK" Test objective "Check that the AMS service returns information about the available subscriptions when requested. @@ -160,7 +160,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_004_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_004_OK" Test objective "Check that the AMS service creates a notification subscriptions when requested. @@ -205,7 +205,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_005_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_005_OK" Test objective "Check that the AMS service returns information about a given subscription when requested. @@ -250,7 +250,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_006_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_006_OK" Test objective "Check that the AMS service deletes a given subscription when requested" @@ -284,7 +284,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_007_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_007_OK" Test objective "Check that the AMS service modifies a given subscription when requested. @@ -335,7 +335,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_008_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_008_OK" Test objective "Check that the AMS service sends an AMS notification about a mobility procedure @@ -378,7 +378,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_009_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_009_OK" Test objective "Check that the AMS service sends an AMS notification about adjacent application instances @@ -420,7 +420,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_010_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_010_OK" Test objective "Check that the AMS service sends an AMS notification on subscription expiration @@ -462,7 +462,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_011_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_011_OK" Test objective "Check that the AMS service returns information about this individual application mobility service" @@ -500,7 +500,7 @@ Package MEC021_SRV_AMS_BV { } Test Purpose { - TP Id "TP_MEC_SRV_AMS_012_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_012_OK" Test objective "Check that the AMS service modifies the individual application mobility service when requested" @@ -550,7 +550,7 @@ Package MEC021_SRV_AMS_BV { Test Purpose { - TP Id "TP_MEC_SRV_AMS_013_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_013_OK" Test objective "Check that the AMS service de-register the individual application mobility service and delete the resource @@ -584,7 +584,7 @@ Package MEC021_SRV_AMS_BV { Test Purpose { - TP Id "TP_MEC_SRV_AMS_014_OK" + TP Id "TP_MEC_MEC021_SRV_AMS_014_OK" Test objective "Check that the AMS service deregister an individual application mobility service on expiry of the timer associated with the service" diff --git a/Test Purposes/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 similarity index 96% rename from Test Purposes/SRV/FAIS/PlatFixedAcessInfo.tplan2 rename to Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index 7b35d8d..9230344 100644 --- a/Test Purposes/SRV/FAIS/PlatFixedAcessInfo.tplan2 +++ b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_SRV_FAIS { +Package MEC_MEC029_SRV_FAIS { import all from MEC_Common; @@ -22,7 +22,7 @@ Package MEC_SRV_FAIS { * Fixed Access Information Service (FAIS) */ Test Purpose { - TP Id "TP_MEC_SRV_FAIS_001_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_001_OK" Test objective "Check that the IUT responds with the current status of the fixed access information @@ -62,7 +62,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_001_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_001_BR" Test objective "Check that the IUT responds with an error when @@ -103,7 +103,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_001_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_001_NF" Test objective "Check that the IUT responds with an error when @@ -143,7 +143,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_002_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_002_OK" Test objective "Check that the IUT responds with the current status of the device information @@ -183,7 +183,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_002_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_002_BR" Test objective "Check that the IUT responds with an error when @@ -224,7 +224,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_002_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_002_NF" Test objective "Check that the IUT responds with an error when @@ -264,7 +264,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_003_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_003_OK" Test objective "Check that the IUT responds with the current status of the cable line information @@ -304,7 +304,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_003_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_003_BR" Test objective "Check that the IUT responds with an error when @@ -345,7 +345,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_003_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_003_NF" Test objective "Check that the IUT responds with an error when @@ -385,7 +385,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_004_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_004_OK" Test objective "Check that the IUT responds with the current status of the optical network information @@ -425,7 +425,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_004_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_004_BR" Test objective "Check that the IUT responds with an error when @@ -466,7 +466,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_004_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_004_NF" Test objective "Check that the IUT responds with an error when @@ -506,7 +506,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_005_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_005_OK" Test objective "Check that the IUT responds with the subscriptions for fixed access information notifications @@ -546,7 +546,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_005_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_005_BR" Test objective "Check that the IUT responds with an error when @@ -587,7 +587,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_005_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_005_NF" Test objective "Check that the IUT responds with an error when @@ -627,7 +627,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_006_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_006_OK" Test objective "Check that the IUT acknowledges the subscription by a MEC Application @@ -687,7 +687,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_006_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_006_BR" Test objective "Check that the IUT responds with an error when @@ -731,7 +731,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_007_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_007_OK" Test objective "Check that the IUT responds with the information on a given subscription @@ -776,7 +776,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_007_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_007_NF" Test objective "Check that the IUT responds with an error when @@ -816,7 +816,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_008_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_008_OK" Test objective "Check that the IUT updates an existing subscription @@ -867,7 +867,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_008_BR" + TP Id "TP_MEC_MEC029_SRV_FAIS_008_BR" Test objective "Check that the IUT responds with an error when @@ -914,7 +914,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_008_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_008_NF" Test objective "Check that the IUT responds with an error when @@ -960,7 +960,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_008_PF" + TP Id "TP_MEC_MEC029_SRV_FAIS_008_PF" Test objective "Check that the IUT responds with an error when @@ -1006,7 +1006,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_009_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_009_OK" Test objective "Check that the IUT cancels an existing subscription @@ -1046,7 +1046,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_009_NF" + TP Id "TP_MEC_MEC029_SRV_FAIS_009_NF" Test objective "Check that the IUT responds with an error when @@ -1086,7 +1086,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_010_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_010_OK" Test objective "Check that the IUT sends notification on expiry of Fixed Access Information event subscription @@ -1149,7 +1149,7 @@ Package MEC_SRV_FAIS { Test Purpose { - TP Id "TP_MEC_SRV_FAIS_011_OK" + TP Id "TP_MEC_MEC029_SRV_FAIS_011_OK" Test objective "Check that the IUT sends notifications on Fixed Access Information events -- GitLab From 18edc0cf119587ccb6f0c5f46b86b712aac62f70 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 10 May 2021 14:41:06 +0200 Subject: [PATCH 17/63] Update copyrights --- Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 2 +- Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 | 2 +- Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 | 2 +- .../MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 | 2 +- Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 2 +- Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 | 2 +- Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 | 2 +- Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 | 2 +- Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 2 +- Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 | 2 +- Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 2 +- Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 | 2 +- Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 2 +- Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 | 2 +- Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 | 2 +- Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 2 +- Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 | 2 +- .../MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 | 2 +- .../MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 | 2 +- Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 2 +- .../MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 | 2 +- Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 2 +- .../MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 | 2 +- .../MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 | 2 +- Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 2 +- .../MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 | 2 +- .../MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 | 2 +- Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 | 2 +- Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 2 +- Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 2 +- .../MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 | 2 +- Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 | 2 +- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 2 +- Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 | 2 +- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 2 +- Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 | 2 +- Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 | 2 +- Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 | 2 +- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 2 +- Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 | 2 +- 46 files changed, 46 insertions(+), 46 deletions(-) diff --git a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 index 85497a8..9a9d62c 100644 --- a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 +++ b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index dccd254..94a4660 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index e7668cf..fa19064 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index e09f42c..551a6de 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 28f81b8..3151d3b 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index a0a1ee9..c4dd8a6 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index 7126841..ce5f38a 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index 3119c0d..da91e19 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index 352c7a1..52d3c9c 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 index d99f007..6768c72 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 5b05e7e..4f506bb 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index 80f126c..4fb7d93 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index babc16f..33700cb 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index d9c9847..b19d35c 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index eea8b0b..35a14b4 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 86a8e35..cf4b565 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index c5d6a0e..7e343fb 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index 9d68374..b4edb8d 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index defab03..5a3e0f2 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 index 7f452db..f5cac85 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index 4ab265d..796eb29 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index f7423a6..e9094f2 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 index de54518..0ec0b3f 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index 11166e7..20c04d9 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 @@ -1,5 +1,5 @@ /** -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 index 8a253a6..04b1443 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 @@ -1,5 +1,5 @@ /** -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index a2d35f2..dc5be84 100644 --- a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 7c67397..67fa22e 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 83a6c18..9f91cff 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 883b0da..b43eacf 100644 --- a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 index c77252f..7b79dea 100644 --- a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index 538878e..ec8c43f 100644 --- a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index dfa6ba0..9130b99 100644 --- a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 index b5ef06e..68ddce9 100644 --- a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 index c6e5b6b..16169d9 100644 --- a/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index 4c4de77..a77fe61 100644 --- a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index 440a7bf..1e40f1a 100644 --- a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index 310df80..c5bd5ea 100644 --- a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 index f379ef4..e8ff97d 100644 --- a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index aa4fd55..503b303 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 index c1c8be2..4478c5e 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index b704cae..5340901 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index c773612..1cfba58 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 9080d42..ce10279 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index e0b5a84..77f90b7 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 4c69616..293a8b5 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 diff --git a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index 9230344..72a86c2 100644 --- a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 +++ b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018. +Copyright (c) ETSI 2018-2021. 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 -- GitLab From 76841d2913568a093441d866a7cdb7464dadf7c0 Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 7 May 2021 16:29:13 +0200 Subject: [PATCH 18/63] Fix on TPs of MEC028. --- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 5 +++++ Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 | 5 +++++ Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 7 +++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index 5340901..d37348e 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -144,7 +144,12 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" + body containing + ProblemDetails containing + details set to "Invalid filtering: macIdentifer does not exist." + ; ; + ; to the MEC_APP entity } } diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index 77f90b7..71d8774 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -146,7 +146,12 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" + body containing + ProblemDetails containing + details set to "Invalid filtering: mac does not exist." + ; ; + ; to the MEC_APP entity } } diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 293a8b5..289db83 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -56,9 +56,7 @@ Package MEC_MEC028_SRV_WAI { assocStaSubscription containing _link containing self containing - LinkType containing href set to "uri/to/subscription" - ; ; ; ; @@ -243,13 +241,14 @@ Package MEC_MEC028_SRV_WAI { // MEC 028, clause 7.5.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" + status_code set to "201 Created", + Location set to LOCATION, body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, self containing - LinkType set to "/wai/v1/subscriptions/{SUBSCRIPTION_ID}", + href set to "/wai/v1/subscriptions/{SUBSCRIPTION_ID}", apId containing macId set to MAC_ID ; -- GitLab From d2c7ac5cba7059c38a8c382c83c5de6ca7b29151 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 12 May 2021 18:56:03 +0200 Subject: [PATCH 19/63] Review TPs for MEC015 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 562 +++++++++++++++--- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 123 +--- 2 files changed, 500 insertions(+), 185 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index 7ef8c01..71cc522 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -34,7 +34,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing + the MEC_APP entity having a mtsCapabilityInfo containing appInsId indicating value APP_INSTANCE_ID ; } @@ -83,12 +83,15 @@ Package MEC_MEC015_SRV_MTS { ; } - // MEC 015 Clause 6.2.6 + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mts/v1/mts_sessions" + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_id indicating value APP_INSTANCE_ID + ; ; from the MEC_APP entity } @@ -97,13 +100,273 @@ Package MEC_MEC015_SRV_MTS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - oneOrmore mtsList containing - mts containing - appInsId set to APP_INSTANCE_ID - ; + oneOrmore mtsSessionInfo + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_002_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + // Wrong parameter name should trigger an error response. + app_id indicating value APP_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_002_NF" + + Test objective + "Check that the IUT responds with an error when + a request with an unknown resource URI is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.1", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a bwInfo containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_sessions", + query_parameters containing + app_id indicating value APP_UNKNOWN_INSTANCE_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 Not Found" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { // FIXME Use variant here + TP Id "TP_MEC_MEC015_SRV_MTS_003_OK_01" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 0, // Low Cost + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { // FIXME Use variant here + TP Id "TP_MEC_MEC015_SRV_MTS_003_OK_02" + + Test objective + "Check that the IUT responds with a registration and initialisation approval + for the requested MTS session requirements sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v1/mts_sessions", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 1, // SESSION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 4, // QoS + trafficDirection indicating value "00" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_003_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a app_instance containing + appInsId indicating value APP_INSTANCE_ID + ; + } + + // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "bwm/v0/mts_sessions", // Invalid version number + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" ; ; ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 9.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad request" + ; to the MEC_APP entity } } @@ -111,7 +374,7 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_003_OK" + TP Id "TP_MEC_MEC015_SRV_MTS_004_OK" Test objective "Check that the IUT responds with a configured Multi-access Traffic Steering @@ -127,18 +390,18 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID + sessioId indicating value SESSION_ID ; } - // MEC 015 Clause 6.2.6 + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - app_instance_id indicating value APP_INSTANCE_ID + sessionId indicating value SESSION_ID ; ; from the MEC_APP entity @@ -148,8 +411,13 @@ Package MEC_MEC015_SRV_MTS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - mtsList containing - appInsId set to APP_INSTANCE_ID + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" ; ; ; @@ -160,7 +428,7 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_003_BR" + TP Id "TP_MEC_MEC015_SRV_MTS_004_BR" Test objective "Check that the IUT responds with an error when @@ -176,11 +444,11 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID + sessionId indicating value SESSION_ID ; } - // MEC 015 Clause 6.2.6 + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { @@ -188,7 +456,7 @@ Package MEC_MEC015_SRV_MTS { uri indicating value "mts/v1/mts_sessions", query_parameters containing // Wrong parameter name should trigger an error response. - app_id indicating value APP_INSTANCE_ID + sessionId indicating value SESSION_ID ; ; from the MEC_APP entity @@ -205,7 +473,7 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_003_NF" + TP Id "TP_MEC_MEC015_SRV_MTS_004_NF" Test objective "Check that the IUT responds with an error when @@ -221,18 +489,18 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID + sessionId indicating value SESSION_ID ; } - // MEC 015 Clause 6.2.6 + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - app_id indicating value APP_UNKNOWN_INSTANCE_ID + sessionId indicating value SESSION_ID ; ; from the MEC_APP entity @@ -249,13 +517,13 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_004_OK_01" + TP Id "TP_MEC_MEC015_SRV_MTS_005_OK" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" + "Check that the IUT updates the information about an individual MTS session + when commanded by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.2", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -264,23 +532,25 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID ; } - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v1/mts_sessions", + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters containing + sessionId indicating value SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, + qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" ; @@ -289,19 +559,18 @@ Package MEC_MEC015_SRV_MTS { from the MEC_APP entity } then { - // MEC 015 Clause 9.5.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + status_code set to "200 OK" body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value 0, // Low Cost + qosD indicating value SOME_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, trafficDirection indicating value "00" - ; + ; ; ; to the MEC_APP entity @@ -311,13 +580,13 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_004_OK_02" + TP Id "TP_MEC_MEC015_SRV_MTS_005_BR" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.2", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -326,24 +595,27 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID ; } - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v1/mts_sessions", + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + // Wrong parameter name should trigger an error response. + query_parameters containing + sessionId indicating value SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 1, // SESSION_SPECIFIC_BW_ALLOCATION + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, - mtsMode indicating value 4, // QoS + qosD indicating value SOME_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, trafficDirection indicating value "00" ; ; @@ -351,19 +623,18 @@ Package MEC_MEC015_SRV_MTS { from the MEC_APP entity } then { - // MEC 015 Clause 9.5.3.2 + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + status_code set to "200 OK" body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, + qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" - ; + ; ; ; to the MEC_APP entity @@ -373,13 +644,13 @@ Package MEC_MEC015_SRV_MTS { Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_004_NF" + TP Id "TP_MEC_MEC015_SRV_MTS_005_NF" Test objective "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" + a request with an unknown resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.2", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" Config Id Config_MEC_1 @@ -388,23 +659,25 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID ; } - // MEC 015 Clause 7.2.5 and Table 7.2.5-1: Elements of MtsSessionInfo + // MEC 015 Clause 7.2.5 Expected behaviour ensure that { when { - the IUT entity receives a vPOST containing - uri indicating value "bwm/v0/mts_sessions", // Invalid version number + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters containing + sessionId indicating value UNKNOWN_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_BW_ALLOCATION + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_ALLOCATION, + qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" ; @@ -413,7 +686,160 @@ Package MEC_MEC015_SRV_MTS { from the MEC_APP entity } then { - // MEC 015 Clause 9.5.3.2 + // MEC 015 Clause 8.3.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_006_OK" + + Test objective + "Check that the IUT deregisters a MTS session + when commanded by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID + ; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters containing + sessionId indicating value SESSION_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00" + ; + ; + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_006_BR" + + Test objective + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID + ; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters containing + // Wrong parameter name should trigger an error response. + sessionId indicating value SESSION_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_006_NF" + + Test objective + "Check that the IUT responds with an error when + a request with an unknown resource URI is sent by a MEC Application" + + Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.3", + "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a mtsSessionInfo containing + sessionId indicating value SESSION_ID + ; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters containing + sessionId indicating value UNKNOWN_SESSION_ID + ; + ; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index efc3107..144d9be 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -38,8 +38,7 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing - appInsId indicating value APP_INSTANCE_ID + the MEC_APP entity having a oneOrmore bwInfo ; } @@ -250,7 +249,7 @@ Package MEC_MEC015_SRV_TM { // MEC 015 Clause 8.4.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", - Location set to LOCATION, + Location set to BW_ALLOCATION_ID, body containing bwInfo containing appInsId set to APP_INSTANCE_ID, @@ -310,7 +309,7 @@ Package MEC_MEC015_SRV_TM { // MEC 015 Clause 8.4.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", - Location set to LOCATION, + Location indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId set to APP_INSTANCE_ID, @@ -512,7 +511,7 @@ Package MEC_MEC015_SRV_TM { then { // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" + status_code set to "200 OK", body containing bwInfo containing appInsId set to APP_INSTANCE_ID @@ -599,11 +598,10 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, + fixedAllocation indicating value SOME_NEW_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; ; @@ -658,7 +656,6 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -710,7 +707,6 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -732,58 +728,6 @@ Package MEC_MEC015_SRV_TM { } - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_TM_005_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2", - "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015 Clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value INVALID_ETAG, - body containing - bwInfo containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 8.3.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { TP Id "TP_MEC_MEC015_SRV_TM_006_OK" @@ -815,9 +759,8 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing - bwInfo containing + bwInfoDeltas containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value SOME_DIRECTION @@ -874,7 +817,6 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -927,7 +869,6 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -949,58 +890,6 @@ Package MEC_MEC015_SRV_TM { } - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_TM_006_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3", - "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015 Clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value INVALID_ETAG, - body containing - bwInfo containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 8.3.3.3 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { TP Id "TP_MEC_MEC015_SRV_TM_007_OK" -- GitLab From 8ebc3b1f71034cecf654b024408f4437ec92e7fd Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 13 May 2021 16:31:04 +0200 Subject: [PATCH 20/63] Review TPs for MEC015 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 137 +++++++----------- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 88 +++++------ 2 files changed, 97 insertions(+), 128 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index 71cc522..3299e23 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -34,9 +34,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a mtsCapabilityInfo containing - appInsId indicating value APP_INSTANCE_ID - ; + the MEC_APP entity having a mtsCapabilityInfo } // MEC 015 Clause 7.2.4 @@ -78,7 +76,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing + the MEC_APP entity having a mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID ; } @@ -90,7 +88,7 @@ Package MEC_MEC015_SRV_MTS { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - app_id indicating value APP_INSTANCE_ID + appInsId indicating value APP_INSTANCE_ID ; ; from the MEC_APP entity @@ -125,7 +123,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing + the MEC_APP entity having a mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID ; } @@ -138,7 +136,7 @@ Package MEC_MEC015_SRV_MTS { uri indicating value "mts/v1/mts_sessions", query_parameters containing // Wrong parameter name should trigger an error response. - app_id indicating value APP_INSTANCE_ID + appInsId indicating value APP_INSTANCE_ID ; ; from the MEC_APP entity @@ -170,7 +168,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity having a bwInfo containing + the MEC_APP entity having a mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID ; } @@ -182,7 +180,7 @@ Package MEC_MEC015_SRV_MTS { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - app_id indicating value APP_UNKNOWN_INSTANCE_ID + appInsId indicating value APP_UNKNOWN_INSTANCE_ID ; ; from the MEC_APP entity @@ -190,7 +188,7 @@ Package MEC_MEC015_SRV_MTS { then { // MEC 015 Clause 9.5.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 Not Found" + status_code set to "404 Not Found" ; to the MEC_APP entity } @@ -202,8 +200,8 @@ Package MEC_MEC015_SRV_MTS { TP Id "TP_MEC_MEC015_SRV_MTS_003_OK_01" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" + "Check that the IUT creates a MTS session + when queried by a MEC Application" Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" @@ -229,7 +227,6 @@ Package MEC_MEC015_SRV_MTS { mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -242,12 +239,11 @@ Package MEC_MEC015_SRV_MTS { // MEC 015 Clause 9.5.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + Location set to MTS_SESSION_ID, // MEC 015 Table 9.5.3.2-2 body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, - flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value 0, // Low Cost trafficDirection indicating value "00" @@ -264,8 +260,8 @@ Package MEC_MEC015_SRV_MTS { TP Id "TP_MEC_MEC015_SRV_MTS_003_OK_02" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested MTS session requirements sent by a MEC Application" + "Check that the IUT creates a MTS session + when queried by a MEC Application" Reference "ETSI GS MEC 015 V2.1.1, clause 9.5.3.2", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" @@ -290,7 +286,7 @@ Package MEC_MEC015_SRV_MTS { body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 1, // SESSION_SPECIFIC_MTS_ALLOCATION + requestType indicating value 1, // FLOW_SPECIFIC_MTS_ALLOCATION flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value 4, // QoS @@ -304,11 +300,11 @@ Package MEC_MEC015_SRV_MTS { // MEC 015 Clause 9.5.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", - Location set to LOCATION, // MEC 015 Table 9.5.3.2-2 + Location set to MTS_SESSION_ID, // MEC 015 Table 9.5.3.2-2 body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + requestType indicating value FLOW_SPECIFIC_MTS_ALLOCATION, flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value LOW_COST, @@ -348,12 +344,13 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "bwm/v0/mts_sessions", // Invalid version number + uri indicating value "bwm/v1/mts_sessions", // Invalid version number body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, + requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION + // MEC015 Clause 7.2.5 Type: MtsSessionInfo Table 7.2.5-1: Elements of MtsSessionInfo, flowFilter shall be omit + flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -377,7 +374,7 @@ Package MEC_MEC015_SRV_MTS { TP Id "TP_MEC_MEC015_SRV_MTS_004_OK" Test objective - "Check that the IUT responds with a configured Multi-access Traffic Steering + "Check that the IUT responds with a configured Multi-access Traffic Steering session when queried by a MEC Application" Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.1", @@ -390,7 +387,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - sessioId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -401,7 +398,7 @@ Package MEC_MEC015_SRV_MTS { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; ; from the MEC_APP entity @@ -414,7 +411,6 @@ Package MEC_MEC015_SRV_MTS { mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -444,7 +440,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -456,7 +452,7 @@ Package MEC_MEC015_SRV_MTS { uri indicating value "mts/v1/mts_sessions", query_parameters containing // Wrong parameter name should trigger an error response. - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; ; from the MEC_APP entity @@ -489,7 +485,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having an mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -500,7 +496,7 @@ Package MEC_MEC015_SRV_MTS { the IUT entity receives a vGET containing uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_UNKNOWN_SESSION_ID ; ; from the MEC_APP entity @@ -508,7 +504,7 @@ Package MEC_MEC015_SRV_MTS { then { // MEC 015 Clause 9.4.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" + status_code set to "404 Not Found" ; to the MEC_APP entity } @@ -533,7 +529,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -542,14 +538,13 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value SESSION_ID, + sessionId indicating value MTS_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -566,7 +561,6 @@ Package MEC_MEC015_SRV_MTS { mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -596,7 +590,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -605,15 +599,16 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", // Wrong parameter name should trigger an error response. query_parameters containing - sessionId indicating value SESSION_ID, + sessionId indicating value MTS_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, + // MEC015 Clause 7.2.5 Type: MtsSessionInfo Table 7.2.5-1: Elements of MtsSessionInfo, flowFilter shall be omit + flowFilter indicating value FLOW_FILTER, qosD indicating value SOME_NEW_ALLOCATION, mtsMode indicating value LOW_COST, trafficDirection indicating value "00" @@ -625,17 +620,7 @@ Package MEC_MEC015_SRV_MTS { then { // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_NEW_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; + status_code set to "400 Bad Request" ; to the MEC_APP entity } @@ -660,7 +645,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -669,9 +654,9 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value UNKNOWN_SESSION_ID, + sessionId indicating value MTS_UNKNOWN_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -688,17 +673,7 @@ Package MEC_MEC015_SRV_MTS { then { // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_NEW_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; + status_code set to "404 Not Found" ; to the MEC_APP entity } @@ -723,7 +698,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -732,9 +707,9 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; ; from the MEC_APP entity @@ -742,17 +717,7 @@ Package MEC_MEC015_SRV_MTS { then { // MEC 015 Clause 8.3.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - flowFilter indicating value FLOW_FILTER, - qosD indicating value SOME_NEW_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; + status_code set to "204 No Content" ; to the MEC_APP entity } @@ -777,7 +742,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -786,10 +751,10 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", query_parameters containing // Wrong parameter name should trigger an error response. - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; ; from the MEC_APP entity @@ -822,7 +787,7 @@ Package MEC_MEC015_SRV_MTS { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value SESSION_ID + sessionId indicating value MTS_SESSION_ID ; } @@ -831,9 +796,9 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions/{sessionId}", + uri indicating value "mts/v1/mts_sessions", query_parameters containing - sessionId indicating value UNKNOWN_SESSION_ID + sessionId indicating value MTS_UNKNOWN_SESSION_ID ; ; from the MEC_APP entity diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 144d9be..404e40c 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -147,7 +147,7 @@ Package MEC_MEC015_SRV_TM { uri indicating value "bwm/v1/bw_allocations", query_parameters containing // Wrong parameter name should trigger an error response. - app_id indicating value APP_INSTANCE_ID + appInsId indicating value APP_INSTANCE_ID ; ; from the MEC_APP entity @@ -190,7 +190,7 @@ Package MEC_MEC015_SRV_TM { the IUT entity receives a vGET containing uri indicating value "bwm/v1/bw_allocations", query_parameters containing - app_id indicating value APP_UNKNOWN_INSTANCE_ID + appInsId indicating value APP_UNKNOWN_INSTANCE_ID ; ; from the MEC_APP entity @@ -210,8 +210,7 @@ Package MEC_MEC015_SRV_TM { TP Id "TP_MEC_MEC015_SRV_TM_003_OK_01" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested bandwidth requirements sent by a MEC Application" + "Check that the IUT responds with a information about a list of bandwidthAllocation resources" Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" @@ -270,8 +269,7 @@ Package MEC_MEC015_SRV_TM { TP Id "TP_MEC_MEC015_SRV_TM_003_OK_02" Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested bandwidth requirements sent by a MEC Application" + "Check that the IUT responds with a information about a list of bandwidthAllocation resources" Reference "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4", "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" @@ -493,9 +491,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID ; } @@ -504,7 +499,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}" + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID + ; ; from the MEC_APP entity } @@ -542,9 +540,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_ALLOCATION_ID ; } @@ -553,7 +548,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}" + uri indicating value "bwm/v1/bw_allocations" + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID + ; ; from the MEC_APP entity } @@ -586,9 +584,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID ; } @@ -597,7 +592,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID + ; body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -644,9 +642,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID ; } @@ -655,7 +650,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID + ; body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -695,9 +693,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_ALLOCATION_ID ; } @@ -706,7 +701,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID + ; body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -747,9 +745,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID ; } @@ -758,7 +753,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID + ; body containing bwInfoDeltas containing appInsId indicating value APP_INSTANCE_ID, @@ -805,9 +803,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID ; } @@ -816,7 +811,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID + ; body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -857,9 +855,6 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a app_instance containing appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_ALLOCATION_ID ; } @@ -868,7 +863,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}", + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID + ; body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -907,7 +905,7 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID + allocationId indicating value BW_ALLOCATION_ID ; } @@ -916,7 +914,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}" + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID + ; ; from the MEC_APP entity } @@ -948,7 +949,7 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_ALLOCATION_ID + allocationId indicating value BW_ALLOCATION_ID ; } @@ -957,7 +958,10 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations/{NON_EXISTENT_ALLOCATION_ID}" + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID + ; ; from the MEC_APP entity } -- GitLab From 3d46e45eca2971ed368b87191ee2f9d5b860c015 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 18 May 2021 15:17:13 +0200 Subject: [PATCH 21/63] Fix: https://forge.etsi.org/rep/mec/gs032p2-test-purposes/issues/6 - Syntax errors on different TPs of MEC030 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 62 +------- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 37 ++--- .../MEC030/SRV/V2XInformationService.tplan2 | 145 ++++-------------- 3 files changed, 47 insertions(+), 197 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index 3299e23..eac628e 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -538,9 +538,8 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - sessionId indicating value MTS_SESSION_ID, + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters indicating value MTS_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -599,10 +598,9 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions", + uri indicating value "mts/v1/mts_sessions/{sessionId}", // Wrong parameter name should trigger an error response. - query_parameters containing - sessionId indicating value MTS_SESSION_ID, + query_parameters indicating value MTS_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -654,9 +652,8 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - sessionId indicating value MTS_UNKNOWN_SESSION_ID, + uri indicating value "mts/v1/mts_sessions/{sessionId}", + query_parameters indicating value MTS_UNKNOWN_SESSION_ID, body containing mtsSessionInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -725,51 +722,6 @@ Package MEC_MEC015_SRV_MTS { } - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_006_BR" - - Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V2.1.1, clause 9.4.3.3", - "https://forge.etsi.org/rep/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a mtsSessionInfo containing - sessionId indicating value MTS_SESSION_ID - ; - } - - // MEC 015 Clause 7.2.5 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions", - query_parameters containing - // Wrong parameter name should trigger an error response. - sessionId indicating value MTS_SESSION_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 8.3.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { TP Id "TP_MEC_MEC015_SRV_MTS_006_NF" @@ -796,7 +748,7 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions", + uri indicating value "mts/v1/mts_sessions/{sessionId}", query_parameters containing sessionId indicating value MTS_UNKNOWN_SESSION_ID ; diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 404e40c..1277ddf 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -39,7 +39,6 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a oneOrmore bwInfo - ; } // MEC 015 Clause 6.2.5 @@ -592,10 +591,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -650,10 +647,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -701,10 +696,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_UNKNOWN_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_UNKNOWN_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -753,10 +746,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_ALLOCATION_ID, body containing bwInfoDeltas containing appInsId indicating value APP_INSTANCE_ID, @@ -811,10 +802,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -863,10 +852,8 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations", - query_parameters containing - allocationId indicating value BW_UNKNOWN_ALLOCATION_ID - ; + uri indicating value "bwm/v1/bw_allocations/{allocationId}", + query_parameters indicating value BW_UNKNOWN_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 7cbb42c..448bbeb 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -843,7 +843,7 @@ Package MEC_MEC030_SRV_V2X { subscriptionType indicating value "ProvChgUuUniSubscription" ; ; - ; + ;; ; to the MEC_APP entity } @@ -897,7 +897,7 @@ Package MEC_MEC030_SRV_V2X { subscriptionType indicating value "ProvChgUuMbmsSubscription" ; ; - ; + ;; ; to the MEC_APP entity } @@ -952,7 +952,7 @@ Package MEC_MEC030_SRV_V2X { ; ; ; - ; + ;; to the MEC_APP entity } } @@ -1005,7 +1005,7 @@ Package MEC_MEC030_SRV_V2X { subscriptionType indicating value "V2xMsgSubscription" ; ; - ; + ;; ; to the MEC_APP entity } @@ -1045,7 +1045,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing // Wrong parameter name should trigger an error response. prov_chg_uu_uni indicating value PROV_CHG_UU_UNI - ; + ; ; from the MEC_APP entity } @@ -1060,52 +1060,6 @@ Package MEC_MEC030_SRV_V2X { } - Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_006_NF" - - Test objective - "Check that the IUT responds with an error when - a request with incorrect parameters is sent by a MEC Application" - - Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.1", - "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a provChgUuUniSubscription containing - _links containing - self indicating value HREF_UU_UNI_SUBSCRIPTION - ; - ; - } - - // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", - query_parameters containing - prov_chg_uu_uni indicating value PROV_CHG_UU_UNI_UNKNOWN - ; - ; - from the MEC_APP entity - } - then { - // MEC 030 Clause 7.8.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_01" @@ -1150,7 +1104,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1202,7 +1156,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_MBMS_CRITERIA, _links indicating value HREF_UU_MBMS_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1254,7 +1208,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_PC5_CRITERIA, _links indicating value HREF_PC5_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1306,7 +1260,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_V2XMSG_CRITERIA, _links indicating value HREF_V2XMSG_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1404,7 +1358,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1458,7 +1412,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_MBMS_CRITERIA, _links indicating value HREF_UU_MBMS_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1497,7 +1451,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/subscriptions", query_parameters containing subscriptionId indicating value HREF_PC5_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1512,7 +1466,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_PC5_CRITERIA, _links indicating value HREF_PC5_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1551,7 +1505,7 @@ Package MEC_MEC030_SRV_V2X { uri indicating value "vis/v1/subscriptions", query_parameters containing subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1566,7 +1520,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_V2XMSG_CRITERIA, _links indicating value HREF_V2XMSG_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1606,7 +1560,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing // Wrong parameter name should trigger an error response. subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1653,7 +1607,7 @@ Package MEC_MEC030_SRV_V2X { query_parameters containing // Wrong parameter name should trigger an error response. subscriptionId indicating value HREF_V2XMSG_UNKNOWN_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1696,7 +1650,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{SubscriptionId}", body containing provChgUuUniSubscription containing subscriptionType indicating value "ProvChgUuUniSubscription", @@ -1719,7 +1673,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1755,7 +1709,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{SubscriptionId}", body containing provChgUuMbmsSubscription containing subscriptionType indicating value "ProvChgUuMbmsSubscription", @@ -1778,7 +1732,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_MBMS_CRITERIA_1, _links indicating value HREF_UU_MBMS_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1814,7 +1768,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{SubscriptionId}", body containing provChgPc5Subscription containing subscriptionType indicating value "ProvChgPc5Subscription", @@ -1837,7 +1791,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_PC5_CRITERIA_1, _links indicating value HREF_PC5_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1873,7 +1827,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{SubscriptionId}", body containing v2xMsgSubscription containing subscriptionType indicating value "ProvChgPc5Subscription", @@ -1896,7 +1850,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_V2XMSG_CRITERIA_1, _links indicating value HREF_V2XMSG_SUBSCRIPTION ; - ; + ;; ; to the MEC_APP entity } @@ -1932,7 +1886,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{SubscriptionId}", body containing provChgUuUniSubscription containing subscriptionType indicating value "InvalidProvChgUuUniSubscription", // Invalid SubscriptionType @@ -1983,13 +1937,13 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{InvalidSubscriptionId}", body containing provChgUuUniSubscription containing subscriptionType indicating value "ProvChgUuUniSubscription", callbackReference indicating value CALLBACK_UU_UNI_SUBSCRIPTION, filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, - _links indicating value HREF_UU_UNI_UNKNOWN_SUBSCRIPTION + _links indicating value HREF_UU_UNI_SUBSCRIPTION ; ; ; @@ -2178,49 +2132,6 @@ Package MEC_MEC030_SRV_V2X { } - Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_010_BR" - - Test objective - "Check that the IUT responds with the requested of updating subscription - when queried by a MEC Application" - - Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", - "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a provChgUuUniSubscription containing - _links containing - self indicating value HREF_UU_UNI_SUBSCRIPTION - ; - ; - } - - // MEC 030 Clause 6.3.2 Type: ProvChgUuUniSubscription - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 030 Clause 7.9.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { TP Id "TP_MEC_MEC030_SRV_V2X_010_NF" -- GitLab From e909c89b6ebcd62fa58fb079fb360c3f27984595 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 19 May 2021 08:46:21 +0200 Subject: [PATCH 22/63] Fix: https://forge.etsi.org/rep/groups/mec/-/issues - #7, #8, #9 & #10 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 2 +- .../MEC030/SRV/V2XInformationService.tplan2 | 114 ++++++++++-------- 2 files changed, 65 insertions(+), 51 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index eac628e..9fbc09d 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -704,7 +704,7 @@ Package MEC_MEC015_SRV_MTS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mts/v1/mts_sessions", + uri indicating value "mts/v1/mts_sessions/{sessionId}", query_parameters containing sessionId indicating value MTS_SESSION_ID ; diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 448bbeb..8a70fef 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -35,7 +35,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_ECGI ; } @@ -82,7 +82,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_LATITUDE ; } @@ -129,7 +129,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_LATITUDE ; } @@ -174,7 +174,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuUnicastProvisioningInfo containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_ECGI ; } @@ -218,7 +218,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a uuMbmsProvisioningInfo containing - location_info indicating value LOCATION_INFO + location_info indicating value LOCATION_INFO_ECGI ; } @@ -825,10 +825,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", - query_parameters containing - prov_chg_uu_uni indicating value PROV_CHG_UU_UNI - ; + uri indicating value "vis/v1/subscriptions/prov_chg_uu_uni" ; from the MEC_APP entity } @@ -879,10 +876,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", - query_parameters containing - prov_chg_uu_mbms indicating value PROV_CHG_UU_MBMS - ; + uri indicating value "vis/v1/subscriptions/prov_chg_uu_mbms" ; from the MEC_APP entity } @@ -933,10 +927,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", - query_parameters containing - prov_chg_pc5 indicating value PROV_CHG_PC5 - ; + uri indicating value "vis/v1/subscriptions/prov_chg_pc5" ; from the MEC_APP entity } @@ -987,10 +978,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", - query_parameters containing - v2x_msg indicating value V2X_MSG - ; + uri indicating value "vis/v1/subscriptions/v2x_msg" ; from the MEC_APP entity } @@ -1041,10 +1029,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionType}", query_parameters containing // Wrong parameter name should trigger an error response. - prov_chg_uu_uni indicating value PROV_CHG_UU_UNI + subscriptionType indicating value ANY ; ; from the MEC_APP entity @@ -1340,10 +1328,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1394,10 +1382,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing subscriptionId indicating value HREF_UU_MBMS_SUBSCRIPTION - ; + ; ; from the MEC_APP entity } @@ -1448,7 +1436,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing subscriptionId indicating value HREF_PC5_SUBSCRIPTION ; @@ -1502,7 +1490,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION ; @@ -1556,9 +1544,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing - // Wrong parameter name should trigger an error response. + // Wrong parameter name should trigger an error response. subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION ; ; @@ -1603,9 +1591,8 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "vis/v1/subscriptions", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", query_parameters containing - // Wrong parameter name should trigger an error response. subscriptionId indicating value HREF_V2XMSG_UNKNOWN_SUBSCRIPTION ; ; @@ -1650,7 +1637,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{SubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION, body containing provChgUuUniSubscription containing subscriptionType indicating value "ProvChgUuUniSubscription", @@ -1658,7 +1647,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1709,7 +1698,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{SubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_MBMS_SUBSCRIPTION, body containing provChgUuMbmsSubscription containing subscriptionType indicating value "ProvChgUuMbmsSubscription", @@ -1717,7 +1708,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_MBMS_CRITERIA_1, _links indicating value HREF_UU_MBMS_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1768,7 +1759,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{SubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_PC5_SUBSCRIPTION, body containing provChgPc5Subscription containing subscriptionType indicating value "ProvChgPc5Subscription", @@ -1776,7 +1769,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_PC5_CRITERIA_1, _links indicating value HREF_PC5_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1827,7 +1820,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{SubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION, body containing v2xMsgSubscription containing subscriptionType indicating value "ProvChgPc5Subscription", @@ -1835,7 +1830,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_V2XMSG_CRITERIA_1, _links indicating value HREF_V2XMSG_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1886,7 +1881,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{SubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION, body containing provChgUuUniSubscription containing subscriptionType indicating value "InvalidProvChgUuUniSubscription", // Invalid SubscriptionType @@ -1894,7 +1891,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1937,7 +1934,9 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "vis/v1/subscriptions/{InvalidSubscriptionId}", + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_UNKNOWN_SUBSCRIPTION, body containing provChgUuUniSubscription containing subscriptionType indicating value "ProvChgUuUniSubscription", @@ -1945,7 +1944,7 @@ Package MEC_MEC030_SRV_V2X { filterCriteria indicating value FILTER_UU_UNI_CRITERIA_1, _links indicating value HREF_UU_UNI_SUBSCRIPTION ; - ; + ;; ; from the MEC_APP entity } @@ -1988,7 +1987,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION + ; ; from the MEC_APP entity } @@ -2031,7 +2033,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_MBMS_SUBSCRIPTION + ; ; from the MEC_APP entity } @@ -2074,7 +2079,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_PC5_SUBSCRIPTION + ; ; from the MEC_APP entity } @@ -2117,7 +2125,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION + ; ; from the MEC_APP entity } @@ -2160,7 +2171,10 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "vis/v1/subscriptions" + uri indicating value "vis/v1/subscriptions/{subscriptionId}", + query_parameters containing + subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION + ; ; from the MEC_APP entity } -- GitLab From d5557dfb18923679036960968d10808f9635fc92 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 19 May 2021 09:05:40 +0200 Subject: [PATCH 23/63] Fix: https://forge.etsi.org/rep/groups/mec/-/issues - #11 --- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 1277ddf..b0191dd 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -498,7 +498,7 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations", + uri indicating value "bwm/v1/bw_allocations/{allocationId}", query_parameters containing allocationId indicating value BW_ALLOCATION_ID ; @@ -547,7 +547,7 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations" + uri indicating value "bwm/v1/bw_allocations/{allocationId}", query_parameters containing allocationId indicating value BW_UNKNOWN_ALLOCATION_ID ; @@ -592,14 +592,15 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_NEW_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -648,14 +649,15 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value INVALID_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -697,14 +699,15 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPUT containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_UNKNOWN_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -747,14 +750,15 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID, body containing bwInfoDeltas containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -803,7 +807,8 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, @@ -811,7 +816,7 @@ Package MEC_MEC015_SRV_TM { fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -853,14 +858,15 @@ Package MEC_MEC015_SRV_TM { when { the IUT entity receives a vPATCH containing uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters indicating value BW_UNKNOWN_ALLOCATION_ID, + query_parameters containing + allocationId indicating value BW_UNKNOWN_ALLOCATION_ID, body containing bwInfo containing appInsId indicating value APP_INSTANCE_ID, fixedAllocation indicating value SOME_ALLOCATION, allocationDirection indicating value SOME_DIRECTION ; - ; + ;; ; from the MEC_APP entity } @@ -901,7 +907,7 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations", + uri indicating value "bwm/v1/bw_allocations/{allocationId}", query_parameters containing allocationId indicating value BW_UNKNOWN_ALLOCATION_ID ; @@ -945,7 +951,7 @@ Package MEC_MEC015_SRV_TM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations", + uri indicating value "bwm/v1/bw_allocations/{allocationId}", query_parameters containing allocationId indicating value BW_UNKNOWN_ALLOCATION_ID ; -- GitLab From d9ccb03a4f75b102ad4bdd562517eb8e94a3ac88 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 21 May 2021 16:55:31 +0200 Subject: [PATCH 24/63] update licensing information in the individual files --- .../MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 | 12 +----------- Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 12 +----------- Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 15 ++------------- .../MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 12 +----------- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 12 +----------- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 12 +----------- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 | 12 +----------- .../MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 12 +----------- .../MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 | 12 +----------- .../MEX/LCM/AppInstanceMgmt_notifications.tplan2 | 12 +----------- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 12 +----------- .../MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 | 12 +----------- Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 | 12 +----------- Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 | 12 +----------- .../MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 13 +------------ Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 | 12 +----------- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 12 +----------- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 12 +----------- .../SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 14 ++------------ .../SRV/RNIS/RnisAllSubscriptions_BV.tplan2 | 12 +----------- .../MEC012/SRV/RNIS/RnisNotifications.tplan2 | 12 +----------- .../MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 12 +----------- Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 | 12 +----------- .../RNIS/RnisSpecificSubscription_BO_BI.tplan2 | 14 ++------------ .../SRV/RNIS/RnisSpecificSubscription_BV.tplan2 | 14 ++------------ .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 12 +----------- .../SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 | 12 +----------- .../SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 12 +----------- .../UEDISTSUB/PlatUeDistanceSubscription.tplan2 | 12 +----------- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 12 +----------- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 12 +----------- .../MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 12 +----------- .../MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 | 12 +----------- .../MEC016/MEO/UEAPPS/SysUeApplications.tplan2 | 12 +----------- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 12 +----------- Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 | 13 +------------ .../MEC028/SRV/WAI/NotificationCallback.tplan2 | 12 +----------- Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 | 12 +----------- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 12 +----------- .../MEC030/SRV/V2XInformationService.tplan2 | 12 +----------- 40 files changed, 44 insertions(+), 447 deletions(-) diff --git a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 index 9a9d62c..fdee20a 100644 --- a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 +++ b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC009_MEX_ANY_BI { diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index 94a4660..be49b34 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_GRANT_BI { diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index fa19064..48d5fc0 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -1,23 +1,12 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_GRANT_BV { import all from MEC_Common; - - Test Purpose { + Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" Test objective diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index 551a6de..0b40d1a 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_PKGM_BO_BI { diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 3151d3b..dbe4d06 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_PKGM_BV { diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index c4dd8a6..1c03d6c 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index ce5f38a..da8b47d 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index da91e19..b701f09 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index 52d3c9c..7658c6c 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_APP_INSTANCE_LCM { diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 index 6768c72..4ae9ec3 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_LCM_NOTIF { diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 4f506bb..840e4c4 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_APPSAQ { diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index 4fb7d93..eec2fc5 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_APPSUB { diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 33700cb..1c351e3 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_DNS { diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index b19d35c..97d16a5 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_SAQ { diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index 35a14b4..df0e031 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -1,18 +1,7 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ - Package MEC_MEC011_SRV_SRVSUB { import all from MEC_Common; diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index cf4b565..e261942 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_TIME { diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 7e343fb..9976c5c 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_TRAF { diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index b4edb8d..7ee9eee 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_TRANS { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index 5a3e0f2..145e851 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_SUBS_BI { @@ -18,7 +8,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_SRV_RNIS_011_BR" // Negative test: Trying to get a 400 Bad Request using incorrect parameters (Not existent subscriptionType) + TP Id "TP_MEC_MEC012_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" diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 index f5cac85..dd24cfc 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_SUBS_BV { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index 796eb29..033cc2f 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index e9094f2..8f8c561 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_QUERY_BI { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 index 0ec0b3f..46e375a 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_QUERY_BV { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index 20c04d9..bcdccce 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 @@ -1,16 +1,6 @@ -/** +/* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_SUB_BI { diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 index 04b1443..fe1d6ee 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 @@ -1,16 +1,6 @@ -/** +/* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC012_SRV_RNIS_SUB_BV { diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index dc5be84..683ed00 100644 --- a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC013_SRV_RLOCLOOK { diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 67fa22e..e05383e 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC013_SRV_UEAREASUB { diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 9f91cff..8577c4b 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC013_SRV_UEDISTLOOK { diff --git a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index b43eacf..66e6f33 100644 --- a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC013_SRV_UEDISTSUB { diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index 9fbc09d..de47fdb 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC015_SRV_MTS { diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index b0191dd..138b659 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC015_SRV_TM { diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index 1e40f1a..bacb3d2 100644 --- a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC016_MEO_UEAPPCTX { diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index c5bd5ea..1004f32 100644 --- a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC016_MEO_UEAPPCTX { diff --git a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 index e8ff97d..ab02c9c 100644 --- a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC016_MEO_UEAPPS { diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index d37348e..2a87620 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC028_SRV_WAI { diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 1cfba58..1e9f413 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -1,18 +1,7 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ - Package MEC_MEC028_SRV_WAI { import all from MEC_Common; diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index ce10279..322e474 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC028_SRV_WAI { diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index 71d8774..3cdd896 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC028_SRV_WAI { diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 289db83..4c5b082 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC028_SRV_WAI { diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 8a70fef..0ec3fa7 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -1,16 +1,6 @@ /* Copyright (c) ETSI 2018-2021. - -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. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC030_SRV_V2X { -- GitLab From 940378f9517c0756e965e0f9eb649f0f9dccc1d1 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 21 May 2021 16:56:41 +0200 Subject: [PATCH 25/63] fixes in TDL syntax and for TP ids --- .../MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 17 +++++++---------- .../MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 | 4 ++-- .../SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 2 +- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 0 4 files changed, 10 insertions(+), 13 deletions(-) rename Test Purposes/MEC013/{ => SRV}/UEINFOLOOK/PlatUeInformationLookup.tplan2 (100%) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index 48d5fc0..573d108 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -27,18 +27,15 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Expected behaviour ensure that { when { - the IUT entity receives a vPOST containing + the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, - operation set to OPERATION_TYPE //Shall be one from - INSTANTIATE - OPERATE - TERMINATE - attribute _links - ; - ; - ; + operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE + _links;;; from the MEPM entity } then { @@ -49,7 +46,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { id set to any_value, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, - attribute _links + _links ; ; ; to the MEPM entity @@ -87,8 +84,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, - operation set to OPERATION_TYPE //Shall be one from - INSTANTIATE - OPERATE - TERMINATE - attribute _links + operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE + _links ; ; ; @@ -179,7 +176,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { id set to GRANTING_ID, appInstanceId set to any_value, appLcmOpOccId set to any_value, - attribute _links + _links ; ; ; to the MEPM entity diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index 7658c6c..f446e23 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -373,7 +373,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ; ; ; - ; to the MEC_CONSUMER entity + to the MEC_CONSUMER entity } } } @@ -421,7 +421,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ; ; ; - ; to the MEC_CONSUMER entity + to the MEC_CONSUMER entity } } } diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index 145e851..392f9dc 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 @@ -44,7 +44,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BI { } Test Purpose { - TP Id "TP_MEC_SRV_RNIS_012_BR" // 400 Bad Request + TP Id "TP_MEC_MEC012_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" diff --git a/Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 similarity index 100% rename from Test Purposes/MEC013/UEINFOLOOK/PlatUeInformationLookup.tplan2 rename to Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 -- GitLab From ba077b59ecd5f17469abc5aa761375a6d37a92e5 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 21 May 2021 16:57:08 +0200 Subject: [PATCH 26/63] utility scripts to list TPs and Groups --- scripts/list_TP_Groups.sh | 1 + scripts/list_TPs.sh | 1 + 2 files changed, 2 insertions(+) create mode 100644 scripts/list_TP_Groups.sh create mode 100644 scripts/list_TPs.sh diff --git a/scripts/list_TP_Groups.sh b/scripts/list_TP_Groups.sh new file mode 100644 index 0000000..026052f --- /dev/null +++ b/scripts/list_TP_Groups.sh @@ -0,0 +1 @@ +grep -ohEr TP_MEC_[A-Zp0-9]*_[A-Zp0-9]*_[A-Z0-9]* | sort | uniq diff --git a/scripts/list_TPs.sh b/scripts/list_TPs.sh new file mode 100644 index 0000000..521529c --- /dev/null +++ b/scripts/list_TPs.sh @@ -0,0 +1 @@ +grep -ohEr TP_MEC_[A-Zp0-9]*_[A-Z0-9]*_[A-Z0-9]*_[A-Z0-9]*[_A-Z0-9]* | sort | uniq -- GitLab From 1e56bfe28226f5a2796dadcb8863d9324d3a3d7f Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 26 May 2021 11:02:28 +0200 Subject: [PATCH 27/63] Bug fixed in MEC030 Test Purposes --- .../MEC030/SRV/V2XInformationService.tplan2 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 0ec3fa7..f783709 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -1181,7 +1181,7 @@ Package MEC_MEC030_SRV_V2X { status_code set to "201 Created" containing body containing provChgPc5Subscription containing - subscriptionType indicating value "ProvChgUuMbmsSubscription", + subscriptionType indicating value "ProvChgPc5Subscription", callbackReference indicating value CALLBACK_PC5_SUBSCRIPTION, filterCriteria indicating value FILTER_PC5_CRITERIA, _links indicating value HREF_PC5_SUBSCRIPTION @@ -1250,7 +1250,8 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_007_BR" Test objective - "Check that the IUT responds with the requested to create a subscription" + "Check that the IUT responds with an error when + a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.8.3.4", "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" @@ -1953,7 +1954,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_01" Test objective - "Check that the IUT responds with the requested of updating subscription + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", @@ -1999,7 +2000,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_02" Test objective - "Check that the IUT responds with the requested of updating subscription + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", @@ -2045,7 +2046,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_03" Test objective - "Check that the IUT responds with the requested of updating subscription + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", @@ -2091,7 +2092,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_04" Test objective - "Check that the IUT responds with the requested of updating subscription + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", @@ -2137,7 +2138,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_010_NF" Test objective - "Check that the IUT responds with the requested of updating subscription + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" Reference "ETSI GS MEC 030 V2.1.1, clause 7.9.3.2", -- GitLab From 49834718325618bab95eb6b8d7a277c0ffa49f4a Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 28 May 2021 17:14:15 +0200 Subject: [PATCH 28/63] Minor issues fixed in MEC028 Test Purposes --- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 4c5b082..d2ad95d 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -122,7 +122,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_006_BR" Test objective - "Check that the IUT responds with the requested list of subscription" + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" -- GitLab From 5c85748f8b07207e407c71094b90953afd3eb642 Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 3 Jun 2021 10:01:00 +0200 Subject: [PATCH 29/63] Add Notification TPs --- .../MEC030/SRV/V2XInformationService.tplan2 | 117 ++++++++++++++++++ 1 file changed, 117 insertions(+) diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index f783709..2d9cb6d 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -2180,4 +2180,121 @@ Package MEC_MEC030_SRV_V2X { } + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_01" + + Test objective + "Check that the IUT sends a notification about the provisioning information changes for V2X communication over Uu unicast" + + Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.6", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a ProvChgUuUniSubscription containing + callbackReference indicating value CALLBACK_UU_UNI_URI + ; + } + + // MEC 030 Clause 6.4.2 Type: ProvChgUuUniSubscription + Expected behaviour + ensure that { + when { + the IUT entity generates a provChgUuUniNotification containing + notificationType indicating value "ProvChgUuUniNotification", + locationInfo indicating value LOCATION_INFO; + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_02" + + Test objective + "Check that the IUT sends a notification about the provisioning information changes for V2X communication over Uu MBMS" + + Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.7", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a ProvChgUuMbmsSubscription containing + callbackReference indicating value CALLBACK_UU_MBMS_URI + ; + } + + // MEC 030 Clause 6.4.3 Type: ProvChgUuMbmsSubscription + Expected behaviour + ensure that { + when { + the IUT entity generates a provChgUuMbmsNotification containing + notificationType indicating value "ProvChgUuMbmsNotification", + locationInfo indicating value LOCATION_INFO; + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_011_OK_03" + + Test objective + "Check that the IUT sends a notification about the provisioning information changes for V2X communication over PC5" + + Reference "ETSI GS MEC 030 V2.1.1, clause 5.5.8", + "https://forge.etsi.org/rep/mec/gs030-vis-api/blob/master/MEC030_V2XInformationService.yaml" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_APP entity having a ProvChgPc5Subscription containing + callbackReference indicating value CALLBACK_PC5_URI + ; + } + + // MEC 030 Clause 6.4.4 Type: ProvChgPc5Subscription + Expected behaviour + ensure that { + when { + the IUT entity generates a provChgPc5Notification containing + notificationType indicating value "ProvChgPc5Notification", + locationInfo indicating value LOCATION_INFO; + } + then { + // MEC 030 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + } -- GitLab From d4ed8cc2bf647407556c60861aa05846fc376a91 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 28 Jun 2021 09:49:39 +0200 Subject: [PATCH 30/63] Updated TPs of MEC011. Their references not updated yet because missing.They have been marked as outdated. --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 76 +++--- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 54 ++--- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 48 ++-- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 222 ++++++++++++++++++ .../MEC011/SRV/SAQ/PlatServices.tplan2 | 34 +-- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 54 ++--- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 16 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 48 ++-- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 8 +- 9 files changed, 393 insertions(+), 167 deletions(-) create mode 100644 Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 840e4c4..c75e078 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with a list of available MEC services for a given application instance when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.15.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -42,7 +42,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.15.3.1 + // MEC 011 2.2.1, clause 8.2.6.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -64,7 +64,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.15.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.1" Config Id Config_MEC_1 @@ -77,7 +77,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -91,7 +91,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.15.3.1 + // MEC 011 2.2.1, clause 8.2.6.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -108,8 +108,8 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT notifies the authorised relevant (subscribed) application instances when a new service for a given application instance is registered" - Reference "ETSI GS MEC 011 2.1.1, clause 7.15.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.4", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -124,7 +124,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -139,7 +139,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.1.1, clause 7.15.3.4 + // MEC 011 2.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", Location set to LOCATION, @@ -151,7 +151,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; to the MEC_APP_Registrant entity and - // MEC 011 2.1.1, clause 6.4.2 + the IUT entity sends a notification_message containing body containing notificationType set to "SerAvailabilityNotification", @@ -176,7 +176,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.15.3.4" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -191,7 +191,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -207,7 +207,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.1.1, clause 7.15.3.4 + // MEC 011 2.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -224,7 +224,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.15.3.4" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -239,7 +239,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -254,7 +254,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.1.1, clause 7.15.3.4 + // MEC 011 2.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -271,8 +271,8 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with the information on a specific service for a given application instance when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -288,7 +288,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -298,7 +298,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.1 + // MEC 011 2.2.1, clause 8.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -320,7 +320,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.1" Config Id Config_MEC_1 @@ -336,7 +336,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -346,7 +346,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.1 + // MEC 011 2.2.1, clause 8.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -363,8 +363,8 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT updates a service information for a given application instance when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.2", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -381,7 +381,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -397,7 +397,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.2 + // MEC 011 2.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -419,7 +419,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -435,7 +435,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -452,7 +452,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.2 + // MEC 011 2.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -469,7 +469,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -485,7 +485,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -501,7 +501,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.2 + // MEC 011 2.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -518,7 +518,7 @@ Package MEC_MEC011_SRV_APPSAQ { "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 011 2.1.1, clause 7.14.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -534,7 +534,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.1.1, clause 5.2.4 + // MEC 011 2.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -550,7 +550,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.14.3.2 + // MEC 011 2.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index eec2fc5..306d4be 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT responds with a list of subscriptions for notifications on services availability when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -42,7 +42,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.1 + // MEC 011 2.2.1, clause 7.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -62,7 +62,7 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.1" Config Id Config_MEC_1 @@ -75,7 +75,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -85,7 +85,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.1 + // MEC 011 2.2.1, clause 7.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -102,8 +102,8 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT acknowledges the subscription by a MEC Application to notifications on service availability events" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.4", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -116,7 +116,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6.2 + // MEC 011 2.2.1, clause 7.2.3.3.4 Expected behaviour ensure that { when { @@ -132,7 +132,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.4 + // MEC 011 2.2.1, clause 7.2.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", Location set to LOCATION, @@ -156,7 +156,7 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.4" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.4" Config Id Config_MEC_1 @@ -169,7 +169,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6.2 + // MEC 011 2.2.1, clause 5.2.6.2 Expected behaviour ensure that { when { @@ -186,7 +186,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.4 + // MEC 011 2.2.1, clause 7.2.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -203,8 +203,8 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT responds with the information on a specific subscription when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -220,7 +220,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -230,7 +230,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.1 + // MEC 011 2.2.1, clause 7.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -253,7 +253,7 @@ Package MEC_MEC011_SRV_APPSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1" Config Id Config_MEC_1 @@ -269,7 +269,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -279,7 +279,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.1 + // MEC 011 2.2.1, clause 7.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -296,7 +296,7 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT acknowledges the unsubscribe from service availability event notifications when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 @@ -312,7 +312,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -322,7 +322,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.5 + // MEC 011 2.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -340,7 +340,7 @@ Package MEC_MEC011_SRV_APPSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 @@ -356,7 +356,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -366,7 +366,7 @@ Package MEC_MEC011_SRV_APPSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.5 + // MEC 011 2.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 1c351e3..c7b046f 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.12.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.9.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -42,7 +42,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.12.3.1 + // MEC 011 2.2.1, clause 7.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -64,8 +64,8 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -81,7 +81,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -91,7 +91,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.1 + // MEC 011 2.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -113,7 +113,7 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.1" Config Id Config_MEC_1 @@ -129,7 +129,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -139,7 +139,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.1 + // MEC 011 2.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -156,8 +156,8 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.2", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -173,7 +173,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -188,7 +188,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.2 + // MEC 011 2.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -211,7 +211,7 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -227,7 +227,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -243,7 +243,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.2 + // MEC 011 2.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -260,7 +260,7 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -276,7 +276,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -291,7 +291,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.2 + // MEC 011 2.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -308,7 +308,7 @@ Package MEC_MEC011_SRV_DNS { "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 011 2.1.1, clause 7.13.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -324,7 +324,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.1.1, clause 5.2.8 + // MEC 011 2.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -339,7 +339,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.13.3.2 + // MEC 011 2.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 new file mode 100644 index 0000000..32e9bc4 --- /dev/null +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -0,0 +1,222 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC011_SRV_LIV { + + import all from MEC_Common; + + + /* + * MEC SERVICE LIVENESS (MSL) + */ + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_001_OK" + + Test objective + "Check that the IUT responds with the liveness of a MEC service instance + when queried by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.10.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a services_running containing + service_id indicating value SERVICE_ID, + _links containing + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness" + ; + ; + } + + // MEC 011 2.2.1, clause 5.2.12 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + Uri indicating value "link/to/individual/mecServiceLiveness" + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.10.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ServiceLivenessInfo containing + ServiceState set to "ACTIVE", + interval set to 10, + timeStamp containing + seconds set to 10, + nanoseconds set to 0 + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + +Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_001_NF" + + Test objective + "Check that the IUT responds with an error when + a request for an URI that cannot be mapped to a valid resource URI + is sent by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.10.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a services_running containing + service_id indicating value SERVICE_ID, + _links containing + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness" + ; + ; + } + + // MEC 011 2.2.1, clause 5.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + Uri indicating value "not_existing_link/to/individual/mecServiceLiveness" + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.10.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_002_OK" + + Test objective + "Check that the IUT updates the liveness of a MEC service instance + when requested by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.10.3.3" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a services_running containing + service_id indicating value SERVICE_ID, + state set to "SUSPENDED", + _links containing + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness" + ; + ; + } + + // MEC 011 2.2.1, clause 5.2.12 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + Uri indicating value "link/to/individual/mecServiceLiveness", + body containing + ServiceLivenessUpdate containing + ServiceState set to "ACTIVE" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.10.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + ServiceLivenessInfo containing + ServiceState set to "ACTIVE", + interval set to 10, + timeStamp containing + seconds set to 10, + nanoseconds set to 0 + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_002_BR" + + Test objective + "Check that the IUT responds with an error when + incorrect parameters were sent by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.10.3.3" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a services_running containing + service_id indicating value SERVICE_ID, + state set to "INACTIVE", + _links containing + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness" + ; + ; + } + + // MEC 011 2.2.1, clause 5.2.12 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + Uri indicating value "link/to/individual/mecServiceLiveness", + body containing + ServiceLivenessInfo containing + ServiceState set to "INACTIVE" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.10.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + +} diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index 97d16a5..d54d5bf 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_SAQ { "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.3.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -29,7 +29,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity being_in idle_state } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -39,7 +39,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.4.3.1 + // MEC 011 2.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -61,7 +61,7 @@ Package MEC_MEC011_SRV_SAQ { "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.4.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.3.3.1" Config Id Config_MEC_1 @@ -71,7 +71,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity being_in idle_state } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -85,7 +85,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.4.3.1 + // MEC 011 2.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -102,8 +102,8 @@ Package MEC_MEC011_SRV_SAQ { "Check that the IUT responds with the information on a specific service when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.4.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -116,7 +116,7 @@ Package MEC_MEC011_SRV_SAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -126,12 +126,16 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.3.3.1 + // MEC 011 2.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ServiceInfo containing - serInstanceId set to SERVICE_ID + serInstanceId set to SERVICE_ID, + _links containing + self set to "link/to/resource", + liveness set to "ACTIVE" + ; ; ; ; @@ -149,7 +153,7 @@ Package MEC_MEC011_SRV_SAQ { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.4.3.1" Config Id Config_MEC_1 @@ -162,7 +166,7 @@ Package MEC_MEC011_SRV_SAQ { ; } - // MEC 011 2.1.1, clause 5.2.5 + // MEC 011 2.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -172,7 +176,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.3.3.1 + // MEC 011 2.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index df0e031..f48113d 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -17,8 +17,8 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT responds with a list of subscriptions for notifications on services availability when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause7.2.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -31,7 +31,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -41,7 +41,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.2.3.2 + // MEC 011 2.2.1, clause 8.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -61,7 +61,7 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.1" Config Id Config_MEC_1 @@ -74,7 +74,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -84,7 +84,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.1 + // MEC 011 2.2.1, clause 8.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -101,8 +101,8 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT acknowledges the subscription by a MEC Application to notifications on service availability events" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.4", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -115,7 +115,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6.2 + // MEC 011 2.2.1, clause 5.2.6.2 Expected behaviour ensure that { when { @@ -131,7 +131,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.4 + // MEC 011 2.2.1, clause 8.2.8.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", Location set to LOCATION, @@ -155,7 +155,7 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.6.3.4" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.4" Config Id Config_MEC_1 @@ -168,7 +168,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6.2 + // MEC 011 2.2.1, clause 5.2.6.2 Expected behaviour ensure that { when { @@ -185,7 +185,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.6.3.4 + // MEC 011 2.2.1, clause 8.2.8.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -202,8 +202,8 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT responds with the information on a specific subscription when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -219,7 +219,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -229,7 +229,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.1 + // MEC 011 2.2.1, clause 7.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -252,7 +252,7 @@ Package MEC_MEC011_SRV_SRVSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1" Config Id Config_MEC_1 @@ -268,7 +268,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -278,7 +278,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.1 + // MEC 011 2.2.1, clause 7.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -295,7 +295,7 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT acknowledges the unsubscribe from service availability event notifications when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 @@ -311,7 +311,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -321,7 +321,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.5 + // MEC 011 2.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -339,7 +339,7 @@ Package MEC_MEC011_SRV_SRVSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.5.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 @@ -355,7 +355,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.1.1, clause 5.2.6 + // MEC 011 2.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -365,7 +365,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.5.3.5 + // MEC 011 2.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index e261942..22d90ec 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_TIME { "Check that the IUT responds with timing capabilities when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.7.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TimingCaps" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.5.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TimingCaps" //Outdated Config Id Config_MEC_1 @@ -29,7 +29,7 @@ Package MEC_MEC011_SRV_TIME { the IUT entity being_in idle_state } - // MEC 011 2.1.1, clause 5.2.10.3 + // MEC 011 2.2.1, clause 5.2.10.3 Expected behaviour ensure that { when { @@ -39,7 +39,7 @@ Package MEC_MEC011_SRV_TIME { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.7.3.1 + // MEC 011 2.2.1, clause 7.2.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -59,8 +59,8 @@ Package MEC_MEC011_SRV_TIME { "Check that the IUT responds with current time when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/CurrentTime" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.6.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/CurrentTime" //Outdated Config Id Config_MEC_1 @@ -70,7 +70,7 @@ Package MEC_MEC011_SRV_TIME { the IUT entity being_in idle_state } - // MEC 011 2.1.1, clause 5.2.10.2 + // MEC 011 2.2.1, clause 5.2.10.2 Expected behaviour ensure that { when { @@ -80,7 +80,7 @@ Package MEC_MEC011_SRV_TIME { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.8.3.1 + // MEC 011 2.2.1, clause 7.2.6.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 9976c5c..ed41a6c 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with a list of available traffic rules when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.10.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.7.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -42,7 +42,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.10.3.1 + // MEC 011 2.2.1, clause 7.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -64,7 +64,7 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.10.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.7.3.1" Config Id Config_MEC_1 @@ -77,7 +77,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -87,7 +87,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.10.3.1 + // MEC 011 2.2.1, clause 7.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -104,8 +104,8 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with the information on a specific traffic rule when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.11.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -121,7 +121,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -131,7 +131,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.11.3.1 + // MEC 011 2.2.1, clause 7.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -153,8 +153,8 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT updates a specific traffic rule when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.11.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.2", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -170,7 +170,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -186,7 +186,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.11.3.2 + // MEC 011 2.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -209,7 +209,7 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.11.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -225,7 +225,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -242,7 +242,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.11.3.2 + // MEC 011 2.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -259,7 +259,7 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.11.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -275,7 +275,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -291,7 +291,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.11.3.2 + // MEC 011 2.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -308,7 +308,7 @@ Package MEC_MEC011_SRV_TRAF { "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" - Reference "ETSI GS MEC 011 2.1.1, clause 7.11.3.2" + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -324,7 +324,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.1.1, clause 5.2.7 + // MEC 011 2.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -340,7 +340,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.11.3.2 + // MEC 011 2.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index 7ee9eee..a36a7e9 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -18,8 +18,8 @@ Package MEC_MEC011_SRV_TRANS { "Check that the IUT responds with a list of available transports when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.1.1, clause 7.9.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TransportInfo" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.5.3.1", + "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TransportInfo" //Outdated Config Id Config_MEC_1 @@ -29,7 +29,7 @@ Package MEC_MEC011_SRV_TRANS { the IUT entity being_in idle_state } - // MEC 011 2.1.1, clause 5.2.9 + // MEC 011 2.2.1, clause 5.2.9 Expected behaviour ensure that { when { @@ -39,7 +39,7 @@ Package MEC_MEC011_SRV_TRANS { from the MEC_APP entity } then { - // MEC 011 2.1.1, clause 7.9.3.1 + // MEC 011 2.2.1, clause 8.2.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing -- GitLab From 439a8f576398d018d4f542dcbb52d4ecd5837f86 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Wed, 30 Jun 2021 17:44:48 +0200 Subject: [PATCH 31/63] Update MEC011 TPs --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 19 +- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 14 +- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 193 ++++++++++++++++++ .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 14 +- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 22 +- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 16 +- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 22 +- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 10 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 20 +- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 6 +- Test Purposes/mec-common.tplan2 | 1 + 11 files changed, 260 insertions(+), 77 deletions(-) create mode 100644 Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index c75e078..27f7f0a 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_APPSAQ { for a given application instance when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -46,9 +46,7 @@ Package MEC_MEC011_SRV_APPSAQ { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - ServiceInfoList containing - ServiceInfo set to any_value - ; + ServiceInfo set to any_value // @TODO: Should be a list of ServiceInfos. How can we express it in TDL? ; ; to the MEC_APP entity @@ -109,7 +107,7 @@ Package MEC_MEC011_SRV_APPSAQ { instances when a new service for a given application instance is registered" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -272,7 +270,7 @@ Package MEC_MEC011_SRV_APPSAQ { for a given application instance when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -364,7 +362,7 @@ Package MEC_MEC011_SRV_APPSAQ { application instance when commanded by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -387,7 +385,6 @@ Package MEC_MEC011_SRV_APPSAQ { when { the IUT entity receives a vPUT containing uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", - if_match indicating value PROPER_ETAG, body containing ServiceInfo containing version indicating value NEW_VERSION @@ -441,7 +438,6 @@ Package MEC_MEC011_SRV_APPSAQ { when { the IUT entity receives a vPUT containing uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", - if_match indicating value PROPER_ETAG, body containing ServiceInfo containing // Wrong parameter name should trigger an error response. @@ -491,7 +487,6 @@ Package MEC_MEC011_SRV_APPSAQ { when { the IUT entity receives a vPUT containing uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", - if_match indicating value PROPER_ETAG, body containing ServiceInfo containing version indicating value NEW_VERSION @@ -510,7 +505,7 @@ Package MEC_MEC011_SRV_APPSAQ { } } - +/* Removed cause the ETag is not mandatory. Cannot be tested Test Purpose { TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_PF" @@ -558,4 +553,6 @@ Package MEC_MEC011_SRV_APPSAQ { } } } + + */ } diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index 306d4be..e249e64 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_APPSUB { on services availability when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L574#/definitions/MecAppSuptApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -100,10 +100,10 @@ Package MEC_MEC011_SRV_APPSUB { Test objective "Check that the IUT acknowledges the subscription by a MEC Application - to notifications on service availability events" + to notifications on termination events" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -178,7 +178,7 @@ Package MEC_MEC011_SRV_APPSUB { body containing AppTerminationNotificationSubscription containing // Unknown value should trigger an error response. - subscriptionType indicating value INVALID_SUBSCRIPTION, + subscriptionType indicating value INVALID_SUBSCRIPTION_TYPE, callbackReference indicating value some_uri ; ; @@ -204,7 +204,7 @@ Package MEC_MEC011_SRV_APPSUB { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -293,8 +293,8 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_004_OK" Test objective - "Check that the IUT acknowledges the unsubscribe from service availability event notifications - when commanded by a MEC Application" + "Check that the IUT acknowledges the unsubscribe from app termination + event notifications when commanded by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 new file mode 100644 index 0000000..14c343f --- /dev/null +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -0,0 +1,193 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC011_SRV_CONFTASK { + + import all from MEC_Common; + + + /* + * Confirmation Tasks (ready / termination ) + */ + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_CONFTASK_001_OK" + + Test objective + "Check that the IUT responds that it has completed the application level termination" + + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.11.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/AppTerminationConfirmation" //Outdated + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a apps_instance containing + instance_id indicating value APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.3 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/confirm_termination" + body containing + AppTerminationConfirmation containing + operationAction indicating value "TERMINATING" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 7.2.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_CONFTASK_001_NF" + + Test objective + "Check that the IUT responds with an error when + a request for an operationAction is sent to an unknown application" + + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.11.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity "not" having a apps_instance containing + instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.8 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "mec_app_support/v1/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" + body containing + AppTerminationConfirmation containing + operationAction indicating value "TERMINATING" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 7.2.10.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_CONFTASK_002_OK" + + Test objective + "Check that the IUT responds that the MEC application is up and running" + + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.12.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L311#/definitions/AppReadyConfirmation" //Outdated + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a apps_instance containing + instance_id indicating value APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/confirm_ready" + body containing + AppReadyConfirmation containing + indication indicating value "READY" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 7.2.12.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_CONFTASK_002_NF" + + Test objective + "Check that the IUT responds with an error when + a request for an indication is sent to an unknown application" + + Reference "ETSI GS MEC 011 2.2.1, clause 7.2.12.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity "not" having a apps_instance containing + instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.8 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "mec_app_support/v1/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" + body containing + AppReadyConfirmation containing + indication indicating value "READY" + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 7.2.12.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } +} diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index c7b046f..21087a8 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_DNS { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.9.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -46,9 +46,7 @@ Package MEC_MEC011_SRV_DNS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - DnsRuleList containing - DnsRule set to any_value - ; + DnsRule set to any_value //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? ; ; to the MEC_APP entity @@ -65,7 +63,7 @@ Package MEC_MEC011_SRV_DNS { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -157,7 +155,7 @@ Package MEC_MEC011_SRV_DNS { when commanded by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.10.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -300,7 +298,8 @@ Package MEC_MEC011_SRV_DNS { } } - +/* + * @TODO: Removed cause the ETag is not a mandatory header attribute Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_003_PF" @@ -347,4 +346,5 @@ Package MEC_MEC011_SRV_DNS { } } } + */ } diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 index 32e9bc4..f300c33 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -41,7 +41,7 @@ Package MEC_MEC011_SRV_LIV { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value "link/to/individual/mecServiceLiveness" + uri indicating value "link/to/individual/mecServiceLiveness" ; from the MEC_APP entity } @@ -51,12 +51,7 @@ Package MEC_MEC011_SRV_LIV { status_code set to "200 OK" body containing ServiceLivenessInfo containing - ServiceState set to "ACTIVE", - interval set to 10, - timeStamp containing - seconds set to 10, - nanoseconds set to 0 - ; + ServiceState set to "ACTIVE" ; ; ; @@ -96,7 +91,7 @@ Test Purpose { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value "not_existing_link/to/individual/mecServiceLiveness" + uri indicating value "not_existing_link/to/individual/mecServiceLiveness" ; from the MEC_APP entity } @@ -143,7 +138,7 @@ Test Purpose { Uri indicating value "link/to/individual/mecServiceLiveness", body containing ServiceLivenessUpdate containing - ServiceState set to "ACTIVE" + state set to "ACTIVE" ; ; ; @@ -155,12 +150,7 @@ Test Purpose { status_code set to "200 OK" body containing ServiceLivenessInfo containing - ServiceState set to "ACTIVE", - interval set to 10, - timeStamp containing - seconds set to 10, - nanoseconds set to 0 - ; + state set to "ACTIVE" ; ; ; @@ -202,7 +192,7 @@ Test Purpose { Uri indicating value "link/to/individual/mecServiceLiveness", body containing ServiceLivenessInfo containing - ServiceState set to "INACTIVE" + state set to "INACTIVE" ; ; ; diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index d54d5bf..7cce5dd 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_SAQ { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -34,7 +34,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value"/mec_service_mgmt/v1/services" + uri indicating value"/mec_service_mgmt/v1/services" ; from the MEC_APP entity } @@ -43,9 +43,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - ServiceInfoList containing - ServiceInfo set to any_value - ; + ServiceInfo set to any_value // @TODO: It should be a list of ServiceInfos. How to express it in TDL? ; ; to the MEC_APP entity @@ -76,7 +74,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value"/mec_service_mgmt/v1/services" + uri indicating value"/mec_service_mgmt/v1/services" query_parameters containing // Wrong parameter name should trigger an error response. instance_id indicating value any_value @@ -103,7 +101,7 @@ Package MEC_MEC011_SRV_SAQ { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/ServiceInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -121,7 +119,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value"/mec_service_mgmt/v1/services/{SERVICE_ID}" + uri indicating value"/mec_service_mgmt/v1/services/{SERVICE_ID}" ; from the MEC_APP entity } @@ -171,7 +169,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - Uri indicating value"/mec_service_mgmt/v1/services/{NON_EXISTENT_SERVICE_ID}" + uri indicating value"/mec_service_mgmt/v1/services/{NON_EXISTENT_SERVICE_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index f48113d..bf78a67 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -18,7 +18,7 @@ Package MEC_MEC011_SRV_SRVSUB { on services availability when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L408#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -45,7 +45,11 @@ Package MEC_MEC011_SRV_SRVSUB { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - SubscriptionLinkList set to any_value + SubscriptionLinkList containing + _links containing + self set to any_value + ; + ; ; ; to the MEC_APP entity @@ -102,7 +106,7 @@ Package MEC_MEC011_SRV_SRVSUB { to notifications on service availability events" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.8.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L508#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -203,7 +207,7 @@ Package MEC_MEC011_SRV_SRVSUB { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L508#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -347,11 +351,11 @@ Package MEC_MEC011_SRV_SRVSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID + the IUT entity having a apps_instance containing + instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID + the IUT entity "not" having a subscriptions containing + subscription_id indicating value NOT_EXISTENT_SUBSCRIPTION_ID ; } @@ -360,7 +364,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 22d90ec..9037876 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_TIME { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TimingCaps" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/TimingCaps" //Outdated Config Id Config_MEC_1 @@ -60,7 +60,7 @@ Package MEC_MEC011_SRV_TIME { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/CurrentTime" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L410#/definitions/CurrentTime" //Outdated Config Id Config_MEC_1 @@ -84,7 +84,11 @@ Package MEC_MEC011_SRV_TIME { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - CurrentTime set to any_value + CurrentTime containing + seconds set to CURRENT_TIME_SECONDS, + nanoSeconds set to CURRENT_TIME_NANOSECONDS, + timeSourceStatus set to TIME_SOURCE_STATUS + ; ; ; to the MEC_APP entity diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index ed41a6c..3a66fee 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -7,7 +7,6 @@ Package MEC_MEC011_SRV_TRAF { import all from MEC_Common; - /* * Traffic rules (TRAF) */ @@ -19,7 +18,7 @@ Package MEC_MEC011_SRV_TRAF { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.7.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -46,9 +45,7 @@ Package MEC_MEC011_SRV_TRAF { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - TrafficRuleList containing - TrafficRule set to any_value - ; + TrafficRule set to any_value //@TODO: Should be a list of TrafficRules. How can this be expressed in TDL ; ; to the MEC_APP entity @@ -105,7 +102,7 @@ Package MEC_MEC011_SRV_TRAF { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -154,7 +151,7 @@ Package MEC_MEC011_SRV_TRAF { when commanded by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -176,7 +173,6 @@ Package MEC_MEC011_SRV_TRAF { when { the IUT entity receives a vPUT containing uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", - if_match indicating value PROPER_ETAG body containing TrafficRule containing action indicating value "DROP" @@ -231,7 +227,6 @@ Package MEC_MEC011_SRV_TRAF { when { the IUT entity receives a vPUT containing uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", - if_match indicating value PROPER_ETAG body containing TrafficRule containing // Invalid parameter value should trigger an error response. @@ -281,7 +276,6 @@ Package MEC_MEC011_SRV_TRAF { when { the IUT entity receives a vPUT containing uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{NON_EXISTENT_TRAFFIC_RULE_ID}", - if_match indicating value PROPER_ETAG body containing TrafficRule containing action indicating value "DROP" @@ -300,7 +294,10 @@ Package MEC_MEC011_SRV_TRAF { } } - +/* + + //@TODO: Commented as ETag is not mandatory + Test Purpose { TP Id "TP_MEC_MEC011_SRV_TRAF_003_PF" @@ -348,4 +345,5 @@ Package MEC_MEC011_SRV_TRAF { } } } +*/ } diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index a36a7e9..5d7ee30 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_TRANS { when queried by a MEC Application" Reference "ETSI GS MEC 011 2.2.1, clause 8.2.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TransportInfo" //Outdated + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/definitions/TransportInfo" //Outdated Config Id Config_MEC_1 @@ -43,9 +43,7 @@ Package MEC_MEC011_SRV_TRANS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - TransportInfoList containing - TransportInfo set to any_value - ; + TransportInfo set to any_value // @TODOL Should be a TransportInfo list. How to express this in TDL? ; ; to the MEC_APP entity diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index b7ee384..393d1fe 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -160,6 +160,7 @@ Package MEC_Common { headers set to vHeadersResponse ; + } Configuration { -- GitLab From 331bca40c40ed3a213080c593c8773eaa8d06e06 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 5 Jul 2021 09:27:18 +0200 Subject: [PATCH 32/63] Add new TPs for MEC028 v2.2.1 --- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 16 +- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 26 +- .../MEC028/SRV/WAI/Measurement.tplan2 | 519 ++++++++++++++++++ .../SRV/WAI/NotificationCallback.tplan2 | 4 +- .../MEC028/SRV/WAI/StationInfo.tplan2 | 16 +- .../MEC028/SRV/WAI/Subscription.tplan2 | 36 +- 6 files changed, 568 insertions(+), 49 deletions(-) create mode 100644 Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index 2a87620..3d1d3ec 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_001_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point" - Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" + Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 @@ -30,7 +30,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/ap/ap_information" + uri indicating value "/wai/v2/queries/ap/ap_information" ; from the MEC_APP entity } @@ -56,8 +56,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_002_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter " - Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" + Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 @@ -76,7 +76,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/ap/ap_information", + uri indicating value "/wai/v2/queries/ap/ap_information", query_parameters containing macId indicating value MAC_ID ; @@ -106,7 +106,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1" Config Id Config_MEC_4 @@ -122,7 +122,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/ap/ap_information", + uri indicating value "/wai/v2/queries/ap/ap_information", query_parameters containing mac indicating value MAC_ID ; diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 1e9f413..b49c5b2 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_008_OK" Test objective "Check that the IUT responds with the list of Subscription" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 @@ -28,7 +28,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}" ; from the MEC_APP entity } @@ -57,7 +57,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.1" Config Id Config_MEC_4 @@ -74,7 +74,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_APP entity } @@ -94,7 +94,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_009_OK" Test objective "Check that the IUT responds with a Notification Subscription when it is modified" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.2" Config Id Config_MEC_4 @@ -119,7 +119,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPUT containing - uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}" body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", @@ -162,7 +162,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_009_BR" Test objective "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.2" Config Id Config_MEC_4 @@ -188,7 +188,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPUT containing - uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}" body containing AssocStaSubscription containing subscriptionType set to "INVALID_VALUE", @@ -219,7 +219,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_010_OK" Test objective "Check that the IUT responds with 204 when an existing subscription is correctly deleted" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.5" Config Id Config_MEC_4 @@ -244,7 +244,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vDELETE containing - uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}" ; from the MEC_APP entity } @@ -263,7 +263,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_010_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" - Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" + Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.5" Config Id Config_MEC_4 @@ -280,7 +280,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vDELETE containing - uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/wai/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 new file mode 100644 index 0000000..e609ba4 --- /dev/null +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -0,0 +1,519 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC028_SRV_WAI { + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_012_OK" + Test objective + "Check that the IUT responds with a list of measurement configurations available from the WLAN Access Information Service" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig set to ANY_VALUE + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v2/queries/measurements" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + MeasurementConfigLinkList containing + measurementConfig set to ANY_VALUE + ; + ; + ; + to the MEC_APP entity + } + } + } + + //Bad request + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_012_BR" + Test objective + "Check that the IUT responds with an error when a request with + incorrect parameters is sent by a MEC Application" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig set to ANY_VALUE + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + // How to trigger an error response. + uri indicating value "/wai/v2/queries/measurements" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + //Bad request + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_012_NF" + Test objective + "Check that the IUT responds with an error when a request with + incorrect parameters is sent by a MEC Application" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.1" + + Config Id Config_MEC_4 + + PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity "not" having a MeasurementConfig + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v2/queries/measurements" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.1 + the IUT entity sends + a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_013_OK" + Test objective + "Check that the IUT responds with with a new measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.4", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST containing + uri indicating value "/wai/v2/queries/measurements" + body containing + MeasurementConfigLinkList containing + measurementConfig set to CONFIG_VALUE + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + MeasurementConfigLinkList containing + measurementConfig indicating value CONFIG_VALUE containing + links indicating value H_LINKS + ; + ; + ; + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_013_BR" + Test objective + "Check that the IUT responds with an error when an invalid request is sent" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.4", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST containing + uri indicating value "/wai/v2/queries/measurements" + // How to trigger an error response. + body containing + MeasurementConfigLinkList containing + measurementConfig set to CONFIG_VALUE + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_013_NF" + Test objective + "Check that the IUT respondswith an error when an invalid request is sent" + Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.4", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPOST containing + uri indicating value "/wai/v2/queries/measurements_INVALID_URI" + // How to trigger an error response. + body containing + MeasurementConfigLinkList containing + measurementConfig set to CONFIG_VALUE + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.7.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_014_OK" + Test objective + "Check that the IUT responds with the specified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + MeasurementConfigLinkList containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_014_NF" + Test objective + "Check that the IUT responds with the specified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vGET containing + uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_015_OK" + Test objective + "Check that the IUT responds with the modified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.2", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPUT containing + uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}", + body containing + MeasurementConfigLinkList containing + links set to "{measurementConfigId}", + measurementConfig set to NEW_CONFIG_VALUE + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + MeasurementConfigLinkList containing + links set to "{measurementConfigId}", + measurementConfig set to NEW_CONFIG_VALUE + ; + ; + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_015_NF" + Test objective + "Check that the IUT responds with the modified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.2", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vPUT containing + uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}", + body containing + MeasurementConfigLinkList containing + links set to "{measurementConfigId}", + measurementConfig set to NEW_CONFIG_VALUE + ; + ; + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_016_OK" + Test objective + "Check that the IUT responds with with 204 when requested to delete the specified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.5", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vDELETE containing + uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC028_SRV_WAI_016_NF" + Test objective + "Check that the IUT responds with with 204 when requested to delete the specified measurement configuration" + Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.5", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + + Config Id Config_MEC_4 + + PICS Selection PIC_SERVICES and PIC_MEC_PLAT + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a MeasurementConfig containing + measurementConfig containing + links set to "{measurementConfigId}", + measurementConfig set to CONFIG_VALUE + ; + ; + } + // MEC 028, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives + a vDELETE containing + uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}" + ; + from the MEC_APP entity + } + then { + // MEC 028, clause 7.8.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } + +} + diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 322e474..9a7d5f8 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -13,8 +13,8 @@ Package MEC_MEC028_SRV_WAI { "Check that the IUT sends a notification about WLAN event notification if the MEC service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 028 2.1.1, clause 6.4.2", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml" + Reference "ETSI GS MEC 028 2.2.1, clause 6.4.2", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index 3cdd896..6798a90 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_003_OK" Test objective "Check that the IUT responds with the list of Station Point" - Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" + Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo" Config Id Config_MEC_4 @@ -30,7 +30,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/sta/sta_information" + uri indicating value "/wai/v2/queries/sta/sta_information" ; from the MEC_APP entity } @@ -57,8 +57,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_004_OK" Test objective "Check that the IUT responds with the list of Station Point filtered by the macId provided as query parameter" - Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" + Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo" Config Id Config_MEC_4 @@ -77,7 +77,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/sta/sta_information", + uri indicating value "/wai/v2/queries/sta/sta_information", query_parameters containing macId set to MAC_ID ; @@ -108,7 +108,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1" + Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1" Config Id Config_MEC_4 @@ -124,7 +124,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/queries/sta/sta_information", + uri indicating value "/wai/v2/queries/sta/sta_information", query_parameters containing mac set to MAC_ID ; diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index d2ad95d..6e762ad 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_005_OK" Test objective "Check that the IUT responds with the requested list of subscription" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 @@ -32,7 +32,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions" + uri indicating value "/wai/v2/subscriptions" ; from the MEC_APP entity } @@ -64,8 +64,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_006_OK" Test objective "Check that the IUT responds with the requested list of subscription" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 @@ -86,7 +86,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions" + uri indicating value "/wai/v2/subscriptions" query_parameters containing href indicating value "uri/to/subscription", subscription_type indicating value "assoc_sta" @@ -123,8 +123,8 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_006_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 @@ -139,7 +139,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions" + uri indicating value "/wai/v2/subscriptions" query_parameters containing subscription_type indicating value "assocStaSub" ; @@ -163,7 +163,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1" Config Id Config_MEC_4 @@ -178,7 +178,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v1/subscriptions_INVALID_URI" + uri indicating value "/wai/v2/subscriptions_INVALID_URI" ; from the MEC_APP entity } @@ -199,7 +199,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_007_OK" Test objective "Check that the IUT responds with a Notification Subscription" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.4" Config Id Config_MEC_4 @@ -214,7 +214,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing - uri indicating value "/wai/v1/subscriptions" + uri indicating value "/wai/v2/subscriptions" body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", @@ -238,7 +238,7 @@ Package MEC_MEC028_SRV_WAI { subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, self containing - href set to "/wai/v1/subscriptions/{SUBSCRIPTION_ID}", + href set to "/wai/v2/subscriptions/{SUBSCRIPTION_ID}", apId containing macId set to MAC_ID ; @@ -256,7 +256,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_007_BR" Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.4" Config Id Config_MEC_4 @@ -272,7 +272,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing - uri indicating value "/wai/v1/subscriptions" + uri indicating value "/wai/v2/subscriptions" body containing AssocStaSubscription containing subscriptionType set to "INVALID_VALUE" @@ -298,7 +298,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" - Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 028 2.2.1, clause 7.5.3.1" Config Id Config_MEC_4 @@ -313,7 +313,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing - uri indicating value "/wai/v1/subscriptions_INVALID_URI", + uri indicating value "/wai/v2/subscriptions_INVALID_URI", body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", -- GitLab From df858e157f7fceb92a22edfd734328f54c4066b2 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 12 Jul 2021 10:58:30 +0200 Subject: [PATCH 33/63] Review TPs for MEC028 v2.2.1 --- .../MEC028/SRV/WAI/Measurement.tplan2 | 94 ++++++++++++------- 1 file changed, 60 insertions(+), 34 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index e609ba4..ca3dcb2 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -128,9 +128,9 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_013_OK" Test objective - "Check that the IUT responds with with a new measurement configuration" + "Check that the IUT responds with a new measurement configuration" Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.4", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfig" Config Id Config_MEC_4 @@ -147,8 +147,10 @@ Package MEC_MEC028_SRV_WAI { a vPOST containing uri indicating value "/wai/v2/queries/measurements" body containing - MeasurementConfigLinkList containing - measurementConfig set to CONFIG_VALUE + MeasurementConfig containing + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; ; @@ -159,10 +161,11 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - MeasurementConfigLinkList containing - measurementConfig indicating value CONFIG_VALUE containing - links indicating value H_LINKS - ; + MeasurementConfig containing + links indicating value H_LINKS, + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; ; @@ -194,8 +197,11 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements" // How to trigger an error response. body containing - MeasurementConfigLinkList containing - measurementConfig set to CONFIG_VALUE + MeasurementConfig containing + links indicating value H_LINKS, + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; ; @@ -214,7 +220,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_013_NF" Test objective - "Check that the IUT respondswith an error when an invalid request is sent" + "Check that the IUT responds with an error when an invalid request is sent" Reference "ETSI GS MEC 028 2.2.1, clause 7.7.3.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" @@ -232,10 +238,12 @@ Package MEC_MEC028_SRV_WAI { the IUT entity receives a vPOST containing uri indicating value "/wai/v2/queries/measurements_INVALID_URI" - // How to trigger an error response. body containing - MeasurementConfigLinkList containing - measurementConfig set to CONFIG_VALUE + MeasurementConfig containing + links indicating value H_LINKS, + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; ; @@ -286,9 +294,11 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + MeasurementConfig containing + links indicating value "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; ; @@ -312,8 +322,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; } @@ -352,8 +364,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; } @@ -365,9 +379,11 @@ Package MEC_MEC028_SRV_WAI { a vPUT containing uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}", body containing - MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - measurementConfig set to NEW_CONFIG_VALUE + MeasurementConfig containing + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to NEW_CONFIG_VALUE ; ; ; @@ -379,8 +395,10 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - measurementConfig set to NEW_CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to NEW_CONFIG_VALUE ; ; ; @@ -404,8 +422,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; } @@ -418,8 +438,10 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}", body containing MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - measurementConfig set to NEW_CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to NEW_CONFIG_VALUE ; ; ; @@ -450,8 +472,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to NCONFIG_VALUE ; ; } @@ -490,8 +514,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE + links set to "{measurementConfigId}", + staId set to STA_ID, + measurementId set to MEAS_ID, + measurementInfo set to CONFIG_VALUE ; ; } -- GitLab From 8211dac15cef981407bb55b3265ed04786ac1de4 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 12 Jul 2021 11:15:02 +0200 Subject: [PATCH 34/63] Review TPs for MEC028 v2.2.1 --- Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index ca3dcb2..5561416 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -310,7 +310,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_014_NF" Test objective - "Check that the IUT responds with the specified measurement configuration" + "Check that the IUT responds with an error when an invalid request is sent" Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" @@ -410,7 +410,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_015_NF" Test objective - "Check that the IUT responds with the modified measurement configuration" + "Check that the IUT responds with an error when an invalid request is sent" Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" @@ -502,7 +502,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_016_NF" Test objective - "Check that the IUT responds with with 204 when requested to delete the specified measurement configuration" + "Check that the IUT responds with an error when an invalid request is sent" Reference "ETSI GS MEC 028 2.2.1, clause 7.8.3.5", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" -- GitLab From 20c245989919d3be7f1d3da8ed3a9b3109b087c9 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Mon, 12 Jul 2021 14:14:30 +0200 Subject: [PATCH 35/63] Fixes on MEC028 v2.2.1 --- .../MEC028/SRV/WAI/Measurement.tplan2 | 117 +++++++++--------- 1 file changed, 59 insertions(+), 58 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index 5561416..4c9e34e 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -48,6 +48,7 @@ Package MEC_MEC028_SRV_WAI { } } +/* //Bad request Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_012_BR" @@ -124,7 +125,7 @@ Package MEC_MEC028_SRV_WAI { } } } - + */ Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_013_OK" Test objective @@ -145,25 +146,27 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing - uri indicating value "/wai/v2/queries/measurements" + uri indicating value "/wai/v2/queries/measurements", body containing - MeasurementConfig containing - staId set to STA_ID, + MeasurementConfig containing measurementId set to MEAS_ID, - measurementInfo set to CONFIG_VALUE + measurementInfo set to CONFIG_VALUE, + StaIdentity containing + staId set to STA_ID + ; ; ; ; from the MEC_APP entity - } - then { + } then { // MEC 028, clause 7.7.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing MeasurementConfig containing - links indicating value H_LINKS, - staId set to STA_ID, + StaIdentity containing + staId set to STA_ID + ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE ; @@ -198,8 +201,9 @@ Package MEC_MEC028_SRV_WAI { // How to trigger an error response. body containing MeasurementConfig containing - links indicating value H_LINKS, - staId set to STA_ID, + StaIdentities containing // StaIdentity is misspelled + staId set to STA_ID + ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE ; @@ -216,7 +220,7 @@ Package MEC_MEC028_SRV_WAI { } } } - +/* Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_013_NF" Test objective @@ -241,7 +245,9 @@ Package MEC_MEC028_SRV_WAI { body containing MeasurementConfig containing links indicating value H_LINKS, - staId set to STA_ID, + StaIdentity containing + staId set to STA_ID + ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE ; @@ -258,7 +264,7 @@ Package MEC_MEC028_SRV_WAI { } } } - + */ Test Purpose { TP Id "TP_MEC_MEC028_SRV_WAI_014_OK" Test objective @@ -273,10 +279,9 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing - measurementConfig containing - links set to "{measurementConfigId}", - measurementConfig set to CONFIG_VALUE - ; + measurementConfig containing + measurementId set to MEASUREMENT_CONFIG_ID + ; ; } // MEC 028, clause 5.2.7 @@ -285,7 +290,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}" + uri indicating value "/wai/v2/queries/measurements/{MEASUREMENT_CONFIG_ID}" ; from the MEC_APP entity } @@ -295,9 +300,10 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfig containing - links indicating value "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to CONFIG_VALUE ; ; @@ -320,12 +326,9 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a MeasurementConfig containing + the IUT entity "not" having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, - measurementInfo set to CONFIG_VALUE + measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; ; } @@ -335,7 +338,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}" + uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}" ; from the MEC_APP entity } @@ -364,9 +367,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to INVALID_MEASUREMENT_CONFIG_ID, measurementInfo set to CONFIG_VALUE ; ; @@ -380,9 +384,10 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}", body containing MeasurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE ; ; @@ -395,9 +400,10 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE ; ; @@ -420,12 +426,9 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a MeasurementConfig containing + the IUT entity "not" having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, - measurementInfo set to CONFIG_VALUE + measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; ; } @@ -435,12 +438,13 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPUT containing - uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}", + uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}", body containing MeasurementConfigLinkList containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to INVALID_MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE ; ; @@ -472,9 +476,10 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, + StaIdentity containing + staId set to STA_ID + ;, + measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NCONFIG_VALUE ; ; @@ -485,7 +490,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vDELETE containing - uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}" + uri indicating value "/wai/v2/queries/measurements/{MEASUREMENT_CONFIG_ID}" ; from the MEC_APP entity } @@ -512,14 +517,10 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a MeasurementConfig containing - measurementConfig containing - links set to "{measurementConfigId}", - staId set to STA_ID, - measurementId set to MEAS_ID, - measurementInfo set to CONFIG_VALUE + the IUT entity "not" having a + MeasurementConfig containing + measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; - ; } // MEC 028, clause 5.2.7 Expected behaviour @@ -527,7 +528,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vDELETE containing - uri indicating value "/wai/v2/queries/measurements/{Invalid_measurementConfigId}" + uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}" ; from the MEC_APP entity } -- GitLab From a984b9796410342e8e6b398e972bc94f10b0ca0b Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 16 Jul 2021 18:59:45 +0200 Subject: [PATCH 36/63] Minor fix on reference of MEC011 TPs. --- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index bf78a67..622d4e1 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -206,7 +206,7 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT responds with the information on a specific subscription when queried by a MEC Application" - Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1", + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L508#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -233,7 +233,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.4.3.1 + // MEC 011 2.2.1, clause 8.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -256,7 +256,7 @@ Package MEC_MEC011_SRV_SRVSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.1" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.9.3.1" Config Id Config_MEC_1 @@ -282,7 +282,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.4.3.1 + // MEC 011 2.2.1, clause 8.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -299,7 +299,7 @@ Package MEC_MEC011_SRV_SRVSUB { "Check that the IUT acknowledges the unsubscribe from service availability event notifications when commanded by a MEC Application" - Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -325,7 +325,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.4.3.5 + // MEC 011 2.2.1, clause 8.2.9.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -343,7 +343,7 @@ Package MEC_MEC011_SRV_SRVSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 011 2.2.1, clause 7.2.4.3.5" + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -369,7 +369,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.4.3.5 + // MEC 011 2.2.1, clause 8.2.9.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; -- GitLab From 1b331eb0d166ef40c9c0bcc6355597ce74e25c10 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 19 Jul 2021 17:52:34 +0200 Subject: [PATCH 37/63] Fixes on MEC011 TPs. --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 27f7f0a..5978001 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -555,4 +555,82 @@ Package MEC_MEC011_SRV_APPSAQ { } */ + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_APPSAQ_005_OK" + + Test objective + "Check that the IUT executes the deletion of a service + for a given application instance when requested by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity having a apps_instance containing + instance_id indicating value APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.7.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_APPSAQ_005_NF" + + Test objective + "Check that the IUT responds with an error when + a request for deletion of a unknown service is sent by a MEC Application" + + Reference "ETSI GS MEC 011 2.2.1, clause 8.2.7.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity not having a apps_instance containing + instance_id indicating value APP_INSTANCE_ID + ; + } + + // MEC 011 2.2.1, clause 5.2.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" + ; + from the MEC_APP entity + } + then { + // MEC 011 2.2.1, clause 8.2.7.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_APP entity + } + } + } } -- GitLab From c08bdd74e165e2ea03b63cc575d775bfa84f6129 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Thu, 22 Jul 2021 12:15:05 +0200 Subject: [PATCH 38/63] Update Measurement.tplan2 --- .../MEC028/SRV/WAI/Measurement.tplan2 | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index 4c9e34e..2406cac 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -151,8 +151,8 @@ Package MEC_MEC028_SRV_WAI { MeasurementConfig containing measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE, - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ; ; ; @@ -164,8 +164,8 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfig containing - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE @@ -201,8 +201,8 @@ Package MEC_MEC028_SRV_WAI { // How to trigger an error response. body containing MeasurementConfig containing - StaIdentities containing // StaIdentity is misspelled - staId set to STA_ID + statId containing //staId is misspelled + macId set to MAC_ID ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE @@ -245,8 +245,8 @@ Package MEC_MEC028_SRV_WAI { body containing MeasurementConfig containing links indicating value H_LINKS, - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE @@ -300,8 +300,8 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfig containing - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to CONFIG_VALUE @@ -367,8 +367,8 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to INVALID_MEASUREMENT_CONFIG_ID, measurementInfo set to CONFIG_VALUE @@ -384,9 +384,9 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}", body containing MeasurementConfig containing - StaIdentity containing - staId set to STA_ID - ;, + staId containing + macId set to MAC_ID + ;, measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE ; @@ -400,9 +400,9 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfigLinkList containing - StaIdentity containing - staId set to STA_ID - ;, + staId containing + macId set to MAC_ID + ;, measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE ; @@ -441,8 +441,8 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}", body containing MeasurementConfigLinkList containing - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to INVALID_MEASUREMENT_CONFIG_ID, measurementInfo set to NEW_CONFIG_VALUE @@ -476,8 +476,8 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing - StaIdentity containing - staId set to STA_ID + staId containing + macId set to MAC_ID ;, measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to NCONFIG_VALUE -- GitLab From c7697cdb5bc1913dcb693fff18a5213cffd1913b Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 29 Nov 2021 15:41:35 +0100 Subject: [PATCH 39/63] Review MEC-010-2 Granting --- .../MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 63 ++++++- .../MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 158 +++++++++++++++--- 2 files changed, 188 insertions(+), 33 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index be49b34..d76a735 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -7,15 +7,64 @@ Package MEC_MEC010p2_MEO_GRANT_BI { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" + + Test objective + "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operationERROR set to INSTANTIATE, + not addResources, + _links + ; + ; + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" Test objective "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -46,11 +95,11 @@ Package MEC_MEC010p2_MEO_GRANT_BI { status set to "400 Bad Request" ; to the MEPM entity } - } + } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" Test objective "Check that MEO responds with an error when it receives @@ -79,6 +128,6 @@ Package MEC_MEC010p2_MEO_GRANT_BI { status set to "404 Not Found" ; to the MEPM entity } - } + } } } diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index 573d108..56aaea0 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -10,11 +10,13 @@ Package MEC_MEC010p2_MEO_GRANT_BV { TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" Test objective - "Check that MEO sends a synchronous grant response when a grant request is requested" + "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -34,13 +36,69 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, - operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE + operation set to INSTANTIATE, + addResources set to INST_RESOURCES_LIST + _links;;; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location indicating value "{GRANTING_ID}" + body containing + Grant containing + id set to any_value, + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + addResources set to INST_RESOURCES_LIST, + _links + ; + ; + ; to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" + + Test objective + "Check that MEO sends a synchronous grant response when a grant request is requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE _links;;; from the MEPM entity } then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + ; body containing Grant containing id set to any_value, @@ -53,19 +111,20 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" Test objective "Check that MEO sends a asynchronous grant response when a grant request is requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.2.2-1" //GrantRequest - - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -84,7 +143,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, appDId set to any_value, - operation set to OPERATION_TYPE, //Shall be one from - INSTANTIATE - OPERATE - TERMINATE + operation set to INSTANTIATE, + addResources set to INST_RESOURCES_LIST, _links ; ; @@ -101,18 +161,65 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" Test objective - "Check that MEO sends the status of a grant request when a query on a granting ID is performed" + "Check that MEO sends a asynchronous grant response when a grant request is requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" - - - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE + _links + ; + ; + ; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + ; + ; to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK" + + Test objective + "Check that MEO sends the status of a grant request when a query on a granting ID is performed" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" + Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -142,16 +249,15 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK" Test objective "Check that MEO sends the status of a grant request when a query on a granting ID is performed" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.4.4.2-1" //Grant - - - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" + Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -182,6 +288,6 @@ Package MEC_MEC010p2_MEO_GRANT_BV { ; to the MEPM entity } } - } + } } -- GitLab From f6b9332f349eb3635cfbda00fc483a8d50e2e5f1 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 29 Nov 2021 15:43:06 +0100 Subject: [PATCH 40/63] Review MEC-028 --- .../MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 | 8 ++++---- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 16169d9..73d2f87 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -13,7 +13,7 @@ copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ -Package MEC_MEC013_SRV_UEINFOLOOK { +Package MEC_MEC013_SRV_UEINFLOOK { import all from MEC_Common; @@ -23,7 +23,7 @@ Package MEC_MEC013_SRV_UEINFOLOOK { */ Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK" + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -71,7 +71,7 @@ Package MEC_MEC013_SRV_UEINFOLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_BR" Test objective "Check that the IUT responds with an error when @@ -117,7 +117,7 @@ Package MEC_MEC013_SRV_UEINFOLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_NF" Test objective "Check that the IUT responds with an error when diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 6e762ad..13fa67f 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -88,7 +88,6 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v2/subscriptions" query_parameters containing - href indicating value "uri/to/subscription", subscription_type indicating value "assoc_sta" ; ; -- GitLab From b58a1a80a09561b4b70851f57bfc8d06031b7310 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 1 Dec 2021 09:02:24 +0100 Subject: [PATCH 41/63] Review and enhanced Granting ATS --- .../MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 267 ++++---- .../MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 587 +++++++++--------- 2 files changed, 428 insertions(+), 426 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index d76a735..45bbc6a 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -1,133 +1,134 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_MEO_GRANT_BI { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" - - Test objective - "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operationERROR set to INSTANTIATE, - not addResources, - _links - ; - ; - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" - - Test objective - "Check that MEO responds with an error when it receives - a malformed request when a new grant request is performed" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operationERROR set to OPERATION_TYPE //parameter should be named operation not operationType - attribute _links - ; - ; - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" - - Test objective - "Check that MEO responds with an error when it receives - a request for returning a grant referred with a wrong ID" - - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_MANAGEMENT - - Initial conditions with { - the IUT entity "not" having a grant containing - id indicating value GRANTING_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/granting/v1/grants/{GRANTING_ID}" - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEPM entity - } - } - } -} +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ +Package MEC_MEC010p2_MEO_GRANT_BI { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" + + Test objective + "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operationERROR set to INSTANTIATE, + not addResources, + _links + ; + ; + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" + + Test objective + "Check that MEO responds with an error when it receives + a malformed request when a new grant request is performed" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operationERROR set to OPERATION_TYPE, //parameter should be named operation not operationType + _links + ; + ; + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" + + Test objective + "Check that MEO responds with an error when it receives + a request for returning a grant referred with a wrong ID" + + Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a grant containing + id indicating value GRANTING_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/granting/v1/grants/{GRANTING_ID}" + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEPM entity + } + } + } +} diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index 56aaea0..d5a5c18 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -1,293 +1,294 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_MEO_GRANT_BV { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" - - Test objective - "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operation set to INSTANTIATE, - addResources set to INST_RESOURCES_LIST - _links;;; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - headers containing - Location indicating value "{GRANTING_ID}" - body containing - Grant containing - id set to any_value, - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - addResources set to INST_RESOURCES_LIST, - _links - ; - ; - ; to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" - - Test objective - "Check that MEO sends a synchronous grant response when a grant request is requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links;;; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - headers containing - Location set to "/granting/v1/grants/{GRANTING_ID}" - ; - body containing - Grant containing - id set to any_value, - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - _links - ; - ; - ; to the MEPM entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" - - Test objective - "Check that MEO sends a asynchronous grant response when a grant request is requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operation set to INSTANTIATE, - addResources set to INST_RESOURCES_LIST, - _links - ; - ; - ; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to "/granting/v1/grants/{GRANTING_ID}" - ; - ; to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" - - Test objective - "Check that MEO sends a asynchronous grant response when a grant request is requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links - ; - ; - ; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to "/granting/v1/grants/{GRANTING_ID}" - ; - ; to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK" - - Test objective - "Check that MEO sends the status of a grant request when a query on a granting ID is performed" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_MANAGEMENT - - Initial conditions with { - the IUT entity having a grant containing - id indicating value GRANTING_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/granting/v1/grants/{GRANTING_ID}" - ; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to "/granting/v1/grants/{GRANTING_ID}" - ; - ; to the MEPM entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK" - - Test objective - "Check that MEO sends the status of a grant request when a query on a granting ID is performed" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_MANAGEMENT - - Initial conditions with { - the IUT entity having a grant containing - id indicating value GRANTING_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/granting/v1/grants/{GRANTING_ID}" - ; - from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - Grant containing - id set to GRANTING_ID, - appInstanceId set to any_value, - appLcmOpOccId set to any_value, - _links - ; - ; - ; to the MEPM entity - } - } - } - -} +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ +Package MEC_MEC010p2_MEO_GRANT_BV { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_OK" + + Test objective + "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to INSTANTIATE, + addResources set to INST_RESOURCES_LIST + _links;;; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location indicating value "{GRANTING_ID}" + body containing + Grant containing + id set to any_value, + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + addResources set to INST_RESOURCES_LIST, + _links + ; + ; + ;; + to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" + + Test objective + "Check that MEO sends a synchronous grant response when a grant request is requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE + _links;;; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + body containing + Grant containing + id set to any_value, + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + _links + ; + ; + ;; + to the MEPM entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" + + Test objective + "Check that MEO sends a asynchronous grant response when a grant request is requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to INSTANTIATE, + addResources set to INST_RESOURCES_LIST, + _links + ; + ; + ; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + ; + ; to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_004_OK" + + Test objective + "Check that MEO sends a asynchronous grant response when a grant request is requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_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 "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE + _links + ; + ; + ; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + ; + ; to the MEPM entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK" + + Test objective + "Check that MEO sends the status of a grant request when a query on a granting ID is performed" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_MANAGEMENT + + Initial conditions with { + the IUT entity having a grant containing + id indicating value GRANTING_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/granting/v1/grants/{GRANTING_ID}" + ; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/granting/v1/grants/{GRANTING_ID}" + ; + ; to the MEPM entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK" + + Test objective + "Check that MEO sends the status of a grant request when a query on a granting ID is performed" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_MANAGEMENT + + Initial conditions with { + the IUT entity having a grant containing + id indicating value GRANTING_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/granting/v1/grants/{GRANTING_ID}" + ; + from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + Grant containing + id set to GRANTING_ID, + appInstanceId set to any_value, + appLcmOpOccId set to any_value, + _links + ; + ; + ; to the MEPM entity + } + } + } + +} -- GitLab From 05859aeef999fcee1260e45638d99a04e29dc2a0 Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 2 Dec 2021 08:52:01 +0100 Subject: [PATCH 42/63] Review MEC-010-2 TPs for PKGM/Mm2 --- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 506 +++++++++--- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 | 730 ++++++++++++------ 2 files changed, 890 insertions(+), 346 deletions(-) diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index 1c03d6c..d680a78 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -8,14 +8,17 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_BR" Test objective - "Check that MEPM responds with an error when it receives - a malformed request for requesting the list of existing App Packages" + "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.1.1, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -25,174 +28,190 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { 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 - ; - ; from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/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 "400 Bad Request" + ; + to the MEO entity } - } - } - - + } + } + Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_NF" Test objective - "Check that MEPM responds with an error when it receives - a request for returning a App Package referred with a wrong ID" + "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.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.1.1, 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 "not" having a App_Package containing - appPkgId indicating value NON_EXISTENT_APP_PKG_ID - ; + 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}" - ; from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" + ; + 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_MEC010p2_MEPM_PKGM_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_01_NF" 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" + "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.1.1, clause 7.4.4.3.2" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.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 - ; + 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 + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; + to 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_MEC010p2_MEPM_PKGM_004_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_02_NF" Test objective - "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" + "Check that MEPM responds with an error when it receives + a request for returning a App Descriptor referred with a wrong appDId" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.4.3.2" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.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 - ; + the IUT entity "not" having a App_Package containing + appPkgId indicating value NON_EXISTENT_APP_PKG_ID, + appDId indicating value NON_EXISTENT_ON_BOARDED_APPD_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 + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTENT_ON_BOARDED_APPD_ID}/appd" + ; + 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_MEC010p2_MEPM_PKGM_005_BR" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_BR" - Test objective - "Check that MEPM service sends an error when it receives a - malformed request for creating a new subscription on AppPackages" + 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.1.1, clause 7.4.5.3.1" - - Config Id Config_MEC_5 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_5 + 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 POST containing - uri indicating value "/apmi/v1/subscriptions", - body containing - AppPkgSubscription containing - subscriptionType set to "ONBOARDING" // Enum should be "ON-BOARDING" - ; + Expected behaviour + ensure that { + when { + the IUT entity receives a POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + subscriptionType set to "ONBOARDING" // Enum should be "ON-BOARDING" + ; + ; ; - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEO entity - } + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEO entity + } } - } + } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_NF" Test objective "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.1.1, clause 7.4.6.3.2" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -207,7 +226,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEO entity } @@ -221,14 +240,17 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_NF" Test objective "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.1.1, clause 7.4.6.3.4" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -243,7 +265,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEO entity } @@ -254,6 +276,250 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { to the MEO entity } } - } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_01_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a POST request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_02_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a POST request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_01_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a PUT request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "403 Forbidden" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_02_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a PUT request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "403 Forbidden" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_01_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a DELETE request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_02_NF" + + Test objective + "Check that MEPM responds with an error when it receives + a DELETE request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + + + + + + + + + + + + + + + + + + + + + } diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index da8b47d..e3c924b 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -6,312 +6,586 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { import all from MEC_Common; - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_01_OK" Test objective - "Check that MEPM returns the list of App Packages when requested" + "Check that MEPM returns the list of App Packages when requested - Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + 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; + Initial conditionswith { + the IUT entity having an App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID; } - + Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages"; - from the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages" + ; + from the MEO entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - OnboardedAppPkgInfoList containing - OnboardedAppPkgInfo containing - appPkgId set to ON_BOARDED_APP_PKG_ID, - appDId set to APPD_ID, - 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 + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfoList containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; ; - ; - ; - ; to the MEO entity + ; + ; + to the MEO entity } } } - //Individual APP packages - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_02_OK" Test objective - "Check that MEPM returns the an App Package when requested" + "Check that MEPM returns the list of on-boarded App Packages when requested - Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + 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; + Initial conditionswith { + the IUT entity having an App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID; } - + Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}"; - from the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages" + ; + from the MEO entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - OnboardedAppPkgInfo containing - 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 + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfoList containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; ; - ; - ; to the MEO entity + ; + ; + to the MEO entity } } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_OK" - + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_01_OK" + Test objective - "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" + "Check that MEPM returns the an App Package when requested - Note 3" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.4.3.2" - 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 - ; + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{appPkgId}/app_descriptor", - accept set to ACCEPTED_CONTENT_TYPE + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}"; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; + ; ; - from the MEO entity + to the MEO entity } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body set to FILE - ; + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_02_OK" + + Test objective + "Check that MEPM returns the an App Package when requested - Note 3" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}"; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; + ; + ; to the MEO entity } } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_01_OK" Test objective - "Check that MEPM returns the content on a on-boarded Application Package when requested" + "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.3.3.2" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + 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 - ; + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}/appPkgContent" - ; - from the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + content_type, + body containing + payload set to FILE + ; + ; + to the MEO entity } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppD set to FILE - ; - ; - to the MEO entity + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_02_OK" + + 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.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + content_type, + body containing + payload set to FILE + ; + ; + to the MEO entity } } - } + } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_01_OK" Test objective - "Check that MEPM service returns an application package subscription when requested" + "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.5.3.1" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.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 having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/apmi/v1/subscriptions" - body containing - AppPkgSubscription containing - callbackUri set to URI, - subscriptionType set to SUBSCRIPTION_TYPE + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE ; ; - ; - from the MEO entity + to the MEO 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 SUBSCRIPTION_TYPE, - callbackUri set to URI, - attribute _links + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_02_OK" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appDId. when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE ; ; - ; - to the MEO entity + to the MEO entity } } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_02_OK" Test objective - "Check that MEPM service returns the list of Application Package Subscriptions when requested" + "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.5.3.2" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appPkgContent", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_OK" + + Test objective + "Check that MEPM service returns an application package subscription when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_5 + 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 vGET containing - uri indicating value "/apmi/v1/subscriptions" - ; - from the MEO entity + the IUT entity receives a vPOST containing + uri indicating value "/app_pkgm/v1/subscriptions" + body containing + AppPkgSubscription containing + callbackUri set to URI, + subscriptionType set to SUBSCRIPTION_TYPE + ; + ; + ; + from the MEO entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppPkgSubscriptionInfoList containing - AppPkgSubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to any_value, - callbackUri set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - ; - to the MEO entity + 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 SUBSCRIPTION_TYPE, + callbackUri set to URI, + _links + ; + ; + ; + to the MEO entity } } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_OK" + + Test objective + "Check that MEPM service returns the list of Application Package Subscriptions when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_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 vGET containing + uri indicating value "/app_pkgm/v1/subscriptions" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgSubscriptionInfoList containing + AppPkgSubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to any_value, + callbackUri set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + ; + to the MEO entity + } + } + } Test Purpose { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_OK" Test objective - "Check that MEPM service returns an Application Package Subscription when requested" + "Check that MEPM service returns an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.6.3.2" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEO entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEO 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 any_value, - callbackUri set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - to the MEO entity + 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 any_value, + callbackUri set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + to the MEO entity } } } @@ -320,78 +594,82 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_OK" Test objective - "Check that MEPM service deletes an Application Package Subscription when requested" + "Check that MEPM service deletes an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.4.6.3.4" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + 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 "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; - to the MEO entity + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; + to the MEO entity } } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" - - Test objective - "Check that the MEPM service sends a application package notification - if the MEPM service has an associated subscription and the event is generated" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" + + Test objective + "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.1.1, clause 7.4.7.3.1" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.5.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.6" Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to CALLBACK_URI, - attribute _links - ; + the IUT entity having a Subscription containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to CALLBACK_URI, + _links + ; } Expected behaviour ensure that { - when { - the IUT entity generates a on_boarding_event containing - 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 any_value, - subscriptionId set to SUBSCRIPTION_ID, - timeStamp set to any_value, - appPkgId set to any_value, - appDId set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" + when { + the IUT entity generates a on_boarding_event containing + 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 any_value, + subscriptionId set to SUBSCRIPTION_ID, + timeStamp set to any_value, + appPkgId set to any_value, + appDId set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; - ; - ; to the MEC_SUB entity + ; + to the MEC_SUB entity } } } -- GitLab From e76d7bc152fd06124a59b1a41a7d93ca0ce32cde Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 3 Jan 2022 12:56:40 +0100 Subject: [PATCH 43/63] Updated Application LCM TPs of MEC010p2. --- .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 120 +++++++------- .../MEX/LCM/AppInstanceMgmt_BV.tplan2 | 153 +++++++++++------- .../LCM/AppInstanceMgmt_notifications.tplan2 | 24 +-- 3 files changed, 169 insertions(+), 128 deletions(-) diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index b701f09..cd6366d 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -10,12 +10,12 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_MEX_LCM_001_BR" Test objective - "Check that MEC API providersends an error when it receives a malformed request + "Check that MEC API provider sends an error when it receives a malformed request for the creation of a new App Instance" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -29,10 +29,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances", + uri indicating value "/app_lcm/v1/app_instances", body containing CreateAppInstanceRequest containing - appDDDId set to APP_D_ID + appDDDId set to APP_D_ID //Wrong parameter into the request body ; ; ; from the MEC_CONSUMER entity @@ -50,10 +50,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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" + "Check that MEC API provider fails on retrieving an App Instance when requested using wrong appInstanceId" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -68,7 +68,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" ; from the MEC_CONSUMER entity } then { @@ -85,10 +85,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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" + "Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -103,7 +103,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" ; from the MEC_CONSUMER entity } then { @@ -119,10 +119,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_MEX_LCM_005_BR" Test objective - "Check that MEC API providerservice fails to instantiate an App Instance when it receives a malformed request" + "Check that MEC API provider service fails to instantiate an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -139,10 +139,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", body containing InstantiateAppRequest containing - appERRORId set to APP_INSTANCE_ID //wrong name of the parameter + appERRORId set to APP_INSTANCE_ID //wrong name of the parameter ; ; ; from the MEC_CONSUMER entity @@ -159,11 +159,11 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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 + "Check that MEC API provider 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.1.1, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -178,7 +178,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" ; from the MEC_CONSUMER entity } then { @@ -193,10 +193,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_MEX_LCM_006_BR" Test objective - "Check that MEC API providerservice fails to terminate an App Instance when it receives a malformed request" + "Check that MEC API provider service fails to terminate an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -213,10 +213,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", body containing TerminateAppRequest containing - terminationERRORType set to GRACEFULL //wrong parameter + terminationERRORType set to GRACEFUL //wrong parameter ; ; ; from the MEC_CONSUMER entity @@ -233,11 +233,11 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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 + "Check that MEC API provider 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.1.1, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -252,7 +252,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" ; from the MEC_CONSUMER entity } then { @@ -267,10 +267,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_MEX_LCM_007_BR" Test objective - "Check that MEC API providerservice fails to operate on an App Instance when it receives a malformed request" + "Check that MEC API provider service fails to operate on an App Instance when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -286,7 +286,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", body containing OperateAppRequest containing changeERRORStateTo set to any_value //wrong parameter @@ -306,11 +306,11 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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 + "Check that MEC API provider 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.1.1, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -325,7 +325,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" ; from the MEC_CONSUMER entity } then { @@ -340,10 +340,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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" + "Check that MEC API provider service sends an error when it receives a query for a not existing LCM Operation Occurrence" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.10.1.3.2", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.13.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -359,7 +359,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { 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}" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_LCM_OP_OCC_ID}" ; from the MEC_CONSUMER entity } then { @@ -375,12 +375,18 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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.1.1, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo - + "Check that MEC API provider service sends an error when it receives a malformed request to create a LCM Subscription" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -393,7 +399,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/subscriptions" + uri indicating value "/app_lcm/v1/subscriptions" body containing AppInstSubscriptionRequest containing callbackERRORUri set to CALLBACK_URI //wrong parameter @@ -415,9 +421,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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" + "Check that MEC API provider service sends an error when it receives a query for a not existing LCM Subscription" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.2" Config Id Config_MEC_6 @@ -433,7 +439,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_CONSUMER entity } then { @@ -448,9 +454,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { TP Id "TP_MEC_MEC010p2_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" + "Check that MEC API provider service sends an error when it receives a deletion request for a not existing LCM Subscription" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.3.3.2" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.4" Config Id Config_MEC_6 @@ -466,7 +472,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_CONSUMER entity } then { diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index f446e23..c517320 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -15,9 +15,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider creates a new App Package when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -31,7 +31,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances", + uri indicating value "/app_lcm/v1/app_instances", body containing CreateAppInstanceRequest containing appDId set to APP_D_ID @@ -44,7 +44,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { status set to "201 Created", body containing AppInstanceInfo containing - appInstanceId set to any_value, + id set to any_value, appDId set to APP_D_ID, appProvider set to any_value, appName set to any_value, @@ -52,7 +52,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { appDVersion set to any_value, appPkgId set to any_value, instantiationState set to NOT_INSTANTIATED, - attribute _links + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; ; ; ; to the MEC_CONSUMER entity @@ -67,8 +69,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider retrieves the list of App instances when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -83,7 +85,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances" + uri indicating value "/app_lcm/v1/app_instances" ; from the MEC_CONSUMER entity } then { @@ -100,7 +102,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { appDVersion set to any_value, appPkgId set to any_value, instantiationState set to any_value, - attribute _links + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; ; ; ; @@ -115,8 +119,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider retrieves an App Package when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1" //AppInstanceInfo Config Id Config_MEC_6 @@ -131,7 +135,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" ; from the MEC_CONSUMER entity } then { @@ -147,7 +151,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { appDVersion set to any_value, appPkgId set to any_value, instantiationState set to any_value, - attribute _links + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; ; ; ; to the MEC_CONSUMER entity @@ -163,7 +169,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service deletes an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.4" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4" Config Id Config_MEC_6 @@ -178,7 +184,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}" + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" ; from the MEC_CONSUMER entity } then { @@ -196,8 +202,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service instantiates an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.6.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.7.2-1" // InstantiateAppRequest Config Id Config_MEC_6 @@ -214,10 +220,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", body containing InstantiateAppRequest containing - appInstanceId set to APP_INSTANCE_ID, selectedMECHostInfo set to SELECTED_MEC_HOST_INFO ; ; @@ -227,7 +232,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing - Location set to any_value + Location set to LOCATION_OF_APP_OP_OCC ; ; to the MEC_CONSUMER entity } @@ -241,8 +246,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service terminates an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.7.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.9.2-1" // TerminateAppRequest Config Id Config_MEC_6 @@ -259,7 +264,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/terminate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", body containing TerminateAppRequest containing terminationType set to TERMINATION_TYPE @@ -271,7 +276,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing - Location set to any_value + Location set to LOCATION_OF_APP_OP_OCC ; ; to the MEC_CONSUMER entity } @@ -289,8 +294,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { - STARTED/STOP - STOPPED/START" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.8.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.8.2-1" // OperateAppRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.8.2-1" // OperateAppRequest Config Id Config_MEC_6 @@ -308,7 +313,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/app_instances/{APP_INSTANCE_ID}/operate", + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", body containing OperateAppRequest containing changeStateTo set to FINAL_STATE @@ -320,7 +325,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing - Location set to any_value + Location set to LOCATION_OF_APP_OP_OCC ; ; to the MEC_CONSUMER entity } @@ -333,10 +338,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { TP Id "TP_MEC_MEC010p2_MEX_LCM_008_OK" Test objective - "Check that MEC API provider service retrieves info about LCM Operation Occurrency on App Instances when requested" + "Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.9.1.3.2", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.9.3.2", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.13.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -352,7 +357,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs" + uri indicating value "/app_lcm/v1/app_lcm_op_occs" ; from the MEC_CONSUMER entity } then { @@ -361,14 +366,15 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { body containing AppLcmOpOccList containing AppInstanceLcmOpOcc containing - appLcmOpOccId set to APP_LCM_OP_OCC_ID, + id 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}", + _links containing + self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", appInstance set to any_value + ; ; ; ; @@ -383,10 +389,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { TP Id "TP_MEC_MEC010p2_MEX_LCM_009_OK" Test objective - "Check that MEC API provider service retrieves info about LCM Operation Occurrency on an App Instance when requested" + "Check that MEC API provider service retrieves info about LCM Operation Occurrence on an App Instance when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.10.1.3.2", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.14.2-1" // AppLcmOpOcc + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.10.3.2", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1" // AppLcmOpOcc Config Id Config_MEC_6 @@ -402,7 +408,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" ; from the MEC_CONSUMER entity } then { @@ -410,14 +416,15 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { status set to "200 OK", body containing AppInstanceLcmOpOcc containing - appLcmOpOccId set to APP_LCM_OP_OCC_ID, + id 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}", + _links containing + self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", appInstance set to any_value + ; ; ; ; @@ -434,9 +441,15 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { "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.1.1, clause 7.5.3.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.10.2-1" // AppInstSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -449,7 +462,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/alcmi/v1/subscriptions" + uri indicating value "/app_lcm/v1/subscriptions" body containing SubscriptionRequest containing callbackUri set to CALLBACK_URI, @@ -467,7 +480,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { subscriptionId set to any_value, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to CALLBACK_URI, - attribute _links + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; ; ; @@ -485,11 +500,15 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service sends the list of LCM Subscriptions when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.3.3.2", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.13.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -506,7 +525,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions" + uri indicating value "/app_lcm/v1/subscriptions" ; from the MEC_CONSUMER entity } @@ -519,7 +538,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to URI, - attribute _links + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; ; ; @@ -536,9 +557,15 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service sends the information about an existing LCM subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.4.3.2", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.10.2-1", // AppInstSubscriptionInfo - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.16.2-1" // AppLcmOpOccSubscriptionInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -555,7 +582,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the MEC_CONSUMER entity } @@ -567,7 +594,9 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to URI, - attribute _links + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; ; ; @@ -586,7 +615,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service delete an existing LCM Subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.4.3.4" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.4" Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -601,7 +630,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/alcmi/v1/subscriptions/{SUBSCRIPTION_ID}" + uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the MEC_CONSUMER entity } diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 index 4ae9ec3..1a335bb 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 @@ -10,11 +10,13 @@ Package MEC_MEC010p2_LCM_NOTIF { TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" Test objective - "Check that MEC API provider sends a notification to the subscriber when an application lcm change event occurs" + "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.1.1, clause 7.5.5.3.1", - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.18.2-1", // AppLcmOpOccNotification - "ETSI GS MEC 010-2 2.1.1, table 6.2.2.12.2-1" // AppInstNotification + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.5.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.11.2-1", // AppInstNotification + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.16.2-1", // AppLcmOpOccNotification + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.27.2-1", // AppInstanceIdentifierCreationNotification + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.30.2-1" // AppInstanceIdentifierDeletionNotification Config Id Config_MEC_6 @@ -24,7 +26,9 @@ Package MEC_MEC010p2_LCM_NOTIF { the IUT entity having a App_Instance_Subscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, callbackUri indicating value CALLBACK_URI, - attribute _links + _links containing + self indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; } @@ -39,13 +43,15 @@ Package MEC_MEC010p2_LCM_NOTIF { uri indicating value CALLBACK_URI, body containing Notification containing - notificationId set to NOTIFICATION_ID, + id set to NOTIFICATION_ID, notificationType set to NOTIFICATION_TYPE, - subscriptionId set to any_value, + subscriptionId set to SUBSCRIPTION_ID, timeStamp set to any_value, - appInstanceId set to any_value, + appInstanceId set to APP_INSTANCE_ID, appDId set to any_value, - attribute _links + _links containing + subscription set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; ; ; ; to the MEC_SUB entity -- GitLab From 6f650eee5792e8871aa3069a661dbf8f4ecede5e Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 3 Jan 2022 14:19:44 +0100 Subject: [PATCH 44/63] TPs of Configure platform for app taks for MEC010p2 v2.2.1 have been added. --- .../LCM/PlatformConfiguration_BO-BI.tplan2 | 47 +++++++++++++++++++ .../MEPM/LCM/PlatformConfiguration_BV.tplan2 | 46 ++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 create mode 100644 Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 new file mode 100644 index 0000000..7203bf4 --- /dev/null +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 @@ -0,0 +1,47 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ +Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_BR" + + Test objective + "Check that MEC API provider sends an error when it receives a malformed request + for the configuration information in AppD to the MEPM-V" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{appInstanceId}/configure_platform_for_app", + body containing + ConfigPlatformForAppRequest containing + appServiceWrongRequired set to some_values //Wrong Param + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEO entity + } + } + } + + + +} diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 new file mode 100644 index 0000000..7affa8c --- /dev/null +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 @@ -0,0 +1,46 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ +Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_OK" + + Test objective + "Check that MEC API provider has created the configuration information in AppD to the MEPM-V" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{appInstanceId}/configure_platform_for_app", + body containing + ConfigPlatformForAppRequest containing + appServiceRequired set to some_values + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted" + ; + to the MEO entity + } + } + } + + + +} -- GitLab From 60ded6cfb43f706705d3587837a0a17bef64e3b3 Mon Sep 17 00:00:00 2001 From: piscione Date: Wed, 5 Jan 2022 10:44:35 +0100 Subject: [PATCH 45/63] Implemented Not Found TP for platform configuration for MEC010p2 v2.2.1 --- .../LCM/PlatformConfiguration_BO-BI.tplan2 | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 index 7203bf4..3f1b40c 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 @@ -43,5 +43,47 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_NF" + + Test objective + "Check that MEC API provider sends an error when it receives a request + for the configuration information in AppD to the MEPM-V with not valid app instance ID" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a AppInstanceInfo containing + id indicating value NOT_EXISTING_APP_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{NOT_EXISTING_APP_ID}/configure_platform_for_app", + body containing + ConfigPlatformForAppRequest containing + appServiceWrongRequired set to some_values //Wrong Param + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; + to the MEO entity + } + } + } + } -- GitLab From 5b378261f525be1cfe1fdf0a33063775be98f06f Mon Sep 17 00:00:00 2001 From: piscione Date: Wed, 5 Jan 2022 10:46:41 +0100 Subject: [PATCH 46/63] Implemented TPs of retry, fail and cancel operations for MEC010p2 v2.2.1 --- .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 145 ++++++++++++++++++ .../MEX/LCM/AppInstanceMgmt_BV.tplan2 | 139 +++++++++++++++-- 2 files changed, 272 insertions(+), 12 deletions(-) diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index cd6366d..c338bae 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -336,6 +336,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_009_NF" @@ -482,5 +483,149 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_014_BR" + + Test objective + "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_LCM_op_occ containing + id indicating value APP_LCM_OP_OCC_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel", + body containing + CancelMode containing + CancelMode set to GRACEFULLL //It should be GRACEFUL + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad request" + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_014_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a request + related to a not existing application LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_LCM_op_occ containing + id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/cancel" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_015_NF" + + Test objective + "Check that MEC API provider service fails to make failed an on going LCM Operation when it receives a request + related to a not existing application LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_LCM_op_occ containing + id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/fail" + + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_016_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API provider service fails to retry an LCM Operation when it receives a request + related to a not existing application LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity "not" having a App_LCM_op_occ containing + id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/retry" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + } diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 index c517320..d59c30a 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 @@ -232,7 +232,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "202 Accepted", headers containing - Location set to LOCATION_OF_APP_OP_OCC + Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" ; ; to the MEC_CONSUMER entity } @@ -464,7 +464,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity receives a vPOST containing uri indicating value "/app_lcm/v1/subscriptions" body containing - SubscriptionRequest containing + AppInstSubscriptionRequest containing callbackUri set to CALLBACK_URI, subscriptionType set to SUBSCRIPTION_TYPE ; @@ -476,7 +476,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing - SubscriptionInfo containing + AppInstSubscriptionRequest containing subscriptionId set to any_value, subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to CALLBACK_URI, @@ -557,11 +557,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Test objective "Check that MEC API provider service sends the information about an existing LCM subscription when requested" - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1", - "ETSI GS MEC 010-2 2.2.1, table 6.2.2.12.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 2.2.1, table 6.2.2.14.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 2.2.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest - "ETSI GS MEC 010-2 2.2.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2", "ETSI GS MEC 010-2 2.2.1, table 6.2.2.10.2-1", //AppInstSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.15.2-1", // AppLcmOpOccSubscriptionInfo "ETSI GS MEC 010-2 2.2.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo @@ -605,10 +601,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } } - - - - + Test Purpose { TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" @@ -644,5 +637,127 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } +Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" + + Test objective + "Check that MEC API provider service cancels an on going LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 2.2.1, table 6.2.2.32.2-1" // CancelMode + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_LCM_op_occ containing + id indicating value APP_LCM_OP_OCC_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel" + body containing + CancelMode containing + CancelMode set to GRACEFUL + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted" + ; to the MEC_CONSUMER entity + } + } + } + + +Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_015_OK" + + Test objective + "Check that MEC API provider service makes failed an on going LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_LCM_op_occ containing + id indicating value APP_LCM_OP_OCC_ID, + operationStates indicating value FAILED_TEMP; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/fail"; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK" + body containing + AppLcmOpOcc containing + SubscriptionInfo containing + id set to APP_LCM_OP_OCC_ID, + operationState set to FAILED, + stateEnteredTime set to any_value, + startTime set to any_value, + lcmOperation set to any_value, + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}", + appInstance set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; + ; + ; + ; + + + ; to the MEC_CONSUMER entity + } + } + } + + +Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_016_OK" + + Test objective + "Check that MEC API provider service retries an on going LCM Operation" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_LCM_op_occ containing + id indicating value APP_LCM_OP_OCC_ID, + operationStates indicating value FAILED_TEMP; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/retry"; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 Accepted"; + to the MEC_CONSUMER entity + } + } + } } -- GitLab From 6fdedcef53d61371ed76638d3ecc8ea47900b430 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 14 Jan 2022 14:21:34 +0100 Subject: [PATCH 47/63] Finalyze MEC-10-2 PkgMgt for Mm1; Replace not by not (as a TPLANs2 keyword) --- .../MEX/ANY/CommonUnauthFailure_BI.tplan2 | 2 +- .../MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 2 +- .../MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 306 ++++-- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 873 +++++++++++++----- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 139 ++- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 | 4 +- .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 22 +- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 6 +- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 6 +- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 4 +- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 4 +- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 2 +- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 6 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 4 +- .../MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 8 +- .../RnisSpecificSubscription_BO_BI.tplan2 | 6 +- .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 2 +- .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 2 +- .../PlatUeDistanceSubscription.tplan2 | 2 +- .../PlatUeInformationSubscription.tplan2 | 2 +- .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 2 +- .../PlatUeLocationSubscription.tplan2 | 2 +- .../PlatUeTrackingSubscription.tplan2 | 2 +- .../MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 4 +- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 2 +- .../MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 4 +- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 14 +- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 4 +- .../MEC028/SRV/WAI/Measurement.tplan2 | 8 +- .../MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 | 4 +- 30 files changed, 1036 insertions(+), 412 deletions(-) diff --git a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 index fdee20a..3431bc7 100644 --- a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 +++ b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 @@ -27,7 +27,7 @@ Package MEC_MEC009_MEX_ANY_BI { when { the IUT entity receives a HTTP_REQUEST containing uri indicating value ACCEPTABLE_URI, - "not" authorization + not authorization ; from the MEC_CONSUMER entity } then { diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index 45bbc6a..08b4ab3 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -112,7 +112,7 @@ Package MEC_MEC010p2_MEO_GRANT_BI { PICS Selection PIC_GRANTS_MANAGEMENT Initial conditions with { - the IUT entity "not" having a grant containing + the IUT entity not having a grant containing id indicating value GRANTING_ID ; } diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index 0b40d1a..91ff003 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -8,14 +8,14 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_BR" Test objective "Check that MEO responds with an error when it receives a malformed request for creating a new App Package" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.2.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -27,10 +27,10 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/apmi/v1/app_packages", + uri indicating value "/app_pkgm/v1/app_packages", body containing AppPkg containing - "not" appPkgName //mandatory attribute + not appPkgName ; ; ; from the MEC_OSS entity @@ -40,18 +40,18 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { status set to "400 Bad Request" ; to the MEC_OSS entity } - } + } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_BR" //Negative case 400 Bad request + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_BR" Test objective "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.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -63,7 +63,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages", + uri indicating value "/app_pkgm/v1/app_packages", query_parameters containing operationalStatus indicating value any_value // the query parameter should be operationalState not operationalStatus ; @@ -78,19 +78,19 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_NF" Test objective "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.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -99,7 +99,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" //wrong AppPackageID + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" ; from the MEC_OSS entity } then { @@ -107,23 +107,23 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { status set to "404 Not Found" ; to the MEC_OSS entity } - } + } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_004_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_004_NF" Test objective "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.1.1, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.4", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -132,7 +132,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" //wrong AppPackageID + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" ; from the MEC_OSS entity } then { @@ -150,7 +150,7 @@ Package MEC_MEC010p2_MEO_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.1.1, clause 7.3.2.3.3" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.5" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -164,10 +164,15 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { Expected behaviour ensure that { when { - the IUT entity receives a vPUT containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", - uri_parameter appPkgOperation indicating value "DISABL"; //it should be DISABLE - from the MEC_OSS entity + the IUT entity receives a vPATCH containing + uri indicating value "/app_pkgm/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", + body containing + appPkgInfoModifications containing + appPkgOperation indicating value "DISABL" //it should be DISABLE + ; + ; + ; + from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing @@ -179,19 +184,19 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_NF" Test objective "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.1.1, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.5", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -199,10 +204,15 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { Expected behaviour ensure that { when { - the IUT entity receives a vPUT containing - uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}", //wrong AppPackageID - uri_parameter appPkgOperation indicating value "ENABLE" - ; from the MEC_OSS entity + the IUT entity receives a vPATCH containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}", + body containing + appPkgInfoModifications containing + appPkgOperation indicating value "DISABL" + ; + ; + ; + from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing @@ -213,19 +223,138 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_BR" + + Test objective + "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.2.1, clause 7.3.4.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + 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 POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" + ; + ; + ; + 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_MEC010p2_MEO_PKGM_006_NF" + + Test objective + "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.2.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_007_NF" + + Test objective + "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.2.1, clause 7.3.4.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_008_NF" //Negative case 404 Not found Test objective "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.1.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -234,7 +363,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/apmi/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appDId" + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appDId" ; from the MEC_OSS entity } then { @@ -246,13 +375,13 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_BR" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_BR" Test objective "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.1.1, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -265,11 +394,11 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { ensure that { when { the IUT entity receives a POST containing - uri indicating value "/apmi/v1/subscriptions", + uri indicating value "/app_pkgm/v1/subscriptions", body containing AppPkgSubscription containing callbackUri set to URI, - subscriptionType set to "ONBOARDING" // Enum should be "ON-BOARDING" + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" ; ; ; @@ -288,26 +417,25 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF" Test objective - "Check that MEO service sends an error when it receives a query for a subscription on AppPackages + "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.1.1, clause 7.3.4.3.2" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a Subscription containing + the IUT entity not having a Subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; - } Expected behaviour ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_OSS entity } @@ -318,40 +446,80 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { to the MEC_OSS entity } } - } + } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_01_OK" Test objective - "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages - with a wrong identifier" + "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.4.3.4" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - from the MEC_OSS entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + 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 } - 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_MEC010p2_MEO_PKGM_010_02_OK" + + Test objective + "Check that MEO fetches the on-boarded application package content identified by appDId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 Not Found" + ; + to the MEC_OSS entity } } - } + } + } diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index dbe4d06..5a56b21 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -14,9 +14,9 @@ Package MEC_MEC010p2_MEO_PKGM_BV { Test objective "Check that MEO creates a new App Package when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1", //OnboardedAppPkgInfo - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.2.2-1" //AppPkg + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", // AppPkgInfo + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.2.2-1" // CreateAppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -29,7 +29,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/apmi/v1/app_packages", + uri indicating value "/app_pkgm/v1/app_packages", body containing AppPkg containing appPkgName set to APP_PKG_NAME, @@ -44,18 +44,24 @@ Package MEC_MEC010p2_MEO_PKGM_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing - OnboardedAppPkgInfoList containing - OnboardedAppPkgInfo containing - appPkgId set to any_value, + AppPkgInfoList containing + AppPkgInfo containing + id set to any_value, appDId set to any_value, - appName set to APP_PKG_NAME, appSoftwareVersion set to any_value, appDVersion set to APP_PKG_VERSION, checksum set to CHECKSUM, - attribute softwareImages, + softwareImages, + onboardingState set to "CREATED", operationalState set to "ENABLED", usageState set to "NOT_IN_USE", - attribute _links + mecInfo + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; ; ; ; @@ -65,99 +71,237 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_01_OK" Test objective - "Check that MEO returns the list of App Packages when requested" + "Check that MEO returns the list of App Packages when requested - Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + Config Id Config_MEC_2 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; + Initial conditionswith { + the IUT entity having an App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID; } - + Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages"; - from the MEC_OSS entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages" + ; + from the MEC_OSS entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - OnboardedAppPkgInfoList containing - OnboardedAppPkgInfo containing - appPkgId set to ON_BOARDED_APP_PKG_ID, - appDId set to APPD_ID, - 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 + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfoList containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; ; - ; - ; - ; to the MEC_OSS entity + ; + ; + to the MEC_OSS entity } } } - //Individual APP packages - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_02_OK" Test objective - "Check that MEO returns the an App Package when requested" + "Check that MEO returns the list of on-boarded App Packages when requested - Note 3" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.1.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + Config Id Config_MEC_2 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; + Initial conditionswith { + the IUT entity having an App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID; } - + Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}"; - from the MEC_OSS entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages" + ; + from the MEC_OSS entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - OnboardedAppPkgInfo containing - appPkgId set to ON_BOARDED_APP_PKG_ID, - appDId set to APPD_ID, - 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 + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfoList containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; ; - ; - ; to the MEC_OSS entity + ; + ; + to the MEC_OSS entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_01_OK" + + Test objective + "Check that MEO returns the an App Package when requested - Note 3" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}"; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; + ; + ; + to the MEC_OSS entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_02_OK" + + Test objective + "Check that MEO returns the an App Package when requested - Note 3" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}"; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgInfo containing + id set to APP_PKG_ID, + appDId set to ON_BOARDED_APPD_ID, + appName set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to any_value, + checksum set to any_value, + softwareImages, + onboardingState, + operationalState set to any_value, + usageState set to any_value, + mecInfo, + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; + ; + ; + ; + to the MEO entity } } } @@ -168,148 +312,169 @@ Package MEC_MEC010p2_MEO_PKGM_BV { Test objective "Check that MEO deletes an App Package when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.2.3.4" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.4" Config Id Config_MEC_2 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; + appPkgId indicating value APP_PKG_ID; } Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}"; + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}"; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" + status set to "204 No Content" ; to the MEC_OSS entity } } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_OK" - - Test objective - "Check that MEO changes the status of an App Package from INITIAL_OP_STATE with an operation of type OPERATION_VALUE when requested, with the following possible combinations: - - ENABLED, DISABLE - - DISABLED, ENABLE - - DELETION_PENDING, ABORT - " - - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.2.3.3" - - Config Id Config_MEC_2 - 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, - operationalState set to INITIAL_OP_STATE; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", - uri_parameter appPkgOperation indicating value OPERATION_VALUE; - from the MEC_OSS entity + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_OK" + + Test objective + "Check that MEO updates the operational state of an individual application package resource" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.5" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + operationalState set to DISABLED; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}", + body containing + appPkgInfoModifications containing + operationalState set to ENABLE + ; + ; + ; + from the MEC_OSS entity } then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK"; - to the MEC_OSS entity + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + appPkgInfoModifications containing + operationalState set to ENABLE + ; + ; + ; + to the MEC_OSS entity } - } + } } Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_OK" Test objective - "Check that MEO returns the Application Descriptor contained on a on-boarded Application Package when requested" + "Check that MEO service returns an application package subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.6.3.2" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + Config Id Config_MEC_2 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 ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}/appDId", - accept set to ACCEPTED_CONTENT_TYPE - ; - from the MEC_OSS entity + the IUT entity receives a vPOST containing + uri indicating value "/app_pkgm/v1/subscriptions" + body containing + AppPkgSubscription containing + callbackUri set to URI, + subscriptionType set to SUBSCRIPTION_TYPE + ; + ; + ; + from the MEC_OSS entity } then { - the IUT entity sends a HTTP_RESPONSE_ANY_CONTENT containing - status set to "200 OK", - content_type set to ACCEPTED_CONTENT_TYPE, - body set to FILE - ; - to the MEC_OSS entity + 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 SUBSCRIPTION_TYPE, + callbackUri set to URI, + _links + ; + ; + ; + to the MEC_OSS entity } } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_OK" Test objective - "Check that MEO service sends a Application Package Subscription when requested" + "Check that MEO service returns the list of Application Package Subscriptions when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.3.3.1" - + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity being_in idle_state + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/apmi/v1/subscriptions" - body containing - AppPkgSubscription containing - callbackUri set to URI, - subscriptionType set to "ON_BOARDING" + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/subscriptions" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppPkgSubscriptionInfoList containing + AppPkgSubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to any_value, + callbackUri set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; ; - ; - ; - from the MEC_OSS 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 URI, - attribute _links - ; - ; - ; - to the MEC_OSS entity + ; + to the MEC_OSS entity } } } @@ -318,169 +483,369 @@ Package MEC_MEC010p2_MEO_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_OK" Test objective - "Check that MEO service returns the list of Application Package Subscriptions when requested" + "Check that MEO service returns an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.3.3.2" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions" - ; - from the MEC_OSS entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/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 - AppPkgSubscriptionInfoList containing - AppPkgSubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to any_value, - callbackUri set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - ; - to the MEC_OSS entity + 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 any_value, + callbackUri set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + to the MEC_OSS entity } } } - Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_OK" Test objective - "Check that MEO service returns an Application Package Subscription when requested" + "Check that MEO service deletes an Application Package Subscription when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.4.3.2" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_OSS entity + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/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 } - 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 any_value, - callbackUri set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - to the MEC_OSS entity + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_OK" + + Test objective + "Check that the MEO 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.2.1, clause 7.3.5.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.6" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to CALLBACK_URI, + _links + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a on_boarding_event containing + 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 any_value, + subscriptionId set to SUBSCRIPTION_ID, + timeStamp set to any_value, + appPkgId set to any_value, + appDId set to any_value, + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + to the MEC_OSS entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_01_OK" + + Test objective + "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEC_OSS entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_02_OK" + + Test objective + "Check that MEO fetches the on-boarded application package content identified by appDId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEC_OSS entity } } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_03_OK" Test objective - "Check that MEO service deletes an Application Package Subscription when requested" + "Check that MEO fetches the on-boarded application package content identified by appDId when requested" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.4.3.4" + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_OSS entity + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appPkgContent", + accept set to "application/zip" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to 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_MEC010p2_MEO_PKGM_012_01_OK" + + 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.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + content_type, + body containing + payload set to FILE + ; + ; + to the MEC_OSS entity } } } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF" 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 MEO responds with an error when it receives + a request for returning a App Descriptor referred with a wrong appDId" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.3.5.1" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a Subscriptions containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to "ON_BOARDING", - callbackUri set to CALLBACK_URI - ; + the IUT entity not having a App_Package containing + appPkgId indicating value NON_EXISTENT_APP_PKG_ID, + appDId indicating value NON_EXISTENT_ON_BOARDED_APPD_ID + ; } Expected behaviour ensure that { - when { - the IUT entity generates a on_boarding_event containing - subscriptionId set to SUBSCRIPTION_ID; + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTENT_ON_BOARDED_APPD_ID}/appd" + ; + 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 } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - notificationId set to any_value, - notificationType indicating value "ON_BOARDING", - subscriptionId set to SUBSCRIPTION_ID, - timeStamp set to any_value, - appPkgId set to any_value, - appDId set to any_value, - _links containing - self set to "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; to the MEC_SUB entity + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_013_OK" + + Test objective + "Check that MEO accepts application package when submitted" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.3", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + not body + ; + to the MEC_OSS entity } } } + } diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index d680a78..2ce59d0 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -62,7 +62,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -99,7 +99,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID ; } @@ -136,7 +136,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Package containing + the IUT entity not having a App_Package containing appPkgId indicating value NON_EXISTENT_APP_PKG_ID, appDId indicating value NON_EXISTENT_ON_BOARDED_APPD_ID ; @@ -167,7 +167,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { malformed request for creating a new subscription on AppPackages" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.1", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" @@ -185,7 +185,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { uri indicating value "/app_pkgm/v1/subscriptions", body containing AppPkgSubscription containing - subscriptionType set to "ONBOARDING" // Enum should be "ON-BOARDING" + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" ; ; ; @@ -208,7 +208,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { with a wrong identifier" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.2", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" @@ -216,7 +216,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a Subscription containing + the IUT entity not having a Subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; @@ -247,7 +247,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { with a wrong identifier" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" @@ -255,7 +255,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity "not" having a Subscription containing + the IUT entity not having a Subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; @@ -500,26 +500,117 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_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.2.1, clause 7.3.3.3.1" + + Config Id Config_MEC_2 + 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 POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + callbackUri set to URI, + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEO entity + } + } + } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_01_NF" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + 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_MEC010p2_MEPM_PKGM_012_02_NF" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } - - - - - - - - - - - - - - - + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; + to the MEO entity + } + } + } + } diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index e3c924b..d831a77 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -370,7 +370,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_02_OK" Test objective - "Check that MEPM fetches the on-boarded application package content identified by appDId. when requested" + "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" @@ -407,7 +407,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_02_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_03_OK" Test objective "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index c338bae..0ee061d 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 @@ -60,7 +60,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance containing + the IUT entity not having a App_Instance containing appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; } @@ -95,7 +95,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance containing + the IUT entity not having a App_Instance containing appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; } @@ -170,7 +170,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance containing + the IUT entity not having a App_Instance containing appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; } @@ -244,7 +244,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance containing + the IUT entity not having a App_Instance containing appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; } @@ -317,7 +317,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance containing + the IUT entity not having a App_Instance containing appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; } @@ -351,7 +351,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Lcm_Op_Occ containing + the IUT entity not having a App_Lcm_Op_Occ containing appLcmOpOccId indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID ; } @@ -431,7 +431,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance_Subscription containing + the IUT entity not having a App_Instance_Subscription containing subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -464,7 +464,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_Instance_Subscription containing + the IUT entity not having a App_Instance_Subscription containing subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -538,7 +538,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_LCM_op_occ containing + the IUT entity not having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } @@ -572,7 +572,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_LCM_op_occ containing + the IUT entity not having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } @@ -608,7 +608,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { PICS Selection PIC_APP_LCM_MANAGEMENT Initial conditions with { - the IUT entity "not" having a App_LCM_op_occ containing + the IUT entity not having a App_LCM_op_occ containing id indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID; } diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 5978001..eb2a73e 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -230,7 +230,7 @@ Package MEC_MEC011_SRV_APPSAQ { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; and the MEC_APP_Registrant entity being_in idle_state and @@ -329,7 +329,7 @@ Package MEC_MEC011_SRV_APPSAQ { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a services_running containing + the IUT entity not having a services_running containing service_id indicating value NON_EXISTENT_SERVICE_ID ; } @@ -476,7 +476,7 @@ Package MEC_MEC011_SRV_APPSAQ { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a services_running containing + the IUT entity not having a services_running containing service_id indicating value NON_EXISTENT_SERVICE_ID ; } diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index e249e64..1264874 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -70,7 +70,7 @@ Package MEC_MEC011_SRV_APPSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; } @@ -264,7 +264,7 @@ Package MEC_MEC011_SRV_APPSUB { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -348,7 +348,7 @@ Package MEC_MEC011_SRV_APPSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; and the IUT entity having a subscriptions containing diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index 14c343f..0cbee43 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -73,7 +73,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; } @@ -162,7 +162,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; } diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 21087a8..bcc9fa8 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -122,7 +122,7 @@ Package MEC_MEC011_SRV_DNS { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a dns_rules containing + the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; } @@ -269,7 +269,7 @@ Package MEC_MEC011_SRV_DNS { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a dns_rules containing + the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; } diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index 7cce5dd..e30737e 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -159,7 +159,7 @@ Package MEC_MEC011_SRV_SAQ { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a services_running containing + the IUT entity not having a services_running containing service_id indicating value NON_EXISTENT_SERVICE_ID ; } diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index 622d4e1..5f34ea2 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -73,7 +73,7 @@ Package MEC_MEC011_SRV_SRVSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; } @@ -267,7 +267,7 @@ Package MEC_MEC011_SRV_SRVSUB { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -354,7 +354,7 @@ Package MEC_MEC011_SRV_SRVSUB { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscription_id indicating value NOT_EXISTENT_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 3a66fee..e934d16 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -69,7 +69,7 @@ Package MEC_MEC011_SRV_TRAF { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a apps_instance containing + the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; } @@ -265,7 +265,7 @@ Package MEC_MEC011_SRV_TRAF { the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and - the IUT entity "not" having a traffic_rules containing + the IUT entity not having a traffic_rules containing rule_id indicating value NON_EXISTENT_TRAFFIC_RULE_ID ; } diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index 8f8c561..5216e45 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -58,7 +58,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { PICS Selection PIC_RNIS_QUERY Initial conditions with { - the IUT entity "not" having a RabInfo containing + the IUT entity not having a RabInfo containing cellUserInfo containing ecgi indicating value CELL_ID ; @@ -132,7 +132,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { PICS Selection PIC_RNIS_QUERY Initial conditions with { - the IUT entity "not" having a PlmnInfo containing + the IUT entity not having a PlmnInfo containing appInstanceId indicating value NOT_EXISTENT_APP_INSTANCE_ID ; } @@ -207,7 +207,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { PICS Selection PIC_RNIS_QUERY Initial conditions with { - the IUT entity "not" having a S1BearerInfo containing + the IUT entity not having a S1BearerInfo containing s1UeInfo containing ecgi indicating value NOT_EXISTENT_CELL_ID ; @@ -283,7 +283,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { PICS Selection PIC_RNIS_QUERY Initial conditions with { - the IUT entity "not" having a L2_Meas_information containing + the IUT entity not having a L2_Meas_information containing cellInfo containing ecgi indicating value NOT_EXISTENT_CELL_ID ; diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index bcdccce..2efcf17 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { - the IUT entity "not" having a RNIS_subscription containing + the IUT entity not having a RNIS_subscription containing _links containing self set to "/rni/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; @@ -99,7 +99,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { - the IUT entity "not" having a RNIS_subscription containing + the IUT entity not having a RNIS_subscription containing _links containing self set to "/rni/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; @@ -135,7 +135,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION Initial conditions with { - the IUT entity "not" having a RNIS_subscription containing + the IUT entity not having a RNIS_subscription containing _links containing self set to "/rni/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index 683ed00..dda375e 100644 --- a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -74,7 +74,7 @@ Package MEC_MEC013_SRV_RLOCLOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a ue_location containing + the IUT entity not having a ue_location containing zoneId indicating value NON_EXISTENT_ZONE_ID ; } diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index e05383e..1d7862c 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -177,7 +177,7 @@ Package MEC_MEC013_SRV_UEAREASUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 66e6f33..5c40726 100644 --- a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -180,7 +180,7 @@ Package MEC_MEC013_SRV_UEDISTSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 index 7b79dea..c1ed932 100644 --- a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 @@ -187,7 +187,7 @@ Package MEC_MEC013_SRV_UEINFOSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index ec8c43f..7098f29 100644 --- a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -131,7 +131,7 @@ Package MEC_MEC013_SRV_UELOCLOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a ue_location containing + the IUT entity not having a ue_location containing zoneId indicating value NON_EXISTENT_ZONE_ID ; } diff --git a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index 9130b99..34566e7 100644 --- a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -187,7 +187,7 @@ Package MEC_MEC013_SRV_UELOCSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 index 68ddce9..8542f02 100644 --- a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 @@ -188,7 +188,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index a77fe61..0b48cd6 100644 --- a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -135,7 +135,7 @@ Package MEC_MEC014_SRV_UETAG { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity "not" having a app_instance containing + the MEC_APP entity not having a app_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; } @@ -290,7 +290,7 @@ x if_match indicating value PROPER_ETAG, Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity "not" having a app_instance containing + the MEC_APP entity not having a app_instance containing instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID ; } diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 138b659..b7250a6 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -931,7 +931,7 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and - the MEC_APP entity "not" having a allocation_instance containing + the MEC_APP entity not having a allocation_instance containing allocationId indicating value BW_ALLOCATION_ID ; } diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index bacb3d2..c576217 100644 --- a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +++ b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 @@ -268,7 +268,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Initial conditions with { the IUT entity being_in idle_state and - the Dev_App entity "not" having a appContext containing + the Dev_App entity not having a appContext containing contextId indicating value NON_EXISTENT_CONTEXT_ID ; } @@ -356,7 +356,7 @@ Package MEC_MEC016_MEO_UEAPPCTX { Initial conditions with { the IUT entity being_in idle_state and - the Dev_App entity "not" having a appContext containing + the Dev_App entity not having a appContext containing contextId indicating value NON_EXISTENT_CONTEXT_ID ; } diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index 503b303..e9762c2 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -178,7 +178,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AMS_subscription containing + the IUT entity not having a AMS_subscription containing _link containing self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; @@ -212,7 +212,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AMS_subscription containing + the IUT entity not having a AMS_subscription containing _link containing self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; @@ -291,7 +291,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AMS_subscription containing + the IUT entity not having a AMS_subscription containing _link containing self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE ; @@ -326,7 +326,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing + the IUT entity not having a AppMobilityServiceInfo containing appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID ; } @@ -361,7 +361,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing + the IUT entity not having a AppMobilityServiceInfo containing appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID ; } @@ -442,7 +442,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing + the IUT entity not having a AppMobilityServiceInfo containing appMobilityServiceId indicating value NON_ESISTENT_APP_MOBILITY_SERVICE_ID ; } @@ -476,7 +476,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing + the IUT entity not having a AppMobilityServiceInfo containing appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID ; } diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index b49c5b2..878606f 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -64,7 +64,7 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { - the IUT entity "not" having a subscription containing + the IUT entity not having a subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -270,7 +270,7 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index 2406cac..e1d1bed 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -103,7 +103,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a MeasurementConfig + the IUT entity not having a MeasurementConfig } // MEC 028, clause 5.2.7 Expected behaviour @@ -326,7 +326,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a MeasurementConfig containing + the IUT entity not having a MeasurementConfig containing measurementConfig containing measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; @@ -426,7 +426,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a MeasurementConfig containing + the IUT entity not having a MeasurementConfig containing measurementConfig containing measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; @@ -517,7 +517,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a + the IUT entity not having a MeasurementConfig containing measurementId set to INVALID_MEASUREMENT_CONFIG_ID ; diff --git a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index 72a86c2..046bcce 100644 --- a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 +++ b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 @@ -928,7 +928,7 @@ Package MEC_MEC029_SRV_FAIS { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } @@ -1060,7 +1060,7 @@ Package MEC_MEC029_SRV_FAIS { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity "not" having a subscriptions containing + the IUT entity not having a subscriptions containing subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } -- GitLab From 60808a32ff0a6daf134dae329d0f44371a75df74 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 19 Jan 2022 09:23:50 +0100 Subject: [PATCH 48/63] Bug fixed in AppPkgMgt_BO-BI.tplan2 --- Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index 91ff003..b1f202a 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -449,7 +449,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_01_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_01_NF" Test objective "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" @@ -486,7 +486,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_02_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_02_NF" Test objective "Check that MEO fetches the on-boarded application package content identified by appDId when requested" @@ -515,7 +515,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "204 Not Found" + status set to "404 Not Found" ; to the MEC_OSS entity } -- GitLab From 68d17fa25fea9ab1b3c162d7bdbd518f7d5d0502 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 19 Jan 2022 09:55:54 +0100 Subject: [PATCH 49/63] Bug fixed in MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 --- Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 index 2ce59d0..fa61a0a 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -501,7 +501,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_BR" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_010_BR" Test objective "Check that MEPM service sends an error when it receives a @@ -540,7 +540,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_01_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_01_NF" Test objective "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" @@ -577,7 +577,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_02_NF" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_02_NF" Test objective "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" -- GitLab From 2e7805770bbb2dcd94f4ecb55579083f9e37be52 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 19 Jan 2022 10:22:20 +0100 Subject: [PATCH 50/63] Fixed TP numbering --- .../MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 index 1a335bb..2b15706 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 @@ -7,7 +7,7 @@ Package MEC_MEC010p2_LCM_NOTIF { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_014_OK" + TP Id "TP_MEC_MEC010p2_MEX_LCM_017_OK" Test objective "Check that MEC API provider sends a notification to the subscriber when an application LCM change event occurs" -- GitLab From 7f659f98f5209d90f64d82688d6f960e4f4c22e7 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 28 Jan 2022 11:15:54 +0100 Subject: [PATCH 51/63] Fixed wrong referece to MEC-10-2 Clause 7.5.x --- Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index 08b4ab3..a9a733b 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -106,7 +106,7 @@ Package MEC_MEC010p2_MEO_GRANT_BI { "Check that MEO responds with an error when it receives a request for returning a grant referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.6.1.3.2" + Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.1.3.2" Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index d5a5c18..a6fe684 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -121,7 +121,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { "Check that MEO sends a asynchronous grant response when a grant request is requested" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant -- GitLab From 21fe7f2ed11bd69f2bf5a4c696eff88bc60d9dc1 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 28 Jan 2022 11:16:44 +0100 Subject: [PATCH 52/63] Fixed wrong referece to MEC-10-2 Clause 7.5.x --- Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 index a9a733b..91a0685 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 @@ -106,7 +106,7 @@ Package MEC_MEC010p2_MEO_GRANT_BI { "Check that MEO responds with an error when it receives a request for returning a grant referred with a wrong ID" - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.1.3.2" + Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2" Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT -- GitLab From fb6ea2d9c53320c0a1dc92e579d688dc8194a395 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 28 Jan 2022 16:38:58 +0100 Subject: [PATCH 53/63] Bug fixed in TP_MEC_MEC010p2_MEO_PKGM_001_xx --- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 5a56b21..ff1efe5 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -31,7 +31,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { the IUT entity receives a vPOST containing uri indicating value "/app_pkgm/v1/app_packages", body containing - AppPkg containing + CreateAppPkg containing appPkgName set to APP_PKG_NAME, appPkgVersion set to APP_PKG_VERSION, checksum set to CHECKSUM, @@ -44,25 +44,23 @@ Package MEC_MEC010p2_MEO_PKGM_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", body containing - AppPkgInfoList containing - AppPkgInfo containing - id set to any_value, - appDId set to any_value, - appSoftwareVersion set to any_value, - appDVersion set to APP_PKG_VERSION, - checksum set to CHECKSUM, - softwareImages, - onboardingState set to "CREATED", - operationalState set to "ENABLED", - usageState set to "NOT_IN_USE", - mecInfo - _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 - ; - ; + AppPkgInfo containing + id set to any_value, + appDId set to any_value, + appSoftwareVersion set to any_value, + appDVersion set to APP_PKG_VERSION, + checksum set to CHECKSUM, + softwareImages, + onboardingState set to "CREATED", + operationalState set to "ENABLED", + usageState set to "NOT_IN_USE", + mecInfo + _links containing + self set to any_value, + appD set to any_value, + appPkgContent set to any_value, + not vnfPkgInfo // See Note 3 + ; ; ; ; to the MEC_OSS entity -- GitLab From d64c4cf10b1d5f80386bb0dc70a7591e5a6cfd2f Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 31 Jan 2022 08:22:23 +0100 Subject: [PATCH 54/63] Bug fixed in TP_MEC_MEC010p2_MEPM_PKGM_007_OK --- Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index ff1efe5..29328f5 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -460,11 +460,8 @@ Package MEC_MEC010p2_MEO_PKGM_BV { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - AppPkgSubscriptionInfoList containing - AppPkgSubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to any_value, - callbackUri set to any_value, + AppPkgSubscriptionLinkList containing + subscriptions containing _links containing self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" ; -- GitLab From b85387ab9cfc80f8b504ef4b7604cf88fb338883 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 31 Jan 2022 12:07:10 +0100 Subject: [PATCH 55/63] Add missing TPs for clause 7.3.6.3.2 --- .../MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 47 +++--------------- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 48 +++++++++++++++++-- 2 files changed, 51 insertions(+), 44 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 index b1f202a..57e7b36 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 @@ -264,7 +264,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_NF" Test objective "Check that MEO service sends an error when it receives a query for a subscription on AppPackages @@ -303,7 +303,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF" Test objective "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages @@ -342,7 +342,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_NF" //Negative case 404 Not found + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_NF" //Negative case 404 Not found Test objective "Check that MEO responds with an error when it receives @@ -375,7 +375,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_BR" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_BR" Test objective "Check that MEO service sends an error when it receives a @@ -414,42 +414,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF" - - Test objective - "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.2.1, clause 7.3.4.3.4" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity not having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_010_01_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_NF" Test objective "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" @@ -486,7 +451,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_02_NF" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF" Test objective "Check that MEO fetches the on-boarded application package content identified by appDId when requested" diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 29328f5..4d52a36 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -560,7 +560,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { Test objective "Check that the MEO service sends a application package notification - if the MEPM service has an associated subscription and the event is generated" + if the MEO service has an associated subscription and the event is generated" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.5.3.1", @@ -588,6 +588,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { the IUT entity sends a vPOST containing uri indicating value CALLBACK_URI, body containing + AppPkgNotification containing notificationId set to NOTIFICATION_ID, notificationType indicating value any_value, subscriptionId set to SUBSCRIPTION_ID, @@ -597,6 +598,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { _links containing self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" ; + ; ; ; to the MEC_OSS entity @@ -605,7 +607,47 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_01_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_OK" + + Test objective + "Check that MEO reads the content of the AppD of on-boarded individual application package resources when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + from the MEC_OSS entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEC_OSS entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_OK" Test objective "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" @@ -645,7 +687,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_02_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_OK" Test objective "Check that MEO fetches the on-boarded application package content identified by appDId when requested" -- GitLab From 10fbf0efabbecd4148bf1938efef047101d4dc56 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 1 Feb 2022 08:12:50 +0100 Subject: [PATCH 56/63] Bug fixed after NXW review --- .../MEC010p2/MEO/GRANT/Grant_BI.tplan2 | 134 ------------------ .../MEC010p2/MEO/GRANT/Grant_BV.tplan2 | 125 +++++++++++++--- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 2 +- 3 files changed, 109 insertions(+), 152 deletions(-) delete mode 100644 Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 deleted file mode 100644 index 91a0685..0000000 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BI.tplan2 +++ /dev/null @@ -1,134 +0,0 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_MEO_GRANT_BI { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" - - Test objective - "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operationERROR set to INSTANTIATE, - not addResources, - _links - ; - ; - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" - - Test objective - "Check that MEO responds with an error when it receives - a malformed request when a new grant request is performed" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant - - Config Id Config_MEC_3 - - PICS Selection PIC_GRANTS_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 "/granting/v1/grants", - body containing - GrantRequest containing - appInstanceId set to APP_INSTANCE_ID, - appLcmOpOccId set to any_value, - appDId set to any_value, - operationERROR set to OPERATION_TYPE, //parameter should be named operation not operationType - _links - ; - ; - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEPM entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_NF" - - Test objective - "Check that MEO responds with an error when it receives - a request for returning a grant referred with a wrong ID" - - Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2" - - Config Id Config_MEC_3 - PICS Selection PIC_GRANTS_MANAGEMENT - - Initial conditions with { - the IUT entity not having a grant containing - id indicating value GRANTING_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/granting/v1/grants/{GRANTING_ID}" - ; from the MEPM entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEPM entity - } - } - } -} diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 index a6fe684..151cdee 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 @@ -23,13 +23,15 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Initial conditions with { the IUT entity having a app_instance containing - appInstanceID indicating value APP_INSTANCE_ID; + appInstanceID indicating value APP_INSTANCE_ID, + link indicating value H_LINK + ; } Expected behaviour ensure that { when { - the IUT entity receives a vPOST containing + the IUT entity receives a vPOST containing uri indicating value "/granting/v1/grants", body containing GrantRequest containing @@ -37,8 +39,9 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appLcmOpOccId set to any_value, appDId set to any_value, operation set to INSTANTIATE, - addResources set to INST_RESOURCES_LIST - _links;;; + addResources set to INST_RESOURCES_LIST, + _links set to H_LINK + ;;; from the MEPM entity } then { @@ -52,7 +55,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, addResources set to INST_RESOURCES_LIST, - _links + _links set to H_LINK ; ; ;; @@ -61,7 +64,55 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } - Test Purpose { + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_001_BR" + + Test objective + "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest + "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1" //Grant + + Config Id Config_MEC_3 + + PICS Selection PIC_GRANTS_MANAGEMENT + + Initial conditions with { + the IUT entity having a app_instance containing + appInstanceID indicating value APP_INSTANCE_ID, + link indicating value H_LINK; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/granting/v1/grants", + body containing + GrantRequest containing + appInstanceId set to APP_INSTANCE_ID, + appLcmOpOccId set to any_value, + appDId set to any_value, + operationERROR set to INSTANTIATE, + not addResources, + _links set to H_LINK + ; + ; + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEPM entity + } + } + } + + Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_GRANT_002_OK" Test objective @@ -77,7 +128,9 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Initial conditions with { the IUT entity having a app_instance containing - appInstanceID indicating value APP_INSTANCE_ID; + appInstanceID indicating value APP_INSTANCE_ID, + link indicating value H_LINK + ; } Expected behaviour @@ -91,7 +144,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links;;; + _links set to H_LINK + ;;; from the MEPM entity } then { @@ -104,7 +158,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { id set to any_value, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, - _links + _links set to H_LINK ; ; ;; @@ -115,10 +169,10 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK - INSTANTIATE" + TP Id "TP_MEC_MEC010p2_MEO_GRANT_003_OK" Test objective - "Check that MEO sends a asynchronous grant response when a grant request is requested" + "Check that MEO sends a asynchronous grant response when a grant request is requested - INSTANTIATE" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1", @@ -131,7 +185,9 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Initial conditions with { the IUT entity having a app_instance containing - appInstanceID indicating value APP_INSTANCE_ID; + appInstanceID indicating value APP_INSTANCE_ID, + link indicating value H_LINK + ; } Expected behaviour @@ -146,7 +202,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appDId set to any_value, operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST, - _links + _links set to H_LINK ; ; ; @@ -179,7 +235,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Initial conditions with { the IUT entity having a app_instance containing - appInstanceID indicating value APP_INSTANCE_ID + appInstanceID indicating value APP_INSTANCE_ID, + link indicating value H_LINK ; } @@ -194,7 +251,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links + _links set to H_LINK ; ; ; @@ -264,7 +321,8 @@ Package MEC_MEC010p2_MEO_GRANT_BV { Initial conditions with { the IUT entity having a grant containing - id indicating value GRANTING_ID; + id indicating value GRANTING_ID, + link indicating value H_LINK; } Expected behaviour @@ -283,7 +341,7 @@ Package MEC_MEC010p2_MEO_GRANT_BV { id set to GRANTING_ID, appInstanceId set to any_value, appLcmOpOccId set to any_value, - _links + _links set to H_LINK ; ; ; to the MEPM entity @@ -291,4 +349,37 @@ Package MEC_MEC010p2_MEO_GRANT_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_NF" + + Test objective + "Check that MEO responds with an error when it receives + a request for returning a grant referred with a wrong ID" + + Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2" + + Config Id Config_MEC_3 + PICS Selection PIC_GRANTS_MANAGEMENT + + Initial conditions with { + the IUT entity not having a grant containing + id indicating value GRANTING_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/granting/v1/grants/{GRANTING_ID}" + ; from the MEPM entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEPM entity + } + } + } + } diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 4d52a36..70ed045 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -629,7 +629,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", accept set to "application/zip" ; from the MEC_OSS entity -- GitLab From 7e44c22e64db58f94eb1a764fd1105038ac22b39 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 1 Feb 2022 08:45:34 +0100 Subject: [PATCH 57/63] Full review of MEO/PKGM; Remove file AppPkgMgt_BO-BI.tplan2 --- .../MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 | 490 ------------------ .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 490 +++++++++++++++++- 2 files changed, 464 insertions(+), 516 deletions(-) delete mode 100644 Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 deleted file mode 100644 index 57e7b36..0000000 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BO-BI.tplan2 +++ /dev/null @@ -1,490 +0,0 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_MEO_PKGM_BO_BI { - - import all from MEC_Common; - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_BR" - - Test objective - "Check that MEO responds with an error when it receives - a malformed request for creating a new App Package" - - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.2.2-1" - Config Id Config_MEC_2 - 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 "/app_pkgm/v1/app_packages", - body containing - AppPkg containing - not appPkgName - ; - ; - ; 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_MEC010p2_MEO_PKGM_002_BR" - - Test objective - "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.2.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" - Config Id Config_MEC_2 - 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 vGET containing - uri indicating value "/app_pkgm/v1/app_packages", - query_parameters containing - operationalStatus indicating value any_value // the query parameter should be operationalState not operationalStatus - ; - ; 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_MEC010p2_MEO_PKGM_003_NF" - - Test objective - "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.2.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" - Config Id Config_MEC_2 - 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 "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_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_MEC010p2_MEO_PKGM_004_NF" - - Test objective - "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.2.1, clause 7.3.2.3.4", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" - Config Id Config_MEC_2 - 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 vDELETE containing - uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_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_MEC010p2_MEO_PKGM_005_BR" - - Test objective - "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.2.1, clause 7.3.2.3.5" - - Config Id Config_MEC_2 - 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 - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "/app_pkgm/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", - body containing - appPkgInfoModifications containing - appPkgOperation indicating value "DISABL" //it should be DISABLE - ; - ; - ; - 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_MEC010p2_MEO_PKGM_005_NF" - - Test objective - "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.2.1, clause 7.3.2.3.5", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" - Config Id Config_MEC_2 - 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 vPATCH containing - uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}", - body containing - appPkgInfoModifications containing - appPkgOperation indicating value "DISABL" - ; - ; - ; - 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_MEC010p2_MEO_PKGM_006_BR" - - Test objective - "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.2.1, clause 7.3.4.3.1", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_2 - 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 POST containing - uri indicating value "/app_pkgm/v1/subscriptions", - body containing - AppPkgSubscription containing - subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" - ; - ; - ; - 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_MEC010p2_MEO_PKGM_008_NF" - - Test objective - "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.2.1, clause 7.3.4.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity not having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_009_NF" - - Test objective - "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.2.1, clause 7.3.4.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity not having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_011_NF" //Negative case 404 Not found - - Test objective - "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.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo - Config Id Config_MEC_2 - 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 vPUT containing - uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appDId" - ; 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_MEC010p2_MEO_PKGM_012_BR" - - Test objective - "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.2.1, clause 7.3.3.3.1" - - Config Id Config_MEC_2 - 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 POST containing - uri indicating value "/app_pkgm/v1/subscriptions", - body containing - AppPkgSubscription containing - callbackUri set to URI, - subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" - ; - ; - ; - 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_MEC010p2_MEO_PKGM_012_01_NF" - - Test objective - "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", - accept set to "application/zip" - ; - 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_MEC010p2_MEO_PKGM_012_02_NF" - - Test objective - "Check that MEO fetches the on-boarded application package content identified by appDId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", - accept set to "application/zip" - ; - 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/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 70ed045..1a913cd 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -68,6 +68,42 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_001_BR" + + Test objective + "Check that MEO responds with an error when it receives + a malformed request for creating a new App Package" + + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.2.2-1" + Config Id Config_MEC_2 + 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 "/app_pkgm/v1/app_packages", + body containing + AppPkg containing + not appPkgName + ; + ; + ; 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_MEC010p2_MEO_PKGM_002_01_OK" @@ -188,6 +224,40 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_BR" + + Test objective + "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.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" + Config Id Config_MEC_2 + 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 vGET containing + uri indicating value "/app_pkgm/v1/app_packages", + query_parameters containing + operationalStatus indicating value any_value // the query parameter should be operationalState not operationalStatus + ; + ; 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_MEC010p2_MEO_PKGM_003_01_OK" @@ -304,6 +374,39 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_NF" + + Test objective + "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.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" + Config Id Config_MEC_2 + 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 "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_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_MEC010p2_MEO_PKGM_004_OK" @@ -335,6 +438,39 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_004_NF" + + Test objective + "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.2.1, clause 7.3.2.3.4", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" + Config Id Config_MEC_2 + 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 vDELETE containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_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_MEC010p2_MEO_PKGM_005_OK" @@ -379,6 +515,85 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_005_BR" + + Test objective + "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.2.1, clause 7.3.2.3.5" + + Config Id Config_MEC_2 + 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 + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "/app_pkgm/v1/app_packages/{ON_BOARDED_APP_PKG_ID}", + body containing + appPkgInfoModifications containing + appPkgOperation indicating value "DISABL" //it should be DISABLE + ; + ; + ; + 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_MEC010p2_MEO_PKGM_005_NF" + + Test objective + "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.2.1, clause 7.3.2.3.5", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" + Config Id Config_MEC_2 + 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 vPATCH containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}", + body containing + appPkgInfoModifications containing + appPkgOperation indicating value "DISABL" + ; + ; + ; + 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_MEC010p2_MEO_PKGM_006_OK" @@ -428,6 +643,47 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_BR" + + Test objective + "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.2.1, clause 7.3.4.3.1", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + 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 POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" + ; + ; + ; + 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_MEC010p2_MEPM_PKGM_007_OK" @@ -520,6 +776,45 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_NF" + + Test objective + "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.2.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_009_OK" @@ -555,6 +850,45 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF" + + Test objective + "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.2.1, clause 7.3.4.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/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_MEC010p2_MEO_PKGM_010_OK" @@ -646,6 +980,39 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_NF" //Negative case 404 Not found + + Test objective + "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.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1" //OnboardedAppPkgInfo + Config Id Config_MEC_2 + 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 vPUT containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appd" + ; 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_MEC010p2_MEO_PKGM_012_01_OK" @@ -727,7 +1094,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_03_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_03_OK" Test objective "Check that MEO fetches the on-boarded application package content identified by appDId when requested" @@ -767,14 +1134,52 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_BR" + + Test objective + "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.2.1, clause 7.3.3.3.1" + + Config Id Config_MEC_2 + 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 POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + callbackUri set to URI, + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" + ; + ; + ; + 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_MEC010p2_MEO_PKGM_012_01_NF" Test objective - "Check that MEO returns the Application Descriptor contained on a on-boarded Application Package when requested" + "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -790,20 +1195,16 @@ Package MEC_MEC010p2_MEO_PKGM_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", - accept set to ACCEPTED_CONTENT_TYPE + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", + accept set to "application/zip" ; from the MEC_OSS entity } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - content_type, - body containing - payload set to FILE - ; - ; - to the MEC_OSS entity + status set to "404 Not Found" + ; + to the MEC_OSS entity } } } @@ -812,36 +1213,35 @@ Package MEC_MEC010p2_MEO_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF" Test objective - "Check that MEO responds with an error when it receives - a request for returning a App Descriptor referred with a wrong appDId" + "Check that MEO fetches the on-boarded application package content identified by appDId when requested" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT + 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, - appDId indicating value NON_EXISTENT_ON_BOARDED_APPD_ID + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID ; } Expected behaviour ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTENT_ON_BOARDED_APPD_ID}/appd" + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" ; 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 + ; + to the MEC_OSS entity } } } @@ -885,4 +1285,42 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_013_NF" + + Test objective + "Check that MEO accepts application package when submitted" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.3", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Package containing + appPkgId indicating value APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_NON_EXISTANT_PKG_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + 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 + } + } + } + } -- GitLab From 693406ecdf9963bc3a7ad4d9371707d35db92fae Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 1 Feb 2022 08:56:04 +0100 Subject: [PATCH 58/63] Full review of MEO/PKGM; Remove file AppPkgMgt_BO-BI.tplan2 --- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 65 +++---------------- 1 file changed, 10 insertions(+), 55 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 1a913cd..8bf6473 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -1017,7 +1017,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_OK" Test objective - "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" + "Check that MEO fetches the application package content identified by appPkgId when requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" @@ -1093,54 +1093,14 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } } - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_03_OK" - - Test objective - "Check that MEO fetches the on-boarded application package content identified by appDId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - Config Id Config_MEC_2 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appPkgContent", - accept set to "application/zip" - ; - from the MEC_OSS entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - payload set to ZIP_FILE - ; - ; - to the MEC_OSS entity - } - } - } - Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_BR" Test objective "Check that MEO service sends an error when it receives a - malformed request for creating a new subscription on AppPackages" + malformed request" - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1" + Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1152,14 +1112,9 @@ Package MEC_MEC010p2_MEO_PKGM_BV { Expected behaviour ensure that { when { - the IUT entity receives a POST containing - uri indicating value "/app_pkgm/v1/subscriptions", - body containing - AppPkgSubscription containing - callbackUri set to URI, - subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" - ; - ; + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + accept set to "wrong_parameter" ; from the MEC_OSS entity } @@ -1176,7 +1131,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_NF" Test objective - "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested" + "Check that MEO service sends an error when it receives a request refering a wrong appPkgId" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" @@ -1213,7 +1168,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF" Test objective - "Check that MEO fetches the on-boarded application package content identified by appDId when requested" + "Check that MEO service sends an error when it receives a request refering a wrong on-boarded appPkgId" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" @@ -1270,7 +1225,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", accept set to ACCEPTED_CONTENT_TYPE ; from the MEC_OSS entity @@ -1309,7 +1264,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_NON_EXISTANT_PKG_ID}/appd", + uri indicating value "/app_pkgm/v1/app_packages/{APP_NON_EXISTANT_PKG_ID}/package_content", accept set to ACCEPTED_CONTENT_TYPE ; from the MEC_OSS entity -- GitLab From c9b43ff04a3a452f2318cfd9bf1391f36ce67d28 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 1 Feb 2022 10:29:30 +0100 Subject: [PATCH 59/63] Full review of MEPM/PKGM; Remove file AppPkgMgt_BO-BI.tplan2 --- .../MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 | 2 +- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 | 616 --------------- .../MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 | 707 +++++++++++++----- 3 files changed, 522 insertions(+), 803 deletions(-) delete mode 100644 Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 index 8bf6473..2e937f6 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 @@ -685,7 +685,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK" Test objective "Check that MEO service returns the list of Application Package Subscriptions when requested" diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 deleted file mode 100644 index fa61a0a..0000000 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BO-BI.tplan2 +++ /dev/null @@ -1,616 +0,0 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_MEPM_MM3_PKGM_BI { - - import all from MEC_Common; - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_BR" - - Test objective - "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.2.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" - - Config Id Config_MEC_5 - 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 vGET containing - uri indicating value "/app_pkgm/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 "400 Bad Request" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_NF" - - Test objective - "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.2.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" - - 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 "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" - ; - 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_MEC010p2_MEPM_PKGM_003_01_NF" - - 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.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.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 "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appd" - ; - 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_MEC010p2_MEPM_PKGM_003_02_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a request for returning a App Descriptor referred with a wrong appDId" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.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, - appDId indicating value NON_EXISTENT_ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTENT_ON_BOARDED_APPD_ID}/appd" - ; - 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_MEC010p2_MEPM_PKGM_004_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.2.1, clause 7.3.4.3.1", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_5 - 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 POST containing - uri indicating value "/app_pkgm/v1/subscriptions", - body containing - AppPkgSubscription containing - subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" - ; - ; - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_NF" - - Test objective - "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.2.1, clause 7.3.4.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_5 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity not having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - 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_MEC010p2_MEPM_PKGM_006_NF" - - Test objective - "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.2.1, clause 7.3.4.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" - - Config Id Config_MEC_5 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Initial conditions with { - the IUT entity not having a Subscription containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - 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_MEC010p2_MEPM_PKGM_007_01_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a POST request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "405 Method Not Allow" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_02_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a POST request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "405 Method Not Allow" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_01_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a PUT request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "403 Forbidden" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_02_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a PUT request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "403 Forbidden" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_01_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a DELETE request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "405 Method Not Allow" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_02_NF" - - Test objective - "Check that MEPM responds with an error when it receives - a DELETE request referring an application descriptor AppD" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "405 Method Not Allow" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_010_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.2.1, clause 7.3.3.3.1" - - Config Id Config_MEC_2 - 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 POST containing - uri indicating value "/app_pkgm/v1/subscriptions", - body containing - AppPkgSubscription containing - callbackUri set to URI, - subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" - ; - ; - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_01_NF" - - Test objective - "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", - accept set to "application/zip" - ; - 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_MEC010p2_MEPM_PKGM_011_02_NF" - - Test objective - "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", - accept set to "application/zip" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; - to the MEO entity - } - } - } - -} diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 index d831a77..86727b0 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2021. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { +Package MEC_MEC010p2_MEPM_PKGM_BV { import all from MEC_Common; @@ -126,6 +126,45 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_001_BR" + + Test objective + "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.2.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" + + Config Id Config_MEC_5 + 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 vGET containing + uri indicating value "/app_pkgm/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 "400 Bad Request" + ; + to the MEO entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_01_OK" @@ -243,83 +282,37 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_01_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_002_NF" Test objective - "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" + "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.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", - accept set to ACCEPTED_CONTENT_TYPE - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - content_type, - body containing - payload set to FILE - ; - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_02_OK" - - Test objective - "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" + "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 Note 3" - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" - Config Id Config_MEC_5 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT + PICS Selection PIC_APP_PACKAGE_MANAGEMENT Initial conditions with { - the IUT entity having a App_Package containing - appPkgId indicating value APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID + 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 "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appd", - accept set to ACCEPTED_CONTENT_TYPE + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}" ; from the MEO entity } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - content_type, - body containing - payload set to FILE - ; + status set to "404 Not Found" ; to the MEO entity } @@ -327,127 +320,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_01_OK" - - Test objective - "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", - accept set to "application/zip" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - payload set to ZIP_FILE - ; - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_02_OK" - - Test objective - "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/package_content", - accept set to "application/zip" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - payload set to ZIP_FILE - ; - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_03_OK" - - Test objective - "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" - - 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 APP_PKG_ID, - appDId indicating value ON_BOARDED_APPD_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appPkgContent", - accept set to "application/zip" - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - payload set to ZIP_FILE - ; - ; - to the MEO entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_OK" Test objective "Check that MEPM service returns an application package subscription when requested" @@ -496,7 +369,46 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_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.2.1, clause 7.3.3.3.1" + + Config Id Config_MEC_2 + 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 POST containing + uri indicating value "/app_pkgm/v1/subscriptions", + body containing + AppPkgSubscription containing + callbackUri set to URI, + subscriptionType set to "ON-BOARDING" // Enum should be "ONBOARDING" + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_004_OK" Test objective "Check that MEPM service returns the list of Application Package Subscriptions when requested" @@ -545,7 +457,7 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_OK" Test objective "Check that MEPM service returns an Application Package Subscription when requested" @@ -591,7 +503,46 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_OK" + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_005_NF" + + Test objective + "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.2.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; + 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_MEC010p2_MEPM_PKGM_006_OK" Test objective "Check that MEPM service deletes an Application Package Subscription when requested" @@ -626,9 +577,48 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" - - Test objective + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_006_NF" + + Test objective + "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.2.1, clause 7.3.4.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.4", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.7" + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID + ; + + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; + 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_MEC010p2_MEPM_PKGM_007_OK" + + Test objective "Check that the MEPM service sends a application package notification if the MEPM service has an associated subscription and the event is generated" @@ -673,4 +663,349 @@ Package MEC_MEC010p2_MEPM_MM3_PKGM_BV { } } } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_008_NA" + + Test objective + "Check that MEPM responds with an error when it receives + a POST request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" + + 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.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd", + accept set to ACCEPTED_CONTENT_TYPE + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + content_type, + body containing + payload set to FILE + ; + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_NF" + + 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.2.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.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 "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appd" + ; + 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_MEC010p2_MEPM_PKGM_010_FO" + + Test objective + "Check that MEPM responds with an error when it receives + a PUT request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "403 Forbidden" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_011_NA" + + Test objective + "Check that MEPM responds with an error when it receives + a DELETE request referring an application descriptor AppD" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "405 Method Not Allow" + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_01_OK" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_02_OK" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + payload set to ZIP_FILE + ; + ; + to the MEO entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_01_NF" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appPkgId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTING_APP_PKG_ID}/package_content", + accept set to "application/zip" + ; + 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_MEC010p2_MEPM_PKGM_012_02_NF" + + Test objective + "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + + 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 APP_PKG_ID, + appDId indicating value ON_BOARDED_APPD_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_pkgm/v1/onboarded_app_packages/{NON_EXISTING_ON_BOARDED_APPD_ID}/package_content", + accept set to "application/zip" + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; + to the MEO entity + } + } + } + } -- GitLab From 7804b06b355ef4e71e8a6b1824c1cd3d63c42ab7 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 1 Feb 2022 10:32:11 +0100 Subject: [PATCH 60/63] Rename files --- .../MEC010p2/MEO/GRANT/{Grant_BV.tplan2 => Grant.tplan2} | 2 +- .../MEC010p2/MEO/PKGM/{AppPkgMgt_BV.tplan2 => AppPkgMgt.tplan2} | 2 +- .../MEPM/PKGM/{AppPkgMgt_BV.tplan2 => AppPkgMgt.tplan2} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename Test Purposes/MEC010p2/MEO/GRANT/{Grant_BV.tplan2 => Grant.tplan2} (96%) rename Test Purposes/MEC010p2/MEO/PKGM/{AppPkgMgt_BV.tplan2 => AppPkgMgt.tplan2} (99%) rename Test Purposes/MEC010p2/MEPM/PKGM/{AppPkgMgt_BV.tplan2 => AppPkgMgt.tplan2} (99%) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 similarity index 96% rename from Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 rename to Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 index 151cdee..3bea6be 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2021. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_MEO_GRANT_BV { +Package MEC_MEC010p2_MEO_GRANT { import all from MEC_Common; diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 similarity index 99% rename from Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 rename to Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index 2e937f6..7496445 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2021. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_MEO_PKGM_BV { +Package MEC_MEC010p2_MEO_PKGM { import all from MEC_Common; diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 similarity index 99% rename from Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 rename to Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 index 86727b0..e7a66e6 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt_BV.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2021. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_MEPM_PKGM_BV { +Package MEC_MEC010p2_MEPM_PKGM { import all from MEC_Common; -- GitLab From 7b5f7047df793cfb4335430e5ce81a2a80e0681a Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 2 Feb 2022 11:59:09 +0100 Subject: [PATCH 61/63] Remove BO-BI file and Rename files --- ...BI.tplan2 => PlatformConfiguration.tplan2} | 40 ++++++++++++++-- .../MEPM/LCM/PlatformConfiguration_BV.tplan2 | 46 ------------------- 2 files changed, 37 insertions(+), 49 deletions(-) rename Test Purposes/MEC010p2/MEPM/LCM/{PlatformConfiguration_BO-BI.tplan2 => PlatformConfiguration.tplan2} (67%) delete mode 100644 Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 similarity index 67% rename from Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 rename to Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index 3f1b40c..5f9ea99 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BO-BI.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 @@ -6,12 +6,47 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { import all from MEC_Common; + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_OK" + + Test objective + "Check that MEC API provider has created the configuration information in AppD to the MEPM-V" + + Reference + "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + + Config Id Config_MEC_5 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{appInstanceId}/configure_platform_for_app", + body containing + ConfigPlatformForAppRequest containing + appServiceRequired set to some_values + ; + ; + ; + from the MEO entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted" + ; + to the MEO entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_BR" Test objective "Check that MEC API provider sends an error when it receives a malformed request - for the configuration information in AppD to the MEPM-V" + for the configuration information in AppD to the MEPM-V" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", @@ -48,7 +83,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { Test objective "Check that MEC API provider sends an error when it receives a request - for the configuration information in AppD to the MEPM-V with not valid app instance ID" + for the configuration information in AppD to the MEPM-V with not valid app instance ID" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", @@ -85,5 +120,4 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { } } - } diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 deleted file mode 100644 index 7affa8c..0000000 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration_BV.tplan2 +++ /dev/null @@ -1,46 +0,0 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEPM_LCM_01_OK" - - Test objective - "Check that MEC API provider has created the configuration information in AppD to the MEPM-V" - - Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1", - "ETSI GS MEC 010-2 2.2.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest - - Config Id Config_MEC_5 - PICS Selection PIC_APP_PACKAGE_MANAGEMENT - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{appInstanceId}/configure_platform_for_app", - body containing - ConfigPlatformForAppRequest containing - appServiceRequired set to some_values - ; - ; - ; - from the MEO entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted" - ; - to the MEO entity - } - } - } - - - -} -- GitLab From 63e80dd58079b1592358a6cf1cf353378b2c326b Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 2 Feb 2022 11:59:49 +0100 Subject: [PATCH 62/63] Rename package --- Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index 5f9ea99..659b160 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2021. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { +Package MEC_MEC010p2_APP_INSTANCE_LCM { import all from MEC_Common; -- GitLab From eb7ae6c29e39863fae507794abbe1b79593d6fc6 Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 10 Feb 2022 08:29:45 +0100 Subject: [PATCH 63/63] Bug fixed after NXW review om MEO/MEPM TPs --- .../MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 | 26 ++++++++++++------- .../MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 | 15 ++++++----- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index 7496445..339b5d1 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -43,6 +43,7 @@ Package MEC_MEC010p2_MEO_PKGM { then { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", + Location indicating value any_value, body containing AppPkgInfo containing id set to any_value, @@ -90,8 +91,11 @@ Package MEC_MEC010p2_MEO_PKGM { the IUT entity receives a vPOST containing uri indicating value "/app_pkgm/v1/app_packages", body containing - AppPkg containing - not appPkgName + CreateAppPkg containing + appPkgName set to "", + appPkgVersion set to APP_PKG_VERSION, + checksum set to CHECKSUM, + appPkgPath set to APP_PKG_PATH ; ; ; from the MEC_OSS entity @@ -108,7 +112,7 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_01_OK" Test objective - "Check that MEO returns the list of App Packages when requested - Note 3" + "Check that MEO returns the list of App packages when requested - Note 3" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", @@ -168,7 +172,7 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_002_02_OK" Test objective - "Check that MEO returns the list of on-boarded App Packages when requested - Note 3" + "Check that MEO returns the list of on-boarded packages when requested - Note 3" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.1.3.2", @@ -320,7 +324,7 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_003_02_OK" Test objective - "Check that MEO returns the an App Package when requested - Note 3" + "Check that MEO returns the an on-boarded package when requested - Note 3" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.2", @@ -717,9 +721,13 @@ Package MEC_MEC010p2_MEO_PKGM { status set to "200 OK", body containing AppPkgSubscriptionLinkList containing - subscriptions containing - _links containing - self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + AppPkgSubscriptionInfo containing + links containing + self indicating value any_value, + subscriptions containing + href set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}", + subscriptionType indicating value any_value + ; ; ; ; @@ -1244,7 +1252,7 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_013_NF" Test objective - "Check that MEO accepts application package when submitted" + "Check that MEO service sends an error when it receives a query to accept an application package with a wrong identifier" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.3", diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 index e7a66e6..c43822c 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 @@ -441,11 +441,12 @@ Package MEC_MEC010p2_MEPM_PKGM { body containing AppPkgSubscriptionInfoList containing AppPkgSubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to any_value, - callbackUri set to any_value, - _links containing - self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + links containing + self indicating value any_value, + subscriptions containing + href set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}", + subscriptionType indicating value any_value + ; ; ; ; @@ -705,7 +706,7 @@ Package MEC_MEC010p2_MEPM_PKGM { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_009_OK" Test objective - "Check that MEPM returns the Application Descriptor contained on a on-boarded Application Package when requested" + "Check that MEPM returns the Application Descriptor contained on an on-boarded Application Package when requested" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", @@ -975,7 +976,7 @@ Package MEC_MEC010p2_MEPM_PKGM { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_012_02_NF" Test objective - "Check that MEPM fetches the on-boarded application package content identified by appDId when requested" + "Check that MEPM service sends an error when it receives a query with an application package with a wrong identifier" Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" -- GitLab