Loading Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +183 −22 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading @@ -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 Loading @@ -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 Loading @@ -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" Loading @@ -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 Loading @@ -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 Loading @@ -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" ; Loading @@ -167,6 +271,7 @@ Package MEC_MEO_UEAPPCTX { } Test Purpose { TP Id "TP_MEC_MEO_UEAPPCTX_002_BR" Loading @@ -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 Loading @@ -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. Loading @@ -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" ; Loading @@ -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 Loading @@ -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 Loading @@ -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" ; Loading @@ -259,6 +364,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 { TP Id "TP_MEC_MEO_UEAPPCTX_003_OK" Loading @@ -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 Loading @@ -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 } Loading @@ -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 Loading @@ -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 } Loading Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 0 → 100644 +230 −0 Original line number Diff line number Diff line /* Copyright (c) ETSI 2018. This software is subject to copyrights owned by ETSI. Non-exclusive permission is hereby granted, free of charge, to copy, reproduce and amend this file under the following conditions: It is provided "as is", without warranty of any kind, expressed or implied. ETSI shall never be liable for any claim, damages, or other liability arising from its use or inability of use.This permission does not apply to any documentation associated with this file for which ETSI keeps all rights reserved. The present copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package 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"; } } } Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 +217 −132 File changed.Preview size limit exceeded, changes collapsed. Show changes Test Purposes/mec-common.tplan2 +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
Test Purposes/MEO/UEAPPCTX/SysUeAppsContext.tplan2 +183 −22 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading Loading @@ -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 Loading @@ -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 Loading @@ -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" Loading @@ -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 Loading @@ -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 Loading @@ -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" ; Loading @@ -167,6 +271,7 @@ Package MEC_MEO_UEAPPCTX { } Test Purpose { TP Id "TP_MEC_MEO_UEAPPCTX_002_BR" Loading @@ -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 Loading @@ -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. Loading @@ -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" ; Loading @@ -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 Loading @@ -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 Loading @@ -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" ; Loading @@ -259,6 +364,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 { TP Id "TP_MEC_MEO_UEAPPCTX_003_OK" Loading @@ -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 Loading @@ -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 } Loading @@ -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 Loading @@ -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 } Loading
Test Purposes/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 0 → 100644 +230 −0 Original line number Diff line number Diff line /* Copyright (c) ETSI 2018. This software is subject to copyrights owned by ETSI. Non-exclusive permission is hereby granted, free of charge, to copy, reproduce and amend this file under the following conditions: It is provided "as is", without warranty of any kind, expressed or implied. ETSI shall never be liable for any claim, damages, or other liability arising from its use or inability of use.This permission does not apply to any documentation associated with this file for which ETSI keeps all rights reserved. The present copyright notice shall be included in all copies of whole or part of this file and shall not imply any sub-license right. */ Package 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"; } } }
Test Purposes/MEO/UEAPPS/SysUeApplications.tplan2 +217 −132 File changed.Preview size limit exceeded, changes collapsed. Show changes
Test Purposes/mec-common.tplan2 +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading