From 901a2057e447e8c187367be95d3667931e95d9f3 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Fri, 13 Jan 2023 09:53:18 +0100 Subject: [PATCH 01/70] First commit with placeholders for MEC033 --- Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 | 0 Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 create mode 100644 Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 diff --git a/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 new file mode 100644 index 0000000..e69de29 diff --git a/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 new file mode 100644 index 0000000..e69de29 -- GitLab From 9d57f9c1fc4fd928c5ccc7d4b309167b25762719 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 16 Jan 2023 13:51:04 +0100 Subject: [PATCH 02/70] Fix typo --- Test Purposes/mec-common.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 393d1fe..8c32555 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -47,7 +47,7 @@ Package MEC_Common { - services_running // services available in the IUT - started // component is up and running - authorised // component is authenticated and authorised to use services - - consume_services // component is can use services + - consume_services // component can use services - receives // component receives an HTTP request - sends // component sends an HTTP response - being_in -- GitLab From ddee38f2459869ae5ae74391e5b66c3a5d82b490 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 16 Jan 2023 13:52:13 +0100 Subject: [PATCH 03/70] First version of MEC033v211 TPs related to the IoT devices --- .../IOTS/IOTDEV/RegisteredDevices.tplan2 | 552 ++++++++++++++++++ 1 file changed, 552 insertions(+) diff --git a/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 index e69de29..18f4ce9 100644 --- a/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -0,0 +1,552 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC033_MEX_IOTS_IOTDEV { + + import all from MEC_Common; + + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01" + + Test objective + "Check that the IUT responds with the list of registered IoT devices + when queried by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_devices" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfDeviceInfo containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_02" + + Test objective + "Check that the IUT registers the information of a new IoT device + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/iots/v1/registered_devices" + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_02" + + Test objective + "Check that the IUT returns an error + when Service Consumer request to registers an IoT device with incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/iots/v1/registered_devices" + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false // According to Note 3 of 6.2.2-1 table, it cannot be set directly by the service consumer. + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request", + Location set to LOCATION, + body containing + ProblemDetails containing + details indicating value ERROR_DETAILS + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_03" + + Test objective + "Check that the IUT returns the IoT device information + when requested by Service Consumer specifying the device identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value registeredDeviceId, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value registeredDeviceId, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + +Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_03" + + Test objective + "Check that the IUT returns error + when Service Consumer request to retrieve a not registered IoT device" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value registeredDeviceId, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_04" + + Test objective + "Check that the IUT updates the information about a registered IOT device + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_devices" + body containing + DeviceInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + requestedIotPlatformId indicating value REQ_IOT_PLATFORM, + requestedMecTrafficRule containing + TrafficRuleDescriptor containing + trafficRuleId indicating value TRAFFIC_RULE_ID, + filterType set to "FLOW", + action set to "FORWARD_AS_IS", + trafficFilter containing + qCI indicating value QCI_VALUE + ; + ; + ; + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + requestedIotPlatformId indicating value REQ_IOT_PLATFORM, + requestedMecTrafficRule containing + TrafficRuleDescriptor containing + trafficRuleId indicating value TRAFFIC_RULE_ID, + filterType set to "FLOW", + action set to "FORWARD_AS_IS", + enabled set to TRUE + trafficFilter containing + qCI indicating value QCI_VALUE + ; + ; + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_04" + + Test objective + "Check that the IUT returns an error + when a Service Consumer requests to update a not registered IoT device" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_devices" + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + requestedIotPlatformId indicating value REQ_IOT_PLATFORM, + requestedMecTrafficRule containing + TrafficRuleDescriptor containing + trafficRuleId indicating value TRAFFIC_RULE_ID, + filterType set to "FLOW", + action set to "FORWARD_AS_IS", + trafficFilter containing + qCI indicating value QCI_VALUE + ; + ; + ; + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_04" + + Test objective + "Check that the IUT returns an error + when a Service Consumer requests to update an existing IoT device with incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_devices" + body containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + enabled set to TRUE, // According to Note 3 of 6.2.2-1 table, it cannot be set directly by the service consumer. + requestedMecTrafficRule containing + TrafficRuleDescriptor containing + trafficRuleId indicating value TRAFFIC_RULE_ID, + filterType set to "FLOW", + action set to "FORWARD_AS_IS", + trafficFilter containing + qCI indicating value QCI_VALUE + ; + ; + ; + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request", + body containing + ProblemDetails containing + details indicating value ERROR_DETAILS + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_05" + + Test objective + "Check that the IUT deregisters an IoT device information + when requested by a Service Consumer specifying the IoT registered device identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value registeredDeviceId, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_CONSUMER entity + } + } + } + +Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_05" + + Test objective + "Check that the IUT returns an error + when requested by a Service Consumer using incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value registeredDeviceId, + IMSI indicating value IMSI_DEVICE, + enabled indicating value false + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.4.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not found" + ; + to the MEC_CONSUMER entity + } + } + } + +} + + -- GitLab From 29373205752cd845cc3fafa88cbadffd469615f4 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Fri, 20 Jan 2023 14:31:18 +0100 Subject: [PATCH 04/70] Test Purposes for IoTPlatform --- .../IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 391 ++++++++++++++++++ 1 file changed, 391 insertions(+) mode change 100644 => 100755 Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 diff --git a/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 old mode 100644 new mode 100755 index e69de29..9f6c7d7 --- a/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 +++ b/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 @@ -0,0 +1,391 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC033_MEX_IOTS_IOTPLAT { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_01" + + Test objective + "Check that the IUT responds with the list of registered IoT platforms + when queried by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfIoTPlatformInfo containing + IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + + } + + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_02" + + Test objective + "Check that the IUT registers the information of a new IoT platform + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/iots/v1/registered_iot_platforms" + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to LOCATION, + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_03" + + Test objective + "Check that the IUT returns the IoT platform information + when requested by Service Consumer specifying the platform identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_03" + + Test objective + "Check that the IUT returns error + when Service Consumer request to retrieve a not registered IoT platform" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_04" + + + Test objective + "Check that the IUT updates the information about a registered IOT platform + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + body containing + IotPlatformInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with + iotPlatformId indicating value IOT_PLATFORM_ID, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_04" + + Test objective + "Check that the IUT returns an error + when a Service Consumer requests to update a not registered IoT platform" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_05" + + Test objective + "Check that the IUT deregisters an IoT platform information + when requested by a Service Consumer specifying the IoT registered platform identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_05" + + Test objective + "Check that the IUT returns an error + when requested by a Service Consumer using incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not found" + ; + to the MEC_CONSUMER entity + } + } + } + +} \ No newline at end of file -- GitLab From 88e069192c26270718281a8641ca87df03cf0eeb Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Mon, 23 Jan 2023 08:58:57 +0100 Subject: [PATCH 05/70] Create MEC-040 TPs --- .../MEC040/SRV/FederationEnablement.tplan2 | 554 ++++++++++++++++++ Test Purposes/mec-common.tplan2 | 9 + 2 files changed, 563 insertions(+) create mode 100644 Test Purposes/MEC040/SRV/FederationEnablement.tplan2 diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 new file mode 100644 index 0000000..7a356ea --- /dev/null +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -0,0 +1,554 @@ +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC040_SRV_FED_ENA_MEO { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_01" + + Test objective + "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_N + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo0 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value any_value, + systemProvider indicating value any_value + ;, + systemInfoN containing + systemId indicating value SYSTEM_ID_N, + systemName indicating value any_value, + systemProvider indicating value any_value + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_02" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_N + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_3 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value any_value, + systemProvider indicating value any_value + ;, + systemInfo3 containing + systemId indicating value any_value, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value any_value + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_02 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_NF" + + Test objective + "Check that the IUT responds with an error when selection is not applicable" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_N + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_UNKNOWN + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_002_OK_01" + + Test objective + "Check that the IUT creates a new systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity not having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_002_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_002_BR" + + Test objective + "Check that the IUT responds with an error on creating an existing systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_002_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_003_OK_01" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_N + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value any_value, + systemProvider indicating value any_value + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_003_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_003_NF" + + Test objective + "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_N + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_003_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_004_OK_01" + + Test objective + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NAME_1, + endpoint indicating value NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value any_value, + systemProvider indicating value SYSTEM_ID_NEW_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_004_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_004_NF" + + Test objective + "Check that the IUT responds with an error when requested to update an unknown systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NAME_1, + endpoint indicating value NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_004_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_005_OK_01" + + Test objective + "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NAME_1, + endpoint indicating value NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_005_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_005_NF" + + Test objective + "Check that the IUT responds with an error when requested to delete an unknown systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.4, + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_005_NF + + +} // End of Package MEC_MEC040_SRV_FED_ENA diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 393d1fe..52a4628 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -42,6 +42,7 @@ Package MEC_Common { - RNIS_SERVER - AMS_CLIENT - AMS_SERVER + - MEC_FED ; events: - services_running // services available in the IUT @@ -52,6 +53,7 @@ Package MEC_Common { - sends // component sends an HTTP response - being_in - having + - isRegistered // Idle state: The MEC platform has services running and MEC Application // is authorized to consume services - idle_state @@ -176,6 +178,7 @@ Package MEC_Common { Component Type MecSystemComponent with gate p of type apiPort; Component Type MecGenericProvider with gate p of type apiPort; Component Type MecGenericConsumer with gate p of type apiPort; + Component Type MecFederator with gate p of type apiPort; Test Configuration Config_MEC_1 containing Tester component MEC_App of type MecAppComponent @@ -213,5 +216,11 @@ Package MEC_Common { connection between Mec_Consumer.p and IUT.p ; + Test Configuration Config_MEC_7 containing + Tester component Mec_Orchestrator of type MecOrchestrator + SUT component IUT of type MecFederator + connection between Mec_Orchestrator.p and IUT.p + ; + } } -- GitLab From 0365dbbd0eccdeaf1aa66e9427398b2a70009c68 Mon Sep 17 00:00:00 2001 From: piscione Date: Tue, 24 Jan 2023 12:13:27 +0100 Subject: [PATCH 06/70] Fixes on MEC033 TPs --- .../IOTS/IOTDEV/RegisteredDevices.tplan2 | 40 +- .../IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 823 +++++++++--------- 2 files changed, 453 insertions(+), 410 deletions(-) rename Test Purposes/MEC033/{ => MEX}/IOTS/IOTDEV/RegisteredDevices.tplan2 (94%) rename Test Purposes/MEC033/{ => MEX}/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 (79%) mode change 100755 => 100644 diff --git a/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 similarity index 94% rename from Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 rename to Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 index 18f4ce9..24892e6 100644 --- a/Test Purposes/MEC033/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -27,7 +27,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, - enabled indicating value false + enabled set to false ; } @@ -50,7 +50,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, - enabled indicating value false + enabled set to false ; ; ; @@ -64,7 +64,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_02" Test objective - "Check that the IUT registers the information of a new IoT device + "Check that the IUT registers the information of an IoT device when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -98,7 +98,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { // MEC 033 Clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", - Location set to LOCATION, + Location indicating value LOCATION, body containing DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, @@ -118,7 +118,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test objective "Check that the IUT returns an error - when Service Consumer request to registers an IoT device with incorrect parameters" + when Service Consumer request to register an IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -181,7 +181,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { the IUT entity being_in idle_state and the MEC_PROVIDER entity having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value registeredDeviceId, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -204,7 +204,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { body containing DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value registeredDeviceId, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -232,7 +232,7 @@ Test Purpose { the IUT entity being_in idle_state and the MEC_PROVIDER entity not having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value registeredDeviceId, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -262,7 +262,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_04" Test objective - "Check that the IUT updates the information about a registered IOT device + "Check that the IUT updates the information about a registered IoT device when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -275,7 +275,7 @@ Test Purpose { the IUT entity being_in idle_state and the MEC_PROVIDER entity having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value HUMAN_READABLE_IDENTIFIER, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -286,7 +286,7 @@ Test Purpose { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/iots/v1/registered_devices" + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" body containing DeviceInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, @@ -354,7 +354,7 @@ Test Purpose { the IUT entity being_in idle_state and the MEC_PROVIDER entity not having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value HUMAN_READABLE_IDENTIFIER, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -365,11 +365,11 @@ Test Purpose { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/iots/v1/registered_devices" + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" body containing DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value HUMAN_READABLE_IDENTIFIER, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, requestedIotPlatformId indicating value REQ_IOT_PLATFORM, requestedMecTrafficRule containing @@ -413,7 +413,7 @@ Test Purpose { the IUT entity being_in idle_state and the MEC_PROVIDER entity having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value HUMAN_READABLE_IDENTIFIER, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -424,11 +424,11 @@ Test Purpose { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/iots/v1/registered_devices" + uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}" body containing DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value HUMAN_READABLE_IDENTIFIER, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled set to TRUE, // According to Note 3 of 6.2.2-1 table, it cannot be set directly by the service consumer. requestedMecTrafficRule containing @@ -466,7 +466,7 @@ Test Purpose { Test objective "Check that the IUT deregisters an IoT device information - when requested by a Service Consumer specifying the IoT registered device identifier" + when requested by a Service Consumer specifying the IoT registered device identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" @@ -478,7 +478,7 @@ Test Purpose { the IUT entity being_in idle_state and the MEC_PROVIDER entity having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, - deviceId indicating value registeredDeviceId, + deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; @@ -509,7 +509,7 @@ Test Purpose { Test objective "Check that the IUT returns an error - when requested by a Service Consumer using incorrect parameters" + when a Service Consumer requests to deregisters an IoT device using incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" diff --git a/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 old mode 100755 new mode 100644 similarity index 79% rename from Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 rename to Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 index 9f6c7d7..9aeeb0b --- a/Test Purposes/MEC033/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 @@ -1,391 +1,434 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC033_MEX_IOTS_IOTPLAT { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_01" - - Test objective - "Check that the IUT responds with the list of registered IoT platforms - when queried by a Service Consumer" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IoTPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/iots/v1/registered_iot_platforms" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - arrayOfIoTPlatformInfo containing - IoTPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - - } - - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_02" - - Test objective - "Check that the IUT registers the information of a new IoT platform - when requested by a Service Consumer" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/iots/v1/registered_iot_platforms" - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.3.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - to the MEC_CONSUMER entity - } - } - - } - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_03" - - Test objective - "Check that the IUT returns the IoT platform information - when requested by Service Consumer specifying the platform identifier" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_03" - - Test objective - "Check that the IUT returns error - when Service Consumer request to retrieve a not registered IoT platform" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_04" - - - Test objective - "Check that the IUT updates the information about a registered IOT platform - when requested by a Service Consumer" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - body containing - IotPlatformInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with - iotPlatformId indicating value IOT_PLATFORM_ID, - userTranspostInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTranspostInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_04" - - Test objective - "Check that the IUT returns an error - when a Service Consumer requests to update a not registered IoT platform" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTranspostInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - ; - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found"; - to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_OK_05" - - Test objective - "Check that the IUT deregisters an IoT platform information - when requested by a Service Consumer specifying the IoT registered platform identifier" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; - to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTPLAT_NF_05" - - Test objective - "Check that the IUT returns an error - when requested by a Service Consumer using incorrect parameters" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not found" - ; - to the MEC_CONSUMER entity - } - } - } - +/* +Copyright (c) ETSI 2018-2021. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC033_MEX_IOTS_IOTPLAT { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01" + + Test objective + "Check that the IUT responds with the list of registered IoT platforms + when queried by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfIoTPlatformInfo containing + IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + + } + + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_02" + + Test objective + "Check that the IUT registers the information of a new IoT platform + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/iots/v1/registered_iot_platforms" + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location indicating value LOCATION, + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_BR_02" + + Test objective + "Check that the IUT returns an error + when Service Consumer request to register an IoT device with incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/iots/v1/registered_iot_platforms" + body containing + IotPlatformInfo containing //userTransportInfo is a mandatory attribute of IotPlatformInfo, below not provided. + iotPlatformId indicating value IOT_PLATFORM_ID, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_CONSUMER entity + } + } + + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03" + + Test objective + "Check that the IUT returns the IoT platform information + when requested by Service Consumer specifying the IoT platform identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_03" + + Test objective + "Check that the IUT returns error + when Service Consumer request to retrieve a not registered IoT platform" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_04" + + + Test objective + "Check that the IUT updates the information about a registered IoT platform + when requested by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + body containing + IotPlatformInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with + iotPlatformId set to registeredIotPlatformId, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_04" + + Test objective + "Check that the IUT returns an error + when a Service Consumer requests to update a not registered IoT platform" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + body containing + IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTranspostInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_05" + + Test objective + "Check that the IUT deregisters an IoT platform information + when requested by a Service Consumer specifying the registered IoT platform identifier" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_05" + + Test objective + "Check that the IUT returns an error + when a Service Consumer request to deregister an IoT platform using incorrect parameters" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity not having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not found" + ; + to the MEC_CONSUMER entity + } + } + } + } \ No newline at end of file -- GitLab From c24f15b3311f459a17265645e85a27e78ebe6502 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Mon, 13 Feb 2023 09:34:08 +0100 Subject: [PATCH 07/70] Review all TPs from Clause 7 --- .../MEC040/SRV/FederationEnablement.tplan2 | 1999 ++++++++++++----- Test Purposes/mec-common.tplan2 | 457 ++-- 2 files changed, 1676 insertions(+), 780 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index 7a356ea..bddc264 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -1,554 +1,1445 @@ -/* -Copyright (c) ETSI 2018-2021. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC040_SRV_FED_ENA_MEO { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_01" - - Test objective - "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_N - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v1/fed_resources/system_info" - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - systemInfoList containing - systemInfo0 containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value any_value, - systemProvider indicating value any_value - ;, - systemInfoN containing - systemId indicating value SYSTEM_ID_N, - systemName indicating value any_value, - systemProvider indicating value any_value - ; - ; - ; - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_02" - - Test objective - "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_N - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v1/fed_resources/system_info", - query_parameters containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value SYSTEM_NAME_3 - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - systemInfoList containing - systemInfo1 containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value any_value, - systemProvider indicating value any_value - ;, - systemInfo3 containing - systemId indicating value any_value, - systemName indicating value SYSTEM_NAME_3, - systemProvider indicating value any_value - ; - ; - ; - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_OK_02 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_001_NF" - - Test objective - "Check that the IUT responds with an error when selection is not applicable" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_N - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v1/fed_resources/system_info", - query_parameters containing - systemId indicating value SYSTEM_ID_UNKNOWN - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_001_NF - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_002_OK_01" - - Test objective - "Check that the IUT creates a new systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity not having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "fed_enablement/v1/fed_resources/system_info", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value SYSTEM_NAME_1, - systemProvider indicating value SYSTEM_PROV_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value SYSTEM_NAME_1, - systemProvider indicating value SYSTEM_PROV_1 - ; - ; - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_002_OK_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_002_BR" - - Test objective - "Check that the IUT responds with an error on creating an existing systemInfo" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "fed_enablement/v1/fed_resources/system_info", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value SYSTEM_NAME_1, - systemProvider indicating value SYSTEM_PROV_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_002_BR - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_003_OK_01" - - Test objective - "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_N - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value any_value, - systemProvider indicating value any_value - ; - ; - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_003_OK_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_003_NF" - - Test objective - "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_N - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_003_NF - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_004_OK_01" - - Test objective - "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" - body containing - SystemInfoUpdate containing - systemName indicating value SYSTEM_NAME_1, - endpoint indicating value NEW_ENDPOINT_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, - systemName indicating value any_value, - systemProvider indicating value SYSTEM_ID_NEW_1 - ; - ; - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_004_OK_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_004_NF" - - Test objective - "Check that the IUT responds with an error when requested to update an unknown systemInfo" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" - body containing - SystemInfoUpdate containing - systemName indicating value SYSTEM_NAME_1, - endpoint indicating value NEW_ENDPOINT_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_004_NF - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_005_OK_01" - - Test objective - "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" - body containing - SystemInfoUpdate containing - systemName indicating value SYSTEM_NAME_1, - endpoint indicating value NEW_ENDPOINT_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_005_OK_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_ENA_MEO_005_NF" - - Test objective - "Check that the IUT responds with an error when requested to delete an unknown systemInfo" - - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.4, - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_FED_ENA_MEO_005_NF - - -} // End of Package MEC_MEC040_SRV_FED_ENA +/* +Copyright (c) ETSI 2018-2023. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC040_SRV_FED { + + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK" + + Test objective + "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator - No query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo0 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfoN containing + systemId indicating value SYSTEM_ID_2, + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROVIDER_2 + ;, + systemInfoN containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_02" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemId query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_1 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_02 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_03" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemId query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_1, + systemId indicating value SYSTEM_ID_3 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_03 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_04" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemId query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfoN indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value empty + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_2, + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROVIDER_2 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_04 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_05" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemName query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_NAME_1, + systemInfoN indicating value SYSTEM_NAME_2, + systemInfoN indicating value SYSTEM_NAME_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemName indicating value SYSTEM_NAME_1 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_05 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_06" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemName query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_NAME_1, + systemInfoN indicating value SYSTEM_NAME_2, + systemInfoN indicating value SYSTEM_NAME_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemName indicating value SYSTEM_NAME_1, + systemName indicating value SYSTEM_NAME_3 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_06 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_07" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemName query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_NAME_1, + systemInfoN indicating value SYSTEM_NAME_2, + systemInfoN indicating value SYSTEM_NAME_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemName indicating value empty + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_2, + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROVIDER_2 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_07 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_08" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - systemProvider query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_PROVIDER_1, + systemInfoN indicating value SYSTEM_PROVIDER_2, + systemInfoN indicating value SYSTEM_PROVIDER_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemProvider indicating value SYSTEM_PROVIDER_1 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_08 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_09" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple systemProvider query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_PROVIDER_1, + systemInfoN indicating value SYSTEM_PROVIDER_2, + systemInfoN indicating value SYSTEM_PROVIDER_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemProvider indicating value SYSTEM_PROVIDER_1, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_09 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_10" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty systemProvider query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_PROVIDER_1, + systemInfoN indicating value SYSTEM_PROVIDER_2, + systemInfoN indicating value SYSTEM_PROVIDER_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemProvider indicating value empty + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_2, + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROVIDER_2 + ;, + systemInfo3 containing + systemId indicating value SYSTEM_ID_3, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_10 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_OK_11" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple query parameters" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo1 indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3, + systemInfoN indicating value SYSTEM_ID_4 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_3 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfoList containing + systemInfo1 containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROVIDER_1 + ;, + systemInfo3 containing + systemId indicating value any_value, + systemName indicating value SYSTEM_NAME_3, + systemProvider indicating value SYSTEM_PROVIDER_3 + ; + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_OK_11 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_NF_01" + + Test objective + "Check that the IUT responds with an error when selection is not applicable - SystemId" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo1 indicating value SYSTEM_ID_2, + systemInfo3 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemId indicating value SYSTEM_ID_4 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_NF_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_NF_02" + + Test objective + "Check that the IUT responds with an error when selection is not applicable - SystemName" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_NAME_1, + systemInfo1 indicating value SYSTEM_NAME_2, + systemInfo3 indicating value SYSTEM_NAME_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + systemName indicating value SYSTEM_NAME_4 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_NF_02_02 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_NF_03" + + Test objective + "Check that the IUT responds with an error when selection is not applicable - SystemProvider" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_PROVIDER_1, + systemInfo1 indicating value SYSTEM_PROVIDER_2, + systemInfo3 indicating value SYSTEM_PROVIDER_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + query_parameters containing + SystemProvider indicating value SYSTEM_PROVIDER_4 + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_001_NF_03" + + Test objective + "Check that the IUT responds with an error when request is malformed" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v10/fed_resources/system_info" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_001_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_002_OK_01" + + Test objective + "Check that the IUT creates a new systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity not having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value omit, // Shall be absent in POST request + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_002_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_002_BR" + + Test objective + "Check that the IUT responds with an error on creating an existing systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, // Shall be omit in the request + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_002_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_003_OK" + + Test objective + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Registration" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_2}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_2, + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROVIDER_2 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_003_OK + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_003_NF" + + Test objective + "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId - Registration" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_4}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_003_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_003_NF" + + Test objective + "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId - Registration" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_4}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_003_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_004_OK_01" + + Test objective + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value omit, + endpoint indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_004_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_004_OK_02" + + Test objective + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NEW_NAME_1, + endpoint indicating value omit + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NEW_NAME_1, + systemProvider indicating value SYSTEM_ENDPOINT_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_004_OK_02 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_004_OK_03" + + Test objective + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1, + systemInfo2 indicating value SYSTEM_ID_2, + systemInfo1 indicating value SYSTEM_ID_3 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NEW_NAME_1, + endpoint indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, + systemName indicating value SYSTEM_NEW_NAME_1, + systemProvider indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_004_OK_03 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_004_NF" + + Test objective + "Check that the IUT responds with an error when requested to update an unknown systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_2}" + body containing + SystemInfoUpdate containing + systemName indicating value omit, + endpoint indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_004_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_004_BR" + + Test objective + "Check that the IUT responds with an error when requested to update an unknown systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value omit, + endpoint indicating value SYSTEM_NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_004_BR + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_005_OK_01" + + Test objective + "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value SYSTEM_NAME_1, + endpoint indicating value NEW_ENDPOINT_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_005_OK_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_FED_005_NF" + + Test objective + "Check that the IUT responds with an error when requested to delete an unknown systemInfo" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.4, + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "fed_enablement/v1/fed_resources/system_info/{SYSTEM_ID_UNKNOWN}" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_FED_005_NF + + +} // End of Package MEC_MEC040_SRV diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 92f03c7..85cb3d5 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -1,226 +1,231 @@ -Package MEC_Common { - - Domain { - pics: - - // Some PICS in this list are referenced to - // PICS item in MEC 032 part 1, Clause A.4 - - - PIC_MEC_PLAT - - PIC_MEC_SYSTEM - - PIC_SERVICES - - PIC_NOTIFICATIONS - - PIC_APP_PACKAGE_MANAGEMENT - - PIC_APP_PACKAGE_NOTIFICATIONS - - PIC_RNIS_QUERY - - PIC_RNIS_ALL_SUBSCRIPTIONS - - PIC_RNIS_SPECIFIC_SUBSCRIPTION - - PIC_RNIS_NOTIFICATIONS - - PIC_APP_LCM_MANAGEMENT - - PIC_APP_LCM_NOTIFICATIONS - - PIC_AMS - - PIC_AMS_NOTIFICATIONS - - PIC_GRANTS_MANAGEMENT - ; - entities: - - MEC_OSS - - MEO - - MEPM - - MEC_APP - - IUT - - Dev_App - - MEC_PROVIDER - - MEC_CONSUMER - // Specialization of base components - - MEC_APP_Registrant - - MEC_APP_Subscriber - - MEC_SUB - - RNIS_CLIENT - - RNIS_SERVER - - MEC_SUB - - RNIS_CLIENT - - RNIS_SERVER - - AMS_CLIENT - - AMS_SERVER - - MEC_FED - ; - events: - - services_running // services available in the IUT - - started // component is up and running - - authorised // component is authenticated and authorised to use services - - consume_services // component can use services - - receives // component receives an HTTP request - - sends // component sends an HTTP response - - being_in - - having - - isRegistered - // Idle state: The MEC platform has services running and MEC Application - // is authorized to consume services - - idle_state - - subscribed_to - - App_Package_subscription - - App_Package - - generates - - idle_state - - app_package_operational_change_event - - perform_RNIS_query_to - - having_RNIS_subscription - - having_RNIS_subscription_privileges - - privileges - - RNIS_subscription - - perform_RNIS_subscription_query_to - - cell_change_event - - rab_establish_event - - rab_modification_event - - rab_release_event - - measurement_repost_event - - timing_advance_event - - carrier_aggregation_reconfiguration_event - - S1_bearer_event - - nr_measurement_repost_event - - expiry_notification_event - - application_lcm_change_event - - mobility_procedure_event - - adjacent_app_info_event - - app_instance - - grant - ; - } - - Data { - type STRING; - type JSON; - type string with s of type STRING; - - type HttpHeaders with - // content_type is optional, since not present in GET and DELETE - content_type of type STRING, - authorization of type STRING, - accept of type STRING - ; - - type HTTP_REQUEST with - uri of type STRING - ; - - type HttpMsg with - uri of type STRING, - headers of type HttpHeaders, - status_code of type STRING, - // body is optional, since not present in GET and DELETE - body of type JSON - ; - - STRING "application/json;charset=utf-8"; - string CONTENT_JSON containing s set to "application/json;charset=utf-8"; - STRING VALID_TOKEN; - STRING NOT_VALID_TOKEN; - STRING "application/json"; - STRING "application/octet-stream"; - - HttpHeaders vHeadersInvalidToken containing - authorization set to NOT_VALID_TOKEN - ; - - HttpHeaders vHeadersGet containing - accept set to "application/json", - authorization set to VALID_TOKEN - ; - - HttpHeaders vHeadersAcceptKO containing - accept set to "application/octet-stream", - authorization set to VALID_TOKEN - ; - - HttpHeaders vHeaders containing - accept set to CONTENT_JSON, - content_type set to CONTENT_JSON, - authorization set to VALID_TOKEN - ; - - HttpHeaders vHeadersResponse containing - content_type set to CONTENT_JSON - ; - - HttpMsg vGET containing - headers set to vHeadersGet - ; - - HttpMsg vPOST containing - headers set to vHeaders - ; - - HttpMsg vPUT containing - headers set to vHeaders - ; - - HttpMsg vDELETE containing - headers set to vHeadersGet - ; - - HttpMsg HTTP_RESPONSE containing - headers set to vHeadersResponse - ; - - - } - - Configuration { - - Interface Type apiPort accepts string; - - Component Type MecAppComponent with gate p of type apiPort; - Component Type MecPlatformComponent with gate p of type apiPort; - Component Type MecOss with gate p of type apiPort; - Component Type MecOrchestrator with gate p of type apiPort; - Component Type MecPlatformManagerComponent with gate p of type apiPort; - Component Type DevAppComponent with gate p of type apiPort; - Component Type MecSystemComponent with gate p of type apiPort; - Component Type MecGenericProvider with gate p of type apiPort; - Component Type MecGenericConsumer with gate p of type apiPort; - Component Type MecFederator with gate p of type apiPort; - - Test Configuration Config_MEC_1 containing - Tester component MEC_App of type MecAppComponent - SUT component IUT of type MecPlatformComponent - connection between MEC_App.p and IUT.p - ; - - Test Configuration Config_MEC_2 containing - Tester component MEC_Oss of type MecOss - SUT component IUT of type MecOrchestrator - connection between MEC_Oss.p and IUT.p - ; - - Test Configuration Config_MEC_3 containing - Tester component MEC_Platform_Manager of type MecPlatformManagerComponent - SUT component IUT of type MecOrchestrator - connection between MEC_Platform_Manager.p and IUT.p - ; - - Test Configuration Config_MEC_4 containing - Tester component Dev_App of type DevAppComponent - SUT component IUT of type MecSystemComponent - connection between Dev_App.p and IUT.p - ; - - Test Configuration Config_MEC_5 containing - Tester component MecOrchestrator of type MecOrchestrator - SUT component IUT of type MecPlatformManagerComponent - connection between MecOrchestrator.p and IUT.p - ; - - Test Configuration Config_MEC_6 containing - Tester component Mec_Consumer of type MecGenericConsumer - SUT component IUT of type MecGenericProvider - connection between Mec_Consumer.p and IUT.p - ; - - Test Configuration Config_MEC_7 containing - Tester component Mec_Orchestrator of type MecOrchestrator - SUT component IUT of type MecFederator - connection between Mec_Orchestrator.p and IUT.p - ; - - } -} +/* +Copyright (c) ETSI 2018-2023. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_Common { + + Domain { + pics: + + // Some PICS in this list are referenced to + // PICS item in MEC 032 part 1, Clause A.4 + + - PIC_MEC_PLAT + - PIC_MEC_SYSTEM + - PIC_SERVICES + - PIC_NOTIFICATIONS + - PIC_APP_PACKAGE_MANAGEMENT + - PIC_APP_PACKAGE_NOTIFICATIONS + - PIC_RNIS_QUERY + - PIC_RNIS_ALL_SUBSCRIPTIONS + - PIC_RNIS_SPECIFIC_SUBSCRIPTION + - PIC_RNIS_NOTIFICATIONS + - PIC_APP_LCM_MANAGEMENT + - PIC_APP_LCM_NOTIFICATIONS + - PIC_AMS + - PIC_AMS_NOTIFICATIONS + - PIC_GRANTS_MANAGEMENT + ; + entities: + - MEC_OSS + - MEO + - MEPM + - MEC_APP + - IUT + - Dev_App + - MEC_PROVIDER + - MEC_CONSUMER + // Specialization of base components + - MEC_APP_Registrant + - MEC_APP_Subscriber + - MEC_SUB + - RNIS_CLIENT + - RNIS_SERVER + - MEC_SUB + - RNIS_CLIENT + - RNIS_SERVER + - AMS_CLIENT + - AMS_SERVER + - MEC_FED + ; + events: + - services_running // services available in the IUT + - started // component is up and running + - authorised // component is authenticated and authorised to use services + - consume_services // component can use services + - receives // component receives an HTTP request + - sends // component sends an HTTP response + - being_in + - having + - isRegistered + // Idle state: The MEC platform has services running and MEC Application + // is authorized to consume services + - idle_state + - subscribed_to + - App_Package_subscription + - App_Package + - generates + - idle_state + - app_package_operational_change_event + - perform_RNIS_query_to + - having_RNIS_subscription + - having_RNIS_subscription_privileges + - privileges + - RNIS_subscription + - perform_RNIS_subscription_query_to + - cell_change_event + - rab_establish_event + - rab_modification_event + - rab_release_event + - measurement_repost_event + - timing_advance_event + - carrier_aggregation_reconfiguration_event + - S1_bearer_event + - nr_measurement_repost_event + - expiry_notification_event + - application_lcm_change_event + - mobility_procedure_event + - adjacent_app_info_event + - app_instance + - grant + ; + } + + Data { + type STRING; + type JSON; + type string with s of type STRING; + + type HttpHeaders with + // content_type is optional, since not present in GET and DELETE + content_type of type STRING, + authorization of type STRING, + accept of type STRING + ; + + type HTTP_REQUEST with + uri of type STRING + ; + + type HttpMsg with + uri of type STRING, + headers of type HttpHeaders, + status_code of type STRING, + // body is optional, since not present in GET and DELETE + body of type JSON + ; + + STRING "application/json;charset=utf-8"; + string CONTENT_JSON containing s set to "application/json;charset=utf-8"; + STRING VALID_TOKEN; + STRING NOT_VALID_TOKEN; + STRING "application/json"; + STRING "application/octet-stream"; + + HttpHeaders vHeadersInvalidToken containing + authorization set to NOT_VALID_TOKEN + ; + + HttpHeaders vHeadersGet containing + accept set to "application/json", + authorization set to VALID_TOKEN + ; + + HttpHeaders vHeadersAcceptKO containing + accept set to "application/octet-stream", + authorization set to VALID_TOKEN + ; + + HttpHeaders vHeaders containing + accept set to CONTENT_JSON, + content_type set to CONTENT_JSON, + authorization set to VALID_TOKEN + ; + + HttpHeaders vHeadersResponse containing + content_type set to CONTENT_JSON + ; + + HttpMsg vGET containing + headers set to vHeadersGet + ; + + HttpMsg vPOST containing + headers set to vHeaders + ; + + HttpMsg vPUT containing + headers set to vHeaders + ; + + HttpMsg vDELETE containing + headers set to vHeadersGet + ; + + HttpMsg HTTP_RESPONSE containing + headers set to vHeadersResponse + ; + + + } + + Configuration { + + Interface Type apiPort accepts string; + + Component Type MecAppComponent with gate p of type apiPort; + Component Type MecPlatformComponent with gate p of type apiPort; + Component Type MecOss with gate p of type apiPort; + Component Type MecOrchestrator with gate p of type apiPort; + Component Type MecPlatformManagerComponent with gate p of type apiPort; + Component Type DevAppComponent with gate p of type apiPort; + Component Type MecSystemComponent with gate p of type apiPort; + Component Type MecGenericProvider with gate p of type apiPort; + Component Type MecGenericConsumer with gate p of type apiPort; + Component Type MecFederator with gate p of type apiPort; + + Test Configuration Config_MEC_1 containing + Tester component MEC_App of type MecAppComponent + SUT component IUT of type MecPlatformComponent + connection between MEC_App.p and IUT.p + ; + + Test Configuration Config_MEC_2 containing + Tester component MEC_Oss of type MecOss + SUT component IUT of type MecOrchestrator + connection between MEC_Oss.p and IUT.p + ; + + Test Configuration Config_MEC_3 containing + Tester component MEC_Platform_Manager of type MecPlatformManagerComponent + SUT component IUT of type MecOrchestrator + connection between MEC_Platform_Manager.p and IUT.p + ; + + Test Configuration Config_MEC_4 containing + Tester component Dev_App of type DevAppComponent + SUT component IUT of type MecSystemComponent + connection between Dev_App.p and IUT.p + ; + + Test Configuration Config_MEC_5 containing + Tester component MecOrchestrator of type MecOrchestrator + SUT component IUT of type MecPlatformManagerComponent + connection between MecOrchestrator.p and IUT.p + ; + + Test Configuration Config_MEC_6 containing + Tester component Mec_Consumer of type MecGenericConsumer + SUT component IUT of type MecGenericProvider + connection between Mec_Consumer.p and IUT.p + ; + + Test Configuration Config_MEC_7 containing + Tester component Mec_Orchestrator of type MecOrchestrator + SUT component IUT of type MecFederator + connection between Mec_Orchestrator.p and IUT.p + ; + + } +} -- GitLab From 3d495f728b3124b176c1dd18d9a6852fe7f8d5c2 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Mon, 13 Feb 2023 11:28:09 +0100 Subject: [PATCH 08/70] Add TP skeletons for Clause 5.2.x --- .../MEC040/SRV/FederationEnablement.tplan2 | 317 +++++++++++++----- Test Purposes/mec-common.tplan2 | 4 +- 2 files changed, 228 insertions(+), 93 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index bddc264..60fb79a 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -8,12 +8,12 @@ Package MEC_MEC040_SRV_FED { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK" Test objective "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator - No query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -23,6 +23,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and the IUT isRegistered to the MEC_FED and + the MEC_FED are_aware_of_eachother and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfoN indicating value SYSTEM_ID_2, @@ -66,16 +67,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK + } // End of TP_MEC_MEC040_SRV_MEF_001_OK Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_02" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_02" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -121,16 +122,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_02 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_02 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_03" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_03" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -182,16 +183,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_03 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_03 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_04" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_04" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -247,16 +248,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_04 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_04 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_05" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_05" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -302,16 +303,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_05 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_05 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_06" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_06" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -363,16 +364,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_06 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_06 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_07" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_07" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -428,16 +429,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_07 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_07 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_08" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_08" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -483,16 +484,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_08 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_08 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_09" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_09" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -544,16 +545,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_09 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_09 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_10" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_10" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -609,16 +610,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_10 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_10 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_OK_11" + TP Id "TP_MEC_MEC040_SRV_MEF_001_OK_11" Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -671,16 +672,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_OK_11 + } // End of TP_MEC_MEC040_SRV_MEF_001_OK_11 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_NF_01" + TP Id "TP_MEC_MEC040_SRV_MEF_001_NF_01" Test objective "Check that the IUT responds with an error when selection is not applicable - SystemId" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -717,16 +718,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_NF_01 + } // End of TP_MEC_MEC040_SRV_MEF_001_NF_01 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_NF_02" + TP Id "TP_MEC_MEC040_SRV_MEF_001_NF_02" Test objective "Check that the IUT responds with an error when selection is not applicable - SystemName" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -763,16 +764,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_NF_02_02 + } // End of TP_MEC_MEC040_SRV_MEF_001_NF_02_02 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_NF_03" + TP Id "TP_MEC_MEC040_SRV_MEF_001_NF_03" Test objective "Check that the IUT responds with an error when selection is not applicable - SystemProvider" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -809,16 +810,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_BR + } // End of TP_MEC_MEC040_SRV_MEF_001_BR Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_001_NF_03" + TP Id "TP_MEC_MEC040_SRV_MEF_001_NF_03" Test objective "Check that the IUT responds with an error when request is malformed" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -850,16 +851,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_001_BR + } // End of TP_MEC_MEC040_SRV_MEF_001_BR Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_002_OK_01" + TP Id "TP_MEC_MEC040_SRV_MEF_002_OK" Test objective "Check that the IUT creates a new systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -870,7 +871,7 @@ Package MEC_MEC040_SRV_FED { the IUT entity being_in idle_state and the IUT isRegistered to the MEC_FED and the MEC_FED entity not having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 + systemInfo2 indicating value SYSTEM_ID_2 ; } @@ -905,16 +906,64 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_002_OK_01 + } // End of TP_MEC_MEC040_SRV_MEF_002_OK Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_002_BR" + TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_01" Test objective "Check that the IUT responds with an error on creating an existing systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity not having a systemInfoList containing + systemInfo2 indicating value SYSTEM_ID_2 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value omit, // Shall be absent in POST request + systemName indicating value SYSTEM_NAME_2, + systemProvider indicating value SYSTEM_PROV_2 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_MEF_002_BR_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_02" + + Test objective + "Check that the IUT responds with an error on providing inconsistent data" + + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -925,7 +974,7 @@ Package MEC_MEC040_SRV_FED { the IUT entity being_in idle_state and the IUT isRegistered to the MEC_FED and the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 + systemInfo2 indicating value SYSTEM_ID_2 ; } @@ -946,23 +995,23 @@ Package MEC_MEC040_SRV_FED { from the MEC_FED entity } then { - // MEC 040 Clause 7.3.3.1 + // MEC 040 Clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_002_BR + } // End of TP_MEC_MEC040_SRV_MEF_002_BR_02 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_003_OK" + TP Id "TP_MEC_MEC040_SRV_MEF_003_OK" Test objective - "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Registration" + "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1003,16 +1052,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_003_OK + } // End of TP_MEC_MEC040_SRV_MEF_003_OK Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_003_NF" + TP Id "TP_MEC_MEC040_SRV_MEF_003_NF" Test objective - "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId - Registration" + "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1046,16 +1095,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_003_NF + } // End of TP_MEC_MEC040_SRV_MEF_003_NF Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_003_NF" + TP Id "TP_MEC_MEC040_SRV_MEF_003_NF" Test objective - "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId - Registration" + "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1089,16 +1138,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_003_BR + } // End of TP_MEC_MEC040_SRV_MEF_003_BR Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_004_OK_01" + TP Id "TP_MEC_MEC040_SRV_MEF_004_OK_01" Test objective - "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1145,16 +1194,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_004_OK_01 + } // End of TP_MEC_MEC040_SRV_MEF_004_OK_01 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_004_OK_02" + TP Id "TP_MEC_MEC040_SRV_MEF_004_OK_02" Test objective - "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1201,16 +1250,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_004_OK_02 + } // End of TP_MEC_MEC040_SRV_MEF_004_OK_02 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_004_OK_03" + TP Id "TP_MEC_MEC040_SRV_MEF_004_OK_03" Test objective - "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator - Registration update" + "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1257,16 +1306,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_004_OK_03 + } // End of TP_MEC_MEC040_SRV_MEF_004_OK_03 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_004_NF" + TP Id "TP_MEC_MEC040_SRV_MEF_004_NF" Test objective "Check that the IUT responds with an error when requested to update an unknown systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1304,16 +1353,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_004_NF + } // End of TP_MEC_MEC040_SRV_MEF_004_NF Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_004_BR" + TP Id "TP_MEC_MEC040_SRV_MEF_004_BR" Test objective "Check that the IUT responds with an error when requested to update an unknown systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1351,16 +1400,16 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_004_BR + } // End of TP_MEC_MEC040_SRV_MEF_004_BR Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_005_OK_01" + TP Id "TP_MEC_MEC040_SRV_MEF_005_OK" Test objective "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3", + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1391,23 +1440,23 @@ Package MEC_MEC040_SRV_FED { from the MEC_FED entity } then { - // MEC 040 Clause 7.3.3.1 + // MEC 040 Clause 7.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_005_OK_01 + } // End of TP_MEC_MEC040_SRV_MEF_005_OK Test Purpose { - TP Id "TP_MEC_MEC040_SRV_FED_005_NF" + TP Id "TP_MEC_MEC040_SRV_MEF_005_NF" Test objective "Check that the IUT responds with an error when requested to delete an unknown systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.4, + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1432,14 +1481,98 @@ Package MEC_MEC040_SRV_FED { from the MEC_FED entity } then { - // MEC 040 Clause 7.3.3.1 + // MEC 040 Clause 7.4.3.5 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_FED_005_NF + } // End of TP_MEC_MEC040_SRV_MEF_005_NF + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_MEF_006_OK" + + Test objective + "Check that the IUT accepts a MEC application instance query and forward the response" + + Reference "ETSI GS MEC 040 V3.1.1, clause 5.2.2.3", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; and + MEC_FED1 having_mec_app_instance_running + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "xxx" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_MEF_006_OK + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_MEF_007_OK" + + Test objective + "Check that the IUT accepts a Service Availability query and forward the response" + + Reference "ETSI GS MEC 040 V3.1.1, clause 5.2.2.4", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT isRegistered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; and + MEC_FED1 having_mec_app_instance_running + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "xxx" + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_MEF_007_OK } // End of Package MEC_MEC040_SRV diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 85cb3d5..d463c87 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -59,6 +59,8 @@ Package MEC_Common { - being_in - having - isRegistered + - are_aware_of_eachother + - having_mec_app_instance_running // Idle state: The MEC platform has services running and MEC Application // is authorized to consume services - idle_state @@ -221,7 +223,7 @@ Package MEC_Common { connection between Mec_Consumer.p and IUT.p ; - Test Configuration Config_MEC_7 containing + Test Configuration Config_MEC_7 containing // Mfm interface Tester component Mec_Orchestrator of type MecOrchestrator SUT component IUT of type MecFederator connection between Mec_Orchestrator.p and IUT.p -- GitLab From 784ed9837ea797936f1db8ebd5bd0a6f1810f667 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 13 Feb 2023 14:06:52 +0100 Subject: [PATCH 09/70] MEC033v211 IoT devices TPs updates: i) added new TPs with fields, filter and both. ii) Minor fixes. --- .../MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 | 210 ++++++++++++++++-- 1 file changed, 187 insertions(+), 23 deletions(-) diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 index 24892e6..7dcd56a 100644 --- a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -9,11 +9,10 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_001" Test objective - "Check that the IUT responds with the list of registered IoT devices - when queried by a Service Consumer" + "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" @@ -26,6 +25,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { the MEC_PROVIDER entity having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, + SUPI indicating value SUPI_DEVICE, IMSI indicating value IMSI_DEVICE, enabled set to false ; @@ -50,6 +50,64 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, + enabled set to false + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + + + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_002" + + Test objective + "Check that the IUT responds with the list of registered IoT devices when queried using a filter by a Service Consumer" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, + enabled set to false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + + uri indicating value "/iots/v1/registered_devices?filter=(eq,enabled,false)" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfDeviceInfo containing + DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled set to false ; ; @@ -60,12 +118,112 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { } } + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_003" + + Test objective + "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering one field" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, + enabled set to false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_devices?fields=deviceId" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfDeviceInfo containing + DeviceInfo containing + deviceId indicating value HUMAN_READABLE_IDENTIFIER + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_004" + + Test objective + "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering the number of fields and applying a + filter to a specific field" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a DeviceInfo containing + deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, + deviceId indicating value HUMAN_READABLE_IDENTIFIER, + IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, + enabled set to false + ; + } + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_devices?fields=deviceId&filter=(eq,enabled,false)" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.3.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfDeviceInfo containing + DeviceInfo containing + deviceId indicating value HUMAN_READABLE_IDENTIFIER + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_02" Test objective - "Check that the IUT registers the information of an IoT device - when requested by a Service Consumer" + "Check that the IUT registers the information of an IoT device when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -88,7 +246,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, - IMSI indicating value IMSI_DEVICE + IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE ; ; ; @@ -104,6 +263,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; ; @@ -117,8 +277,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_02" Test objective - "Check that the IUT returns an error - when Service Consumer request to register an IoT device with incorrect parameters" + "Check that the IUT returns an error when Service Consumer request to register an IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -142,6 +301,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false // According to Note 3 of 6.2.2-1 table, it cannot be set directly by the service consumer. ; ; @@ -152,7 +312,6 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { // MEC 033 Clause 7.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request", - Location set to LOCATION, body containing ProblemDetails containing details indicating value ERROR_DETAILS @@ -168,8 +327,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_03" Test objective - "Check that the IUT returns the IoT device information - when requested by Service Consumer specifying the device identifier" + "Check that the IUT returns the IoT device information when requested by Service Consumer specifying the device identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" @@ -183,6 +341,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; @@ -206,6 +365,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; ; @@ -219,8 +379,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_03" Test objective - "Check that the IUT returns error - when Service Consumer request to retrieve a not registered IoT device" + "Check that the IUT returns error when Service Consumer request to retrieve a not registered IoT device" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" @@ -234,6 +393,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; @@ -262,8 +422,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_04" Test objective - "Check that the IUT updates the information about a registered IoT device - when requested by a Service Consumer" + "Check that the IUT updates the information about a registered IoT device when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -277,6 +436,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; } @@ -292,6 +452,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, requestedIotPlatformId indicating value REQ_IOT_PLATFORM, requestedMecTrafficRule containing TrafficRuleDescriptor containing @@ -317,6 +478,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value HUMAN_READABLE_IDENTIFIER, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, requestedIotPlatformId indicating value REQ_IOT_PLATFORM, requestedMecTrafficRule containing TrafficRuleDescriptor containing @@ -341,8 +503,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_04" Test objective - "Check that the IUT returns an error - when a Service Consumer requests to update a not registered IoT device" + "Check that the IUT returns an error when a Service Consumer requests to update a not registered IoT device" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -356,6 +517,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; } @@ -371,6 +533,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, requestedIotPlatformId indicating value REQ_IOT_PLATFORM, requestedMecTrafficRule containing TrafficRuleDescriptor containing @@ -400,8 +563,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_04" Test objective - "Check that the IUT returns an error - when a Service Consumer requests to update an existing IoT device with incorrect parameters" + "Check that the IUT returns an error when a Service Consumer requests to update an existing IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -415,6 +577,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; } @@ -430,6 +593,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled set to TRUE, // According to Note 3 of 6.2.2-1 table, it cannot be set directly by the service consumer. requestedMecTrafficRule containing TrafficRuleDescriptor containing @@ -465,8 +629,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_05" Test objective - "Check that the IUT deregisters an IoT device information - when requested by a Service Consumer specifying the IoT registered device identifier" + "Check that the IUT deregisters an IoT device information when requested by a Service Consumer specifying the IoT registered device identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" @@ -480,6 +643,7 @@ Test Purpose { deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId set to registeredDeviceId, IMSI indicating value IMSI_DEVICE, + SUPI indicating value SUPI_DEVICE, enabled indicating value false ; @@ -508,8 +672,7 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_05" Test objective - "Check that the IUT returns an error - when a Service Consumer requests to deregisters an IoT device using incorrect parameters" + "Check that the IUT returns an error when a Service Consumer requests to deregisters an IoT device using incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" @@ -522,6 +685,7 @@ Test Purpose { the MEC_PROVIDER entity not having a DeviceInfo containing deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES, deviceId indicating value registeredDeviceId, + SUPI indicating value SUPI_DEVICE, IMSI indicating value IMSI_DEVICE, enabled indicating value false ; -- GitLab From 66576910b623451d1c7080753ff818211a26b256 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 14 Feb 2023 11:48:25 +0100 Subject: [PATCH 10/70] Review mec-common part --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 78 ++-- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 48 +- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 24 +- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 42 +- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 24 +- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 24 +- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 48 +- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 12 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 42 +- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 6 +- .../MEC040/SRV/FederationEnablement.tplan2 | 72 +-- Test Purposes/mec-common.tplan2 | 418 +++++++++--------- 12 files changed, 427 insertions(+), 411 deletions(-) diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index eb2a73e..2f04841 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 8.2.6.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.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.2.1, clause 8.2.6.3.1 + // MEC 011 3.2.1, clause 8.2.6.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_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.2.1, clause 8.2.6.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1" Config Id Config_MEC_1 @@ -75,7 +75,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -89,7 +89,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.6.3.1 + // MEC 011 3.2.1, clause 8.2.6.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -106,7 +106,7 @@ 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.2.1, clause 8.2.6.3.4", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -122,7 +122,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -137,7 +137,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.2.1, clause 8.2.6.3.4 + // MEC 011 3.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, @@ -174,7 +174,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.2.1, clause 8.2.6.3.4" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -189,7 +189,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -205,7 +205,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.2.1, clause 8.2.6.3.4 + // MEC 011 3.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -222,7 +222,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.2.1, clause 8.2.6.3.4" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -237,7 +237,7 @@ Package MEC_MEC011_SRV_APPSAQ { the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -252,7 +252,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP_Registrant entity } then { - // MEC 011 2.2.1, clause 8.2.6.3.4 + // MEC 011 3.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -269,7 +269,7 @@ 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.2.1, clause 8.2.7.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -286,7 +286,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -296,7 +296,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.1 + // MEC 011 3.2.1, clause 8.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -318,7 +318,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.2.1, clause 8.2.7.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1" Config Id Config_MEC_1 @@ -334,7 +334,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -344,7 +344,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.1 + // MEC 011 3.2.1, clause 8.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -361,7 +361,7 @@ 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.2.1, clause 8.2.7.3.2", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated @@ -379,7 +379,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -394,7 +394,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -416,7 +416,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.2.1, clause 8.2.7.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -432,7 +432,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -448,7 +448,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -465,7 +465,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.2.1, clause 8.2.7.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -481,7 +481,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -496,7 +496,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -513,7 +513,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.2.1, clause 8.2.7.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -529,7 +529,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -545,7 +545,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; @@ -563,7 +563,7 @@ Package MEC_MEC011_SRV_APPSAQ { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.5" Config Id Config_MEC_1 @@ -576,7 +576,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -586,7 +586,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -602,7 +602,7 @@ Package MEC_MEC011_SRV_APPSAQ { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.5" Config Id Config_MEC_1 @@ -615,7 +615,7 @@ Package MEC_MEC011_SRV_APPSAQ { ; } - // MEC 011 2.2.1, clause 5.2.4 + // MEC 011 3.2.1, clause 5.2.4 Expected behaviour ensure that { when { @@ -625,7 +625,7 @@ Package MEC_MEC011_SRV_APPSAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.7.3.2 + // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index 1264874..aea65ba 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 7.2.3.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L574#/definitions/MecAppSuptApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.3.3.1 + // MEC 011 3.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.2.1, clause 7.2.3.3.1" + Reference "ETSI GS MEC 011 3.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.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.3.3.1 + // MEC 011 3.2.1, clause 7.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -102,7 +102,7 @@ Package MEC_MEC011_SRV_APPSUB { "Check that the IUT acknowledges the subscription by a MEC Application to notifications on termination events" - Reference "ETSI GS MEC 011 2.2.1, clause 7.2.3.3.4", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -116,7 +116,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.2.1, clause 7.2.3.3.4 + // MEC 011 3.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.2.1, clause 7.2.3.3.4 + // MEC 011 3.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.2.1, clause 7.2.3.3.4" + Reference "ETSI GS MEC 011 3.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.2.1, clause 5.2.6.2 + // MEC 011 3.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.2.1, clause 7.2.3.3.4 + // MEC 011 3.2.1, clause 7.2.3.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -203,7 +203,7 @@ 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.2.1, clause 7.2.4.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -220,7 +220,7 @@ Package MEC_MEC011_SRV_APPSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.4.3.1 + // MEC 011 3.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.2.1, clause 7.2.4.3.1" + Reference "ETSI GS MEC 011 3.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.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.4.3.1 + // MEC 011 3.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 app termination 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 3.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.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.4.3.5 + // MEC 011 3.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.2.1, clause 7.2.4.3.5" + Reference "ETSI GS MEC 011 3.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.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 7.2.4.3.5 + // MEC 011 3.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/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index 0cbee43..1a87688 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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", + Reference "ETSI GS MEC 011 3.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 @@ -33,7 +33,7 @@ Package MEC_MEC011_SRV_CONFTASK { ; } - // MEC 011 2.2.1, clause 5.2.3 + // MEC 011 3.2.1, clause 5.2.3 Expected behaviour ensure that { when { @@ -48,7 +48,7 @@ Package MEC_MEC011_SRV_CONFTASK { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.11.3.4 + // MEC 011 3.2.1, clause 7.2.11.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -65,7 +65,7 @@ Package MEC_MEC011_SRV_CONFTASK { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4" Config Id Config_MEC_1 @@ -78,7 +78,7 @@ Package MEC_MEC011_SRV_CONFTASK { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -93,7 +93,7 @@ Package MEC_MEC011_SRV_CONFTASK { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.1 + // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -108,7 +108,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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", + Reference "ETSI GS MEC 011 3.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 @@ -122,7 +122,7 @@ Package MEC_MEC011_SRV_CONFTASK { ; } - // MEC 011 2.2.1, clause 5.2.2 + // MEC 011 3.2.1, clause 5.2.2 Expected behaviour ensure that { when { @@ -137,7 +137,7 @@ Package MEC_MEC011_SRV_CONFTASK { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.12.3.4 + // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; @@ -154,7 +154,7 @@ Package MEC_MEC011_SRV_CONFTASK { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4" Config Id Config_MEC_1 @@ -167,7 +167,7 @@ Package MEC_MEC011_SRV_CONFTASK { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -182,7 +182,7 @@ Package MEC_MEC011_SRV_CONFTASK { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.12.3.4 + // MEC 011 3.2.1, clause 7.2.12.3.4 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 bcc9fa8..415cd06 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 7.2.9.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -32,7 +32,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.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.2.1, clause 7.2.9.3.1 + // MEC 011 3.2.1, clause 7.2.9.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_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.2.1, clause 7.2.10.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -79,7 +79,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -89,7 +89,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.1 + // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -111,7 +111,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.2.1, clause 7.2.10.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1" Config Id Config_MEC_1 @@ -127,7 +127,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -137,7 +137,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.1 + // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -154,7 +154,7 @@ 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.2.1, clause 7.2.10.3.2", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -171,7 +171,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -186,7 +186,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.2 + // MEC 011 3.2.1, clause 7.2.10.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_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.2.1, clause 7.2.10.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -225,7 +225,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -241,7 +241,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.2 + // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -258,7 +258,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.2.1, clause 7.2.10.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -274,7 +274,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -289,7 +289,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.2 + // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -307,7 +307,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.2.1, clause 7.2.10.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -323,7 +323,7 @@ Package MEC_MEC011_SRV_DNS { ; } - // MEC 011 2.2.1, clause 5.2.8 + // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { @@ -338,7 +338,7 @@ Package MEC_MEC011_SRV_DNS { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.10.3.2 + // MEC 011 3.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 index f300c33..42434e2 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -19,7 +19,7 @@ Package MEC_MEC011_SRV_LIV { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1" Config Id Config_MEC_1 @@ -36,7 +36,7 @@ Package MEC_MEC011_SRV_LIV { ; } - // MEC 011 2.2.1, clause 5.2.12 + // MEC 011 3.2.1, clause 5.2.12 Expected behaviour ensure that { when { @@ -46,7 +46,7 @@ Package MEC_MEC011_SRV_LIV { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.10.3.1 + // MEC 011 3.2.1, clause 8.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -69,7 +69,7 @@ Test Purpose { 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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1" Config Id Config_MEC_1 @@ -86,7 +86,7 @@ Test Purpose { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -96,7 +96,7 @@ Test Purpose { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.10.3.1 + // MEC 011 3.2.1, clause 8.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -112,7 +112,7 @@ Test Purpose { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 @@ -130,7 +130,7 @@ Test Purpose { ; } - // MEC 011 2.2.1, clause 5.2.12 + // MEC 011 3.2.1, clause 5.2.12 Expected behaviour ensure that { when { @@ -145,7 +145,7 @@ Test Purpose { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.10.3.3 + // MEC 011 3.2.1, clause 8.2.10.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -166,7 +166,7 @@ Test Purpose { "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" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 @@ -184,7 +184,7 @@ Test Purpose { ; } - // MEC 011 2.2.1, clause 5.2.12 + // MEC 011 3.2.1, clause 5.2.12 Expected behaviour ensure that { when { @@ -199,7 +199,7 @@ Test Purpose { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.10.3.3 + // MEC 011 3.2.1, clause 8.2.10.3.3 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index e30737e..9a01e0b 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 8.2.3.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/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.2.1, clause 5.2.5 + // MEC 011 3.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.2.1, clause 8.2.3.3.1 + // MEC 011 3.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -59,7 +59,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.2.1, clause 8.2.3.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" Config Id Config_MEC_1 @@ -69,7 +69,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity being_in idle_state } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -83,7 +83,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.3.3.1 + // MEC 011 3.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -100,7 +100,7 @@ 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.2.1, clause 8.2.4.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -114,7 +114,7 @@ Package MEC_MEC011_SRV_SAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -124,7 +124,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.4.3.1 + // MEC 011 3.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -151,7 +151,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.2.1, clause 8.2.4.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1" Config Id Config_MEC_1 @@ -164,7 +164,7 @@ Package MEC_MEC011_SRV_SAQ { ; } - // MEC 011 2.2.1, clause 5.2.5 + // MEC 011 3.2.1, clause 5.2.5 Expected behaviour ensure that { when { @@ -174,7 +174,7 @@ Package MEC_MEC011_SRV_SAQ { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.4.3.1 + // MEC 011 3.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 5f34ea2..3c077f2 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -17,7 +17,7 @@ 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.2.1, clause 8.2.8.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L408#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -31,7 +31,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.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.2.1, clause 8.2.8.3.1 + // MEC 011 3.2.1, clause 8.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -65,7 +65,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.2.1, clause 8.2.8.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1" Config Id Config_MEC_1 @@ -78,7 +78,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -88,7 +88,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.8.3.1 + // MEC 011 3.2.1, clause 8.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -105,7 +105,7 @@ 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.2.1, clause 8.2.8.3.4", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L508#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -119,7 +119,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6.2 + // MEC 011 3.2.1, clause 5.2.6.2 Expected behaviour ensure that { when { @@ -135,7 +135,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.8.3.4 + // MEC 011 3.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, @@ -159,7 +159,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.2.1, clause 8.2.8.3.4" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4" Config Id Config_MEC_1 @@ -172,7 +172,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6.2 + // MEC 011 3.2.1, clause 5.2.6.2 Expected behaviour ensure that { when { @@ -189,7 +189,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.8.3.4 + // MEC 011 3.2.1, clause 8.2.8.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -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 8.2.9.3.1", + Reference "ETSI GS MEC 011 3.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 @@ -223,7 +223,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -233,7 +233,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.9.3.1 + // MEC 011 3.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 8.2.9.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1" Config Id Config_MEC_1 @@ -272,7 +272,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -282,7 +282,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.9.3.1 + // MEC 011 3.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 8.2.9.3.5" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -315,7 +315,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -325,7 +325,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.9.3.5 + // MEC 011 3.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 8.2.9.3.5" + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -359,7 +359,7 @@ Package MEC_MEC011_SRV_SRVSUB { ; } - // MEC 011 2.2.1, clause 5.2.6 + // MEC 011 3.2.1, clause 5.2.6 Expected behaviour ensure that { when { @@ -369,7 +369,7 @@ Package MEC_MEC011_SRV_SRVSUB { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 8.2.9.3.5 + // MEC 011 3.2.1, clause 8.2.9.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 9037876..01f3f62 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 7.2.5.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/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.2.1, clause 5.2.10.3 + // MEC 011 3.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.2.1, clause 7.2.5.3.1 + // MEC 011 3.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,7 +59,7 @@ 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.2.1, clause 7.2.6.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.6.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L410#/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.2.1, clause 5.2.10.2 + // MEC 011 3.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.2.1, clause 7.2.6.3.1 + // MEC 011 3.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 e934d16..61d346d 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -17,7 +17,7 @@ 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.2.1, clause 7.2.7.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -31,7 +31,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -41,7 +41,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.7.3.1 + // MEC 011 3.2.1, clause 7.2.7.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_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.2.1, clause 7.2.7.3.1" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1" Config Id Config_MEC_1 @@ -74,7 +74,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -84,7 +84,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.7.3.1 + // MEC 011 3.2.1, clause 7.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -101,7 +101,7 @@ 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.2.1, clause 7.2.8.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -118,7 +118,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -128,7 +128,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.8.3.1 + // MEC 011 3.2.1, clause 7.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -150,7 +150,7 @@ 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.2.1, clause 7.2.8.3.2", + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -167,7 +167,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -182,7 +182,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.8.3.2 + // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -205,7 +205,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.2.1, clause 7.2.8.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -221,7 +221,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -237,7 +237,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.8.3.2 + // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; @@ -254,7 +254,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.2.1, clause 7.2.8.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -270,7 +270,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -285,7 +285,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.8.3.2 + // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; @@ -305,7 +305,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.2.1, clause 7.2.8.3.2" + Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -321,7 +321,7 @@ Package MEC_MEC011_SRV_TRAF { ; } - // MEC 011 2.2.1, clause 5.2.7 + // MEC 011 3.2.1, clause 5.2.7 Expected behaviour ensure that { when { @@ -337,7 +337,7 @@ Package MEC_MEC011_SRV_TRAF { from the MEC_APP entity } then { - // MEC 011 2.2.1, clause 7.2.8.3.2 + // MEC 011 3.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 5d7ee30..f096606 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -18,7 +18,7 @@ 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.2.1, clause 8.2.5.3.1", + Reference "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/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.2.1, clause 5.2.9 + // MEC 011 3.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.2.1, clause 8.2.5.3.1 + // MEC 011 3.2.1, clause 8.2.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index 60fb79a..1ed3560 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -22,11 +22,11 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED are_aware_of_eachother and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_2, + systemInfo2 indicating value SYSTEM_ID_2, systemInfo3 indicating value SYSTEM_ID_3 ; } @@ -51,12 +51,12 @@ Package MEC_MEC040_SRV_FED { systemName indicating value SYSTEM_NAME_1, systemProvider indicating value SYSTEM_PROVIDER_1 ;, - systemInfoN containing + systemInfo1 containing systemId indicating value SYSTEM_ID_2, systemName indicating value SYSTEM_NAME_2, systemProvider indicating value SYSTEM_PROVIDER_2 ;, - systemInfoN containing + systemInfo2 containing systemId indicating value SYSTEM_ID_3, systemName indicating value SYSTEM_NAME_3, systemProvider indicating value SYSTEM_PROVIDER_3 @@ -85,10 +85,10 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_2, + systemInfo2 indicating value SYSTEM_ID_2, systemInfo3 indicating value SYSTEM_ID_3 ; } @@ -140,10 +140,10 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_2, + systemInfo2 indicating value SYSTEM_ID_2, systemInfo3 indicating value SYSTEM_ID_3 ; } @@ -201,10 +201,10 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, - systemInfoN indicating value SYSTEM_ID_2, + systemInfo2 indicating value SYSTEM_ID_2, systemInfo3 indicating value SYSTEM_ID_3 ; } @@ -266,7 +266,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -321,7 +321,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -382,7 +382,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -447,7 +447,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -502,7 +502,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -563,7 +563,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -628,7 +628,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo1 indicating value SYSTEM_ID_2, @@ -690,7 +690,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo1 indicating value SYSTEM_ID_2, @@ -736,7 +736,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfo1 indicating value SYSTEM_NAME_2, @@ -782,7 +782,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfo1 indicating value SYSTEM_PROVIDER_2, @@ -828,7 +828,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -869,7 +869,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity not having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -924,7 +924,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity not having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -972,7 +972,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -1020,7 +1020,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1070,7 +1070,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1113,7 +1113,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1156,7 +1156,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1212,7 +1212,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1268,7 +1268,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1324,7 +1324,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1371,7 +1371,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1418,7 +1418,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1465,7 +1465,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1506,7 +1506,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; and @@ -1548,7 +1548,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT isRegistered to the MEC_FED and + the IUT is_registered to the MEC_FED and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; and diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index d463c87..51151b8 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -4,194 +4,210 @@ Released under BSD 3-clause license. For more information visit https://forge.et */ Package MEC_Common { - - Domain { - pics: - - // Some PICS in this list are referenced to - // PICS item in MEC 032 part 1, Clause A.4 - - - PIC_MEC_PLAT - - PIC_MEC_SYSTEM - - PIC_SERVICES - - PIC_NOTIFICATIONS - - PIC_APP_PACKAGE_MANAGEMENT - - PIC_APP_PACKAGE_NOTIFICATIONS - - PIC_RNIS_QUERY - - PIC_RNIS_ALL_SUBSCRIPTIONS - - PIC_RNIS_SPECIFIC_SUBSCRIPTION - - PIC_RNIS_NOTIFICATIONS - - PIC_APP_LCM_MANAGEMENT - - PIC_APP_LCM_NOTIFICATIONS - - PIC_AMS - - PIC_AMS_NOTIFICATIONS - - PIC_GRANTS_MANAGEMENT - ; - entities: - - MEC_OSS - - MEO - - MEPM - - MEC_APP - - IUT - - Dev_App - - MEC_PROVIDER - - MEC_CONSUMER - // Specialization of base components - - MEC_APP_Registrant - - MEC_APP_Subscriber - - MEC_SUB - - RNIS_CLIENT - - RNIS_SERVER - - MEC_SUB - - RNIS_CLIENT - - RNIS_SERVER - - AMS_CLIENT - - AMS_SERVER - - MEC_FED - ; - events: - - services_running // services available in the IUT - - started // component is up and running - - authorised // component is authenticated and authorised to use services - - consume_services // component can use services - - receives // component receives an HTTP request - - sends // component sends an HTTP response - - being_in - - having - - isRegistered - - are_aware_of_eachother - - having_mec_app_instance_running - // Idle state: The MEC platform has services running and MEC Application - // is authorized to consume services - - idle_state - - subscribed_to - - App_Package_subscription - - App_Package - - generates - - idle_state - - app_package_operational_change_event - - perform_RNIS_query_to - - having_RNIS_subscription - - having_RNIS_subscription_privileges - - privileges - - RNIS_subscription - - perform_RNIS_subscription_query_to - - cell_change_event - - rab_establish_event - - rab_modification_event - - rab_release_event - - measurement_repost_event - - timing_advance_event - - carrier_aggregation_reconfiguration_event - - S1_bearer_event - - nr_measurement_repost_event - - expiry_notification_event - - application_lcm_change_event - - mobility_procedure_event - - adjacent_app_info_event - - app_instance - - grant - ; - } - - Data { - type STRING; - type JSON; - type string with s of type STRING; - - type HttpHeaders with - // content_type is optional, since not present in GET and DELETE - content_type of type STRING, - authorization of type STRING, - accept of type STRING - ; - - type HTTP_REQUEST with - uri of type STRING - ; - - type HttpMsg with - uri of type STRING, - headers of type HttpHeaders, - status_code of type STRING, - // body is optional, since not present in GET and DELETE - body of type JSON - ; - - STRING "application/json;charset=utf-8"; - string CONTENT_JSON containing s set to "application/json;charset=utf-8"; - STRING VALID_TOKEN; - STRING NOT_VALID_TOKEN; - STRING "application/json"; - STRING "application/octet-stream"; - - HttpHeaders vHeadersInvalidToken containing - authorization set to NOT_VALID_TOKEN - ; - - HttpHeaders vHeadersGet containing - accept set to "application/json", - authorization set to VALID_TOKEN - ; - - HttpHeaders vHeadersAcceptKO containing - accept set to "application/octet-stream", - authorization set to VALID_TOKEN - ; + + Domain { + pics: + // Some PICS in this list are referenced to + // PICS item in MEC 032 part 1, Clause A.4 + + - PIC_MEC_PLAT + - PIC_MEC_SYSTEM + - PIC_SERVICES + - PIC_NOTIFICATIONS + - PIC_APP_PACKAGE_MANAGEMENT + - PIC_APP_PACKAGE_NOTIFICATIONS + - PIC_RNIS_QUERY + - PIC_RNIS_ALL_SUBSCRIPTIONS + - PIC_RNIS_SPECIFIC_SUBSCRIPTION + - PIC_RNIS_NOTIFICATIONS + - PIC_APP_LCM_MANAGEMENT + - PIC_APP_LCM_NOTIFICATIONS + - PIC_AMS + - PIC_AMS_NOTIFICATIONS + - PIC_GRANTS_MANAGEMENT + ; + entities: + - MEC_OSS + - MEO + - MEPM + - MEC_APP + - IUT + - Dev_App + - MEC_PROVIDER + - MEC_CONSUMER + // Specialization of base components + - MEC_APP_Registrant + - MEC_APP_Subscriber + - MEC_SUB + - RNIS_CLIENT + - RNIS_SERVER + - MEC_SUB + - RNIS_CLIENT + - RNIS_SERVER + - AMS_CLIENT + - AMS_SERVER + - MEC_FED + ; + events: + - services_running // services available in the IUT + - started // component is up and running + - authorised // component is authenticated and authorised to use services + - consume_services // component can use services + - receives // component receives an HTTP request + - sends // component sends an HTTP response + - being_in + - having + - is_registered + - are_aware_of_eachother + - having_mec_app_instance_running + // Idle state: The MEC platform has services running and MEC Application + // is authorized to consume services + - idle_state + - subscribed_to + - App_Package_subscription + - App_Package + - generates + - idle_state + - app_package_operational_change_event + - perform_RNIS_query_to + - having_RNIS_subscription + - having_RNIS_subscription_privileges + - privileges + - RNIS_subscription + - perform_RNIS_subscription_query_to + - cell_change_event + - rab_establish_event + - rab_modification_event + - rab_release_event + - measurement_repost_event + - timing_advance_event + - carrier_aggregation_reconfiguration_event + - S1_bearer_event + - nr_measurement_repost_event + - expiry_notification_event + - application_lcm_change_event + - mobility_procedure_event + - adjacent_app_info_event + - app_instance + - grant + ; + } + + Data { + type STRING; + type JSON; + type string with s of type STRING; + type IMSI; + type TransportInfo; + + type HttpHeaders with + // content_type is optional, since not present in GET and DELETE + content_type of type STRING, + authorization of type STRING, + accept of type STRING + ; - HttpHeaders vHeaders containing - accept set to CONTENT_JSON, - content_type set to CONTENT_JSON, - authorization set to VALID_TOKEN - ; + type HTTP_REQUEST with + uri of type STRING + ; + + type HttpMsg with + uri of type STRING, + headers of type HttpHeaders, + status_code of type STRING, + // body is optional, since not present in GET and DELETE + body of type JSON + ; - HttpHeaders vHeadersResponse containing - content_type set to CONTENT_JSON - ; + STRING "application/json;charset=utf-8"; + string CONTENT_JSON containing s set to "application/json;charset=utf-8"; + STRING VALID_TOKEN; + STRING NOT_VALID_TOKEN; + STRING "application/json"; + STRING "application/octet-stream"; - HttpMsg vGET containing - headers set to vHeadersGet - ; + HttpHeaders vHeadersInvalidToken containing + authorization set to NOT_VALID_TOKEN + ; - HttpMsg vPOST containing - headers set to vHeaders - ; + HttpHeaders vHeadersGet containing + accept set to "application/json", + authorization set to VALID_TOKEN + ; - HttpMsg vPUT containing - headers set to vHeaders - ; + HttpHeaders vHeadersAcceptKO containing + accept set to "application/octet-stream", + authorization set to VALID_TOKEN + ; - HttpMsg vDELETE containing - headers set to vHeadersGet - ; + HttpHeaders vHeaders containing + accept set to CONTENT_JSON, + content_type set to CONTENT_JSON, + authorization set to VALID_TOKEN + ; - HttpMsg HTTP_RESPONSE containing - headers set to vHeadersResponse - ; + HttpHeaders vHeadersResponse containing + content_type set to CONTENT_JSON + ; + HttpMsg vGET containing + headers set to vHeadersGet + ; - } + HttpMsg vPOST containing + headers set to vHeaders + ; - Configuration { + HttpMsg vPUT containing + headers set to vHeaders + ; - Interface Type apiPort accepts string; + HttpMsg vDELETE containing + headers set to vHeadersGet + ; - Component Type MecAppComponent with gate p of type apiPort; - Component Type MecPlatformComponent with gate p of type apiPort; - Component Type MecOss with gate p of type apiPort; - Component Type MecOrchestrator with gate p of type apiPort; - Component Type MecPlatformManagerComponent with gate p of type apiPort; - Component Type DevAppComponent with gate p of type apiPort; - Component Type MecSystemComponent with gate p of type apiPort; - Component Type MecGenericProvider with gate p of type apiPort; - Component Type MecGenericConsumer with gate p of type apiPort; - Component Type MecFederator with gate p of type apiPort; + HttpMsg HTTP_RESPONSE containing + headers set to vHeadersResponse + ; - Test Configuration Config_MEC_1 containing - Tester component MEC_App of type MecAppComponent - SUT component IUT of type MecPlatformComponent - connection between MEC_App.p and IUT.p - ; + // PIXITs for MEC03 + STRING HUMAN_READABLE_IDENTIFIER; + IMSI IMSI_DEVICE; + STRING IOT_PLATFORM_ID; + TransportInfo USER_TRANSPORT_INFO; + // PIXITs for MEC040 + STRING SYSTEM_ID_1; + STRING SYSTEM_NAME_1; + STRING SYSTEM_PROVIDER_1; + STRING SYSTEM_ID_2; + STRING SYSTEM_NAME_2; + STRING SYSTEM_PROVIDER_2; + STRING SYSTEM_ID_3; + STRING SYSTEM_NAME_3; + STRING SYSTEM_PROVIDER_3; + + } + + Configuration { + + Interface Type apiPort accepts string; + + Component Type MecAppComponent with gate p of type apiPort; + Component Type MecPlatformComponent with gate p of type apiPort; + Component Type MecOss with gate p of type apiPort; + Component Type MecOrchestrator with gate p of type apiPort; + Component Type MecPlatformManagerComponent with gate p of type apiPort; + Component Type DevAppComponent with gate p of type apiPort; + Component Type MecSystemComponent with gate p of type apiPort; + Component Type MecGenericProvider with gate p of type apiPort; + Component Type MecGenericConsumer with gate p of type apiPort; + Component Type MecFederator with gate p of type apiPort; + + Test Configuration Config_MEC_1 containing + Tester component MEC_App of type MecAppComponent + SUT component IUT of type MecPlatformComponent + connection between MEC_App.p and IUT.p + ; Test Configuration Config_MEC_2 containing Tester component MEC_Oss of type MecOss @@ -199,35 +215,35 @@ Package MEC_Common { connection between MEC_Oss.p and IUT.p ; - Test Configuration Config_MEC_3 containing - Tester component MEC_Platform_Manager of type MecPlatformManagerComponent - SUT component IUT of type MecOrchestrator - connection between MEC_Platform_Manager.p and IUT.p - ; + Test Configuration Config_MEC_3 containing + Tester component MEC_Platform_Manager of type MecPlatformManagerComponent + SUT component IUT of type MecOrchestrator + connection between MEC_Platform_Manager.p and IUT.p + ; - Test Configuration Config_MEC_4 containing - Tester component Dev_App of type DevAppComponent - SUT component IUT of type MecSystemComponent - connection between Dev_App.p and IUT.p - ; + Test Configuration Config_MEC_4 containing + Tester component Dev_App of type DevAppComponent + SUT component IUT of type MecSystemComponent + connection between Dev_App.p and IUT.p + ; - Test Configuration Config_MEC_5 containing - Tester component MecOrchestrator of type MecOrchestrator - SUT component IUT of type MecPlatformManagerComponent - connection between MecOrchestrator.p and IUT.p - ; + Test Configuration Config_MEC_5 containing + Tester component MecOrchestrator of type MecOrchestrator + SUT component IUT of type MecPlatformManagerComponent + connection between MecOrchestrator.p and IUT.p + ; - Test Configuration Config_MEC_6 containing - Tester component Mec_Consumer of type MecGenericConsumer - SUT component IUT of type MecGenericProvider - connection between Mec_Consumer.p and IUT.p - ; + Test Configuration Config_MEC_6 containing + Tester component Mec_Consumer of type MecGenericConsumer + SUT component IUT of type MecGenericProvider + connection between Mec_Consumer.p and IUT.p + ; - Test Configuration Config_MEC_7 containing // Mfm interface - Tester component Mec_Orchestrator of type MecOrchestrator - SUT component IUT of type MecFederator - connection between Mec_Orchestrator.p and IUT.p - ; + Test Configuration Config_MEC_7 containing // Mfm interface + Tester component Mec_Orchestrator of type MecOrchestrator + SUT component IUT of type MecFederator + connection between Mec_Orchestrator.p and IUT.p + ; - } + } } -- GitLab From 26a33a552966653c0076f1a9ce4bf58b1d96bb84 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Wed, 15 Feb 2023 13:11:06 +0100 Subject: [PATCH 11/70] Added Test Purposes for Resistered IoT Platform with field-based filtering --- .../IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 125 +++++++++++++++--- 1 file changed, 105 insertions(+), 20 deletions(-) mode change 100644 => 100755 Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 old mode 100644 new mode 100755 index 9aeeb0b..7071ca2 --- a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 @@ -8,11 +8,10 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01_001" Test objective - "Check that the IUT responds with the list of registered IoT platforms - when queried by a Service Consumer" + "Check that the IUT responds with the list of registered IoT platforms when queried by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -58,13 +57,60 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01_002" + + Test objective + "Check that the IUT responds with the list of registered IoT platform when queried by a Service Consumer filtering one field" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + } + + + // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms?fields=iotPlatformId" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + arrayOfIoTPlatformInfo containing + IoTPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_02" Test objective - "Check that the IUT registers the information of a new IoT platform - when requested by a Service Consumer" + "Check that the IUT registers the information of a new IoT platform when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" @@ -115,8 +161,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_BR_02" Test objective - "Check that the IUT returns an error - when Service Consumer request to register an IoT device with incorrect parameters" + "Check that the IUT returns an error when Service Consumer request to register an IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" @@ -155,11 +200,10 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03_001" Test objective - "Check that the IUT returns the IoT platform information - when requested by Service Consumer specifying the IoT platform identifier" + "Check that the IUT returns the IoT platform information when requested by Service Consumer specifying the IoT platform identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -203,12 +247,57 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } } + Test Purpose { + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03_002" + + Test objective + "Check that the IUT returns the IoT platform information when requested by Service Consumer specifying the IoT platform identifier filtering one field" + + Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" + + Config Id Config_MEC_6 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the MEC_PROVIDER entity having a IotPlatformInfo containing + iotPlatformId set to registeredIotPlatformId, + userTransportInfo indicating value USER_TRANSPORT_INFO, + enabled indicating value BOOLEAN_VALUE + ; + + } + + // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}?fields=iotPlatformId" + ; + from the MEC_CONSUMER entity + } + then { + // MEC 033 Clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK", + body containing + IotPlatformInfo containing + iotPlatformId indicating value IOT_PLATFORM_ID + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_03" Test objective - "Check that the IUT returns error - when Service Consumer request to retrieve a not registered IoT platform" + "Check that the IUT returns error when Service Consumer request to retrieve a not registered IoT platform" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -249,8 +338,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { Test objective - "Check that the IUT updates the information about a registered IoT platform - when requested by a Service Consumer" + "Check that the IUT updates the information about a registered IoT platform when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" @@ -305,8 +393,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_04" Test objective - "Check that the IUT returns an error - when a Service Consumer requests to update a not registered IoT platform" + "Check that the IUT returns an error when a Service Consumer requests to update a not registered IoT platform" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" @@ -353,8 +440,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_05" Test objective - "Check that the IUT deregisters an IoT platform information - when requested by a Service Consumer specifying the registered IoT platform identifier" + "Check that the IUT deregisters an IoT platform information when requested by a Service Consumer specifying the registered IoT platform identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" @@ -395,8 +481,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_05" Test objective - "Check that the IUT returns an error - when a Service Consumer request to deregister an IoT platform using incorrect parameters" + "Check that the IUT returns an error when a Service Consumer request to deregister an IoT platform using incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" -- GitLab From 2f2ddda3df40223bf86449c4ddd3285de27600a1 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Thu, 23 Feb 2023 08:32:44 +0100 Subject: [PATCH 12/70] TTF T027: Review MEC011/Subscription; Change v1 into v2 --- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 169 ++++++++---------- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 8 +- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 14 +- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 4 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 14 +- 5 files changed, 93 insertions(+), 116 deletions(-) diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index aea65ba..cd23470 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -15,11 +15,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_001_OK" Test objective - "Check that the IUT responds with a list of subscriptions for notifications - on services availability when queried by a MEC Application" + "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 3.2.1, clause 7.2.3.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L574#/definitions/MecAppSuptApiSubscriptionLinkList" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L574#/definitions/MecAppSuptApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -28,8 +29,9 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; and + the IUT entity having a subscriptions containing + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -37,8 +39,7 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { @@ -46,9 +47,7 @@ Package MEC_MEC011_SRV_APPSUB { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - SubscriptionLinkList set to any_value - ; - ; + SubscriptionLinkList set to any_value;; to the MEC_APP entity } } @@ -59,10 +58,11 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_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" + "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 3.2.1, clause 7.2.3.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1" Config Id Config_MEC_1 @@ -71,8 +71,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 - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; + instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -80,15 +79,13 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions" - ; + uri indicating value "mec_app_support/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -99,11 +96,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_002_OK" Test objective - "Check that the IUT acknowledges the subscription by a MEC Application - to notifications on termination events" + "Check that the IUT acknowledges the subscription by a MEC Application to notifications on termination events" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -112,8 +110,8 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; and + the IUT entity not having any subscriptions } // MEC 011 3.2.1, clause 7.2.3.3.4 @@ -121,28 +119,22 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions" body containing AppTerminationNotificationSubscription containing subscriptionType indicating value "AppTerminationNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - ; + callbackReference indicating value some_uri;;; from the MEC_APP entity } then { - // MEC 011 3.2.1, clause 7.2.3.3.4 + // MEC 011 3.2.1, clause 7.1.4.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created", Location set to LOCATION, body containing AppTerminationNotificationSubscription containing subscriptionType set to "AppTerminationNotificationSubscription", - callbackReference set to some_uri - ; - ; - ; + callbackReference set to some_uri;;; to the MEC_APP entity } } @@ -153,10 +145,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_002_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -165,8 +159,8 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; and + the IUT entity not having any subscriptions } // MEC 011 3.2.1, clause 5.2.6.2 @@ -174,22 +168,17 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions" body containing AppTerminationNotificationSubscription containing - // Unknown value should trigger an error response. - subscriptionType indicating value INVALID_SUBSCRIPTION_TYPE, - callbackReference indicating value some_uri - ; - ; - ; + subscriptionType indicating value "INVALID_SUBSCRIPTION_TYPE", // Unknown value should trigger an error response. + callbackReference indicating value some_uri;;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.3.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -200,10 +189,11 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_003_OK" Test objective - "Check that the IUT responds with the information on a specific subscription - when queried by a MEC Application" + "Check that the IUT responds with the information on a specific subscription when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -213,11 +203,9 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -225,8 +213,7 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { @@ -235,10 +222,7 @@ Package MEC_MEC011_SRV_APPSUB { status_code set to "200 OK" body containing AppTerminationNotificationSubscription containing - subscriptionType set to "AppTerminationNotificationSubscription" - ; - ; - ; + subscriptionType set to "AppTerminationNotificationSubscription";;; to the MEC_APP entity } } @@ -249,11 +233,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_003_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" + "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 3.2.1, clause 7.2.4.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -262,8 +247,7 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a subscriptions containing subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID ; @@ -274,15 +258,13 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -293,10 +275,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_004_OK" Test objective - "Check that the IUT acknowledges the unsubscribe from app termination - 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 3.2.1, clause 7.2.4.3.5" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -305,11 +289,9 @@ Package MEC_MEC011_SRV_APPSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -317,15 +299,13 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; + status_code set to "204 No Content"; to the MEC_APP entity } } @@ -336,11 +316,12 @@ Package MEC_MEC011_SRV_APPSUB { TP Id "TP_MEC_MEC011_SRV_APPSUB_004_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" + "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 3.2.1, clause 7.2.4.3.5" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -349,11 +330,9 @@ 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 - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; and + instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID; and the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -361,15 +340,13 @@ Package MEC_MEC011_SRV_APPSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.4.3.5 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index 1a87688..e0e5ddb 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -38,7 +38,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/confirm_termination" + uri indicating value "/applications/{APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" @@ -83,7 +83,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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" + uri indicating value "/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" @@ -127,7 +127,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/confirm_ready" + uri indicating value "/applications/{APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" @@ -172,7 +172,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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" + uri indicating value "/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 415cd06..128f8e3 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -37,7 +37,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules" + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules" ; from the MEC_APP entity } @@ -84,7 +84,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" ; from the MEC_APP entity } @@ -132,7 +132,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" ; from the MEC_APP entity } @@ -176,7 +176,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -230,7 +230,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -279,7 +279,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -328,7 +328,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value INVALID_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 01f3f62..1baf220 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -34,7 +34,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/timing/timing_caps" + uri indicating value "/timing/timing_caps" ; from the MEC_APP entity } @@ -75,7 +75,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/timing/current_time" + uri indicating value "/timing/current_time" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 61d346d..637f0a1 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -36,7 +36,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules" + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules" ; from the MEC_APP entity } @@ -79,7 +79,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules" + uri indicating value "/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules" ; from the MEC_APP entity } @@ -123,7 +123,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}" + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}" ; from the MEC_APP entity } @@ -172,7 +172,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing action indicating value "DROP" @@ -226,7 +226,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing // Invalid parameter value should trigger an error response. @@ -275,7 +275,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { 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}", + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{NON_EXISTENT_TRAFFIC_RULE_ID}", body containing TrafficRule containing action indicating value "DROP" @@ -326,7 +326,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", if_match indicating value INVALID_ETAG body containing TrafficRule containing -- GitLab From 5816ec20b582faf5c166de3e6d3fcc93239e957f Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Thu, 23 Feb 2023 08:36:29 +0100 Subject: [PATCH 13/70] TTF T024: Change 2028-2021 into 2018-2023 --- .../MEX/ANY/CommonUnauthFailure_BI.tplan2 | 2 +- Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 | 2 +- .../MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 | 2 +- .../MEPM/LCM/PlatformConfiguration.tplan2 | 2 +- .../MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 | 2 +- .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 2 +- .../MEX/LCM/AppInstanceMgmt_BV.tplan2 | 2 +- .../LCM/AppInstanceMgmt_notifications.tplan2 | 2 +- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 2 +- .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 2 +- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 10 +- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 16 +-- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 2 +- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 2 +- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 2 +- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 6 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 16 +-- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 2 +- .../RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 2 +- .../SRV/RNIS/RnisAllSubscriptions_BV.tplan2 | 2 +- .../MEC012/SRV/RNIS/RnisNotifications.tplan2 | 2 +- .../MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 2 +- .../MEC012/SRV/RNIS/RnisQuery_BV.tplan2 | 2 +- .../RnisSpecificSubscription_BO_BI.tplan2 | 2 +- .../RNIS/RnisSpecificSubscription_BV.tplan2 | 2 +- .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 2 +- .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 2 +- .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 2 +- .../PlatUeDistanceSubscription.tplan2 | 2 +- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 2 +- .../PlatUeInformationSubscription.tplan2 | 2 +- .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 2 +- .../PlatUeLocationSubscription.tplan2 | 2 +- .../PlatUeTrackingSubscription.tplan2 | 2 +- .../MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 2 +- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 2 +- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 2 +- .../MEO/UEAPPCTX/SysUeAppsContext.tplan2 | 2 +- .../UEAPPLOC/SysUeApplicationsLocation.tplan2 | 2 +- .../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 +- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 2 +- .../MEC028/SRV/WAI/Measurement.tplan2 | 2 +- .../SRV/WAI/NotificationCallback.tplan2 | 2 +- .../MEC028/SRV/WAI/StationInfo.tplan2 | 2 +- .../MEC028/SRV/WAI/Subscription.tplan2 | 2 +- .../MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 | 2 +- .../MEC030/SRV/V2XInformationService.tplan2 | 2 +- .../MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 | 2 +- .../IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 127 +++--------------- .../MEC040/SRV/FederationEnablement.tplan2 | 51 ++++++- 53 files changed, 141 insertions(+), 179 deletions(-) diff --git a/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 b/Test Purposes/MEC009/MEX/ANY/CommonUnauthFailure_BI.tplan2 index 3431bc7..a3c70be 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-2021. +Copyright (c) ETSI 2018-2023. 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.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 index 3bea6be..88d43a8 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_GRANT { diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index 339b5d1..ea81165 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEO_PKGM { diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index 659b160..bcd133d 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. 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/MEPM/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 index c43822c..1f8a765 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC010p2_MEPM_PKGM { diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 index 0ee061d..374dcb5 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-2021. +Copyright (c) ETSI 2018-2023. 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 d59c30a..682728a 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-2021. +Copyright (c) ETSI 2018-2023. 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 2b15706..1a27c29 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-2021. +Copyright (c) ETSI 2018-2023. 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 2f04841..9172a4c 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index cd23470..ffeff54 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index e0e5ddb..4641881 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ @@ -38,7 +38,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/applications/{APP_INSTANCE_ID}/confirm_termination" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" @@ -83,7 +83,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" + uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" @@ -127,7 +127,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/applications/{APP_INSTANCE_ID}/confirm_ready" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" @@ -172,7 +172,7 @@ Package MEC_MEC011_SRV_CONFTASK { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" + uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index 128f8e3..835d1fe 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ @@ -37,7 +37,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules" ; from the MEC_APP entity } @@ -84,7 +84,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" ; from the MEC_APP entity } @@ -132,7 +132,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" ; from the MEC_APP entity } @@ -176,7 +176,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -230,7 +230,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -279,7 +279,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}", if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, @@ -328,7 +328,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", if_match indicating value INVALID_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 index 42434e2..512b5c5 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index 9a01e0b..b70117a 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index 3c077f2..0ecc0ac 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ Package MEC_MEC011_SRV_SRVSUB { diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 1baf220..0c4a901 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ @@ -34,7 +34,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/timing/timing_caps" + uri indicating value "mec_app_support/v2/timing/timing_caps" ; from the MEC_APP entity } @@ -75,7 +75,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/timing/current_time" + uri indicating value "mec_app_support/v2/timing/current_time" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 637f0a1..43fe430 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ @@ -36,7 +36,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules" ; from the MEC_APP entity } @@ -79,7 +79,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules" + uri indicating value "mec_app_support/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules" ; from the MEC_APP entity } @@ -123,7 +123,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}" + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}" ; from the MEC_APP entity } @@ -172,7 +172,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing action indicating value "DROP" @@ -226,7 +226,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing // Invalid parameter value should trigger an error response. @@ -275,7 +275,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{NON_EXISTENT_TRAFFIC_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{NON_EXISTENT_TRAFFIC_RULE_ID}", body containing TrafficRule containing action indicating value "DROP" @@ -326,7 +326,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", if_match indicating value INVALID_ETAG body containing TrafficRule containing diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index f096606..efd41aa 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index 392f9dc..b4395e8 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 index dd24cfc..e92870f 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index 033cc2f..fcf2636 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index 5216e45..25e7148 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 index 46e375a..4899064 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index 2efcf17..d44fd60 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-2021. +Copyright (c) ETSI 2018-2023. 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 fe1d6ee..45abab9 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index dda375e..8fca8ee 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 1d7862c..00e6fba 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 8577c4b..de69461 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 5c40726..81f5b2d 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 73d2f87..3b65184 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. 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 c1ed932..ac6819b 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-2021. +Copyright (c) ETSI 2018-2023. 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 7098f29..c76d78e 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-2021. +Copyright (c) ETSI 2018-2023. 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 34566e7..31f0afa 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-2021. +Copyright (c) ETSI 2018-2023. 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 8542f02..222da22 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-2021. +Copyright (c) ETSI 2018-2023. 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 0b48cd6..1c3c03a 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-2021. +Copyright (c) ETSI 2018-2023. 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/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index de47fdb..f1ad519 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index b7250a6..a52fbe5 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 b/Test Purposes/MEC016/MEO/UEAPPCTX/SysUeAppsContext.tplan2 index c576217..3bec702 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 b/Test Purposes/MEC016/MEO/UEAPPLOC/SysUeApplicationsLocation.tplan2 index 1004f32..eb7019c 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 b/Test Purposes/MEC016/MEO/UEAPPS/SysUeApplications.tplan2 index ab02c9c..0adef41 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index e9762c2..b5bf3e2 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-2021. +Copyright (c) ETSI 2018-2023. 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 4478c5e..3549e2f 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-2021. +Copyright (c) ETSI 2018-2023. 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 3d1d3ec..2b14dd4 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 878606f..96f8687 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-2021. +Copyright (c) ETSI 2018-2023. 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/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index e1d1bed..54def69 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 9a7d5f8..6dd9872 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index 6798a90..b560c19 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index 13fa67f..fe63021 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-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index 046bcce..80ab6df 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-2021. +Copyright (c) ETSI 2018-2023. 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/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 2d9cb6d..5a7d395 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 index 7dcd56a..b4506ea 100644 --- a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 index 7071ca2..2684173 100755 --- a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2021. +Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ @@ -8,10 +8,11 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01_001" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01" Test objective - "Check that the IUT responds with the list of registered IoT platforms when queried by a Service Consumer" + "Check that the IUT responds with the list of registered IoT platforms + when queried by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -57,60 +58,13 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } - Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01_002" - - Test objective - "Check that the IUT responds with the list of registered IoT platform when queried by a Service Consumer filtering one field" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IoTPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - } - - - // MEC 033 V3.1.1 Clause 6.2.2 Type: DeviceInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/iots/v1/registered_iot_platforms?fields=iotPlatformId" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - arrayOfIoTPlatformInfo containing - IoTPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - Test Purpose { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_02" Test objective - "Check that the IUT registers the information of a new IoT platform when requested by a Service Consumer" + "Check that the IUT registers the information of a new IoT platform + when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" @@ -161,7 +115,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_BR_02" Test objective - "Check that the IUT returns an error when Service Consumer request to register an IoT device with incorrect parameters" + "Check that the IUT returns an error + when Service Consumer request to register an IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.4" @@ -200,10 +155,11 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03_001" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03" Test objective - "Check that the IUT returns the IoT platform information when requested by Service Consumer specifying the IoT platform identifier" + "Check that the IUT returns the IoT platform information + when requested by Service Consumer specifying the IoT platform identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -247,57 +203,12 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } } - Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03_002" - - Test objective - "Check that the IUT returns the IoT platform information when requested by Service Consumer specifying the IoT platform identifier filtering one field" - - Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" - - Config Id Config_MEC_6 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_PROVIDER entity having a IotPlatformInfo containing - iotPlatformId set to registeredIotPlatformId, - userTransportInfo indicating value USER_TRANSPORT_INFO, - enabled indicating value BOOLEAN_VALUE - ; - - } - - // MEC 033 V3.1.1 Clause 6.2.3 Type: IotPlatformInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}?fields=iotPlatformId" - ; - from the MEC_CONSUMER entity - } - then { - // MEC 033 Clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - body containing - IotPlatformInfo containing - iotPlatformId indicating value IOT_PLATFORM_ID - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - Test Purpose { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_03" Test objective - "Check that the IUT returns error when Service Consumer request to retrieve a not registered IoT platform" + "Check that the IUT returns error + when Service Consumer request to retrieve a not registered IoT platform" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.1" @@ -338,7 +249,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { Test objective - "Check that the IUT updates the information about a registered IoT platform when requested by a Service Consumer" + "Check that the IUT updates the information about a registered IoT platform + when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" @@ -393,7 +305,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_04" Test objective - "Check that the IUT returns an error when a Service Consumer requests to update a not registered IoT platform" + "Check that the IUT returns an error + when a Service Consumer requests to update a not registered IoT platform" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.2" @@ -440,7 +353,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_05" Test objective - "Check that the IUT deregisters an IoT platform information when requested by a Service Consumer specifying the registered IoT platform identifier" + "Check that the IUT deregisters an IoT platform information + when requested by a Service Consumer specifying the registered IoT platform identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" @@ -481,7 +395,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_05" Test objective - "Check that the IUT returns an error when a Service Consumer request to deregister an IoT platform using incorrect parameters" + "Check that the IUT returns an error + when a Service Consumer request to deregister an IoT platform using incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5" diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index 1ed3560..10ac442 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -1357,7 +1357,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_004_BR" + TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_01" Test objective "Check that the IUT responds with an error when requested to update an unknown systemInfo" @@ -1400,7 +1400,54 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_MEF_004_BR + } // End of TP_MEC_MEC040_SRV_MEF_004_BR_01 + + + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_02" + + Test objective + "Check that the IUT responds with an error when requested to update with no data provided" + + Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", + "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT is_registered to the MEC_FED and + the MEC_FED entity having a systemInfoList containing + systemInfo1 indicating value SYSTEM_ID_1 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" + body containing + SystemInfoUpdate containing + systemName indicating value omit, + endpoint indicating value omit + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.4.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_MEF_004_BR_02 Test Purpose { -- GitLab From 174c8df52599dd0ed3f1cffa8fc7cba85e8942d4 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Thu, 23 Feb 2023 08:40:32 +0100 Subject: [PATCH 14/70] TTF T024: Add 'entity' missing keyword --- .../MEC040/SRV/FederationEnablement.tplan2 | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index 10ac442..cc03370 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -22,8 +22,8 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and - the MEC_FED are_aware_of_eachother and + the IUT entity is_registered to the MEC_FED entity and + the MEC_FED entity are_aware_of_eachother and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -85,7 +85,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -140,7 +140,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -201,7 +201,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -266,7 +266,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -321,7 +321,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -382,7 +382,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfoN indicating value SYSTEM_NAME_2, @@ -447,7 +447,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -502,7 +502,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -563,7 +563,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfoN indicating value SYSTEM_PROVIDER_2, @@ -628,7 +628,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo1 indicating value SYSTEM_ID_2, @@ -690,7 +690,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo1 indicating value SYSTEM_ID_2, @@ -736,7 +736,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_NAME_1, systemInfo1 indicating value SYSTEM_NAME_2, @@ -782,7 +782,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_PROVIDER_1, systemInfo1 indicating value SYSTEM_PROVIDER_2, @@ -828,7 +828,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -869,7 +869,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity not having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -924,7 +924,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity not having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -972,7 +972,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo2 indicating value SYSTEM_ID_2 ; @@ -1020,7 +1020,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1070,7 +1070,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1113,7 +1113,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1156,7 +1156,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1212,7 +1212,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1268,7 +1268,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, @@ -1324,7 +1324,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1371,7 +1371,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1418,7 +1418,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1465,7 +1465,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1512,7 +1512,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; @@ -1553,7 +1553,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; and @@ -1595,7 +1595,7 @@ Package MEC_MEC040_SRV_FED { Initial conditions with { the IUT entity being_in idle_state and - the IUT is_registered to the MEC_FED and + the IUT entity is_registered to the MEC_FED entity and the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1 ; and -- GitLab From d47f8ffdaffd7b8dc226412287271fd934c6e3d9 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Thu, 23 Feb 2023 09:30:09 +0100 Subject: [PATCH 15/70] TTF T024: Review MEC011 Timing & TrafficRules TPs --- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 36 ++-- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 164 ++++++++---------- 2 files changed, 86 insertions(+), 114 deletions(-) diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 0c4a901..791e9f4 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -18,8 +18,11 @@ Package MEC_MEC011_SRV_TIME { "Check that the IUT responds with timing capabilities when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/TimingCaps" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.10.3", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.4", + "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/TimingCaps" //Outdated Config Id Config_MEC_1 @@ -34,8 +37,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/timing/timing_caps" - ; + uri indicating value "mec_app_support/v2/timing/timing_caps"; from the MEC_APP entity } then { @@ -43,9 +45,7 @@ Package MEC_MEC011_SRV_TIME { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - TimingCaps set to any_value - ; - ; + TimingCaps set to any_value;; to the MEC_APP entity } } @@ -56,11 +56,13 @@ Package MEC_MEC011_SRV_TIME { TP Id "TP_MEC_MEC011_SRV_TIME_002_OK" Test objective - "Check that the IUT responds with current time - when queried by a MEC Application" + "Check that the IUT responds with current time when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.6.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L410#/definitions/CurrentTime" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.10.2", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.5", + "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/CurrentTime" //Outdated Config Id Config_MEC_1 @@ -75,8 +77,7 @@ Package MEC_MEC011_SRV_TIME { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/timing/current_time" - ; + uri indicating value "mec_app_support/v2/timing/current_time"; from the MEC_APP entity } then { @@ -85,12 +86,9 @@ Package MEC_MEC011_SRV_TIME { status_code set to "200 OK" body containing CurrentTime containing - seconds set to CURRENT_TIME_SECONDS, - nanoSeconds set to CURRENT_TIME_NANOSECONDS, - timeSourceStatus set to TIME_SOURCE_STATUS - ; - ; - ; + 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 43fe430..6d82821 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -14,11 +14,13 @@ Package MEC_MEC011_SRV_TRAF { TP Id "TP_MEC_MEC011_SRV_TRAF_001_OK" Test objective - "Check that the IUT responds with a list of available traffic rules - when queried by a MEC Application" + "Check that the IUT responds with a list of available traffic rules when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -27,8 +29,7 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -36,8 +37,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules"; from the MEC_APP entity } then { @@ -45,9 +45,7 @@ Package MEC_MEC011_SRV_TRAF { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - TrafficRule set to any_value //@TODO: Should be a list of TrafficRules. How can this be expressed in TDL - ; - ; + TrafficRule set to any_value;; //@TODO: Should be a list of TrafficRules. How can this be expressed in TDL to the MEC_APP entity } } @@ -58,10 +56,13 @@ Package MEC_MEC011_SRV_TRAF { TP Id "TP_MEC_MEC011_SRV_TRAF_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" + "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 3.2.1, clause 7.2.7.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -70,8 +71,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 - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; + instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -79,15 +79,13 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules" - ; + uri indicating value "mec_app_support/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/traffic_rules"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -101,8 +99,11 @@ 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 3.2.1, clause 7.2.8.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -111,11 +112,9 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; + rule_id indicating value TRAFFIC_RULE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -123,8 +122,7 @@ Package MEC_MEC011_SRV_TRAF { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}"; from the MEC_APP entity } then { @@ -133,10 +131,7 @@ Package MEC_MEC011_SRV_TRAF { status_code set to "200 OK" body containing TrafficRule containing - trafficRuleId set to TRAFFIC_RULE_ID - ; - ; - ; + trafficRuleId set to TRAFFIC_RULE_ID;;; to the MEC_APP entity } } @@ -147,11 +142,13 @@ Package MEC_MEC011_SRV_TRAF { TP Id "TP_MEC_MEC011_SRV_TRAF_003_OK" Test objective - "Check that the IUT updates a specific traffic rule - when commanded by a MEC Application" + "Check that the IUT updates a specific traffic rule when commanded by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -160,11 +157,9 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; + rule_id indicating value TRAFFIC_RULE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -175,10 +170,7 @@ Package MEC_MEC011_SRV_TRAF { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing - action indicating value "DROP" - ; - ; - ; + action indicating value "DROP";;; from the MEC_APP entity } then { @@ -188,24 +180,23 @@ Package MEC_MEC011_SRV_TRAF { body containing TrafficRule containing trafficRuleId set to TRAFFIC_RULE_ID, - action set to "DROP" - ; - ; - ; + action set to "DROP";;; to the MEC_APP entity } } } - Test Purpose { TP Id "TP_MEC_MEC011_SRV_TRAF_003_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -214,11 +205,9 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; + rule_id indicating value TRAFFIC_RULE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -229,18 +218,13 @@ Package MEC_MEC011_SRV_TRAF { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", body containing TrafficRule containing - // Invalid parameter value should trigger an error response. - action indicating value UNKNOWN_VALUE - ; - ; - ; + action indicating value UNKNOWN_VALUE;;; // Invalid parameter value should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -251,10 +235,13 @@ Package MEC_MEC011_SRV_TRAF { TP Id "TP_MEC_MEC011_SRV_TRAF_003_NF" Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" + "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 3.2.1, clause 7.2.8.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -263,11 +250,9 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a traffic_rules containing - rule_id indicating value NON_EXISTENT_TRAFFIC_RULE_ID - ; + rule_id indicating value NON_EXISTENT_TRAFFIC_RULE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -278,34 +263,29 @@ Package MEC_MEC011_SRV_TRAF { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{NON_EXISTENT_TRAFFIC_RULE_ID}", body containing TrafficRule containing - action indicating value "DROP" - ; - ; - ; + action indicating value "DROP";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } } -/* - - //@TODO: Commented as ETag is not mandatory - Test Purpose { TP Id "TP_MEC_MEC011_SRV_TRAF_003_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" + "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 3.2.1, clause 7.2.8.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated Config Id Config_MEC_1 @@ -314,11 +294,9 @@ Package MEC_MEC011_SRV_TRAF { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; + rule_id indicating value TRAFFIC_RULE_ID; } // MEC 011 3.2.1, clause 5.2.7 @@ -327,23 +305,19 @@ Package MEC_MEC011_SRV_TRAF { when { the IUT entity receives a vPUT containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", - if_match indicating value INVALID_ETAG + if_match indicating value INVALID_ETAG, body containing TrafficRule containing - action indicating value "DROP" - ; - ; - ; + action indicating value "DROP";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.8.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; + status_code set to "412 Precondition Failed"; to the MEC_APP entity } } } -*/ + } -- GitLab From 451e10711f85913d874475cafa2a26befea24bd7 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Thu, 23 Feb 2023 10:27:33 +0100 Subject: [PATCH 16/70] TTF T024: Review MEC011 DNS & AppConf/Ready --- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 76 +++---- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 195 ++++++++++-------- 2 files changed, 141 insertions(+), 130 deletions(-) diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index 4641881..f49df78 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -19,7 +19,10 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that it has completed the application level termination" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", + "ETSI GS MEC 011 3.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 @@ -29,8 +32,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.3 @@ -41,17 +43,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing - operationAction indicating value "TERMINATING" - ; - ; - ; + operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.11.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; + status_code set to "204 No Content"; to the MEC_APP entity } } @@ -62,10 +60,13 @@ Package MEC_MEC011_SRV_CONFTASK { 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" + "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 3.2.1, clause 7.2.11.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", + "ETSI GS MEC 011 3.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 @@ -74,8 +75,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 - instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID - ; + instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -86,17 +86,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing - operationAction indicating value "TERMINATING" - ; - ; - ; + operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -108,8 +104,11 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that the MEC application is up and running" - Reference "ETSI GS MEC 011 3.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 + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 @@ -118,8 +117,7 @@ Package MEC_MEC011_SRV_CONFTASK { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.2 @@ -130,17 +128,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing - indication indicating value "READY" - ; - ; - ; + indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; + status_code set to "204 No Content"; to the MEC_APP entity } } @@ -151,10 +145,13 @@ Package MEC_MEC011_SRV_CONFTASK { 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" + "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 3.2.1, clause 7.2.12.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 @@ -163,8 +160,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 - instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID - ; + instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -175,19 +171,15 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing - indication indicating value "READY" - ; - ; - ; + indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + 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 835d1fe..cd5ab0b 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_001_OK" Test objective - "Check that the IUT responds with a list of active DNS rules - when queried by a MEC Application" + "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -28,8 +30,7 @@ Package MEC_MEC011_SRV_DNS { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -37,8 +38,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules"; from the MEC_APP entity } then { @@ -46,9 +46,47 @@ Package MEC_MEC011_SRV_DNS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - DnsRule set to any_value //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? - ; - ; + DnsRule set to any_value;; //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_DNS_001_NF" + + Test objective + "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //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 not having a apps_instance containing + instance_id indicating value NON_EXISTANT_APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.8 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mec_app_support/v2/applications/{NON_EXISTANT_APP_INSTANCE_ID}/dns_rules"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -59,10 +97,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_OK" Test objective - "Check that the IUT responds with the information on a specific DNS rule - when queried by a MEC Application" + "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -72,11 +112,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; + rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -84,8 +122,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}"; from the MEC_APP entity } then { @@ -94,10 +131,7 @@ Package MEC_MEC011_SRV_DNS { status_code set to "200 OK" body containing DnsRule containing - dnsRuleId set to DNS_RULE_ID - ; - ; - ; + dnsRuleId set to DNS_RULE_ID;;; to the MEC_APP entity } } @@ -108,10 +142,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_NF" Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" + "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 3.2.1, clause 7.2.10.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -120,11 +157,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing - rule_id indicating value NON_EXISTENT_DNS_RULE_ID - ; + rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -132,15 +167,13 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" - ; + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -151,10 +184,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_OK" Test objective - "Check that the IUT updates a specific DNS rule - when commanded by a MEC Application" + "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -164,11 +199,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; + rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -180,9 +213,7 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; + ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { @@ -192,10 +223,7 @@ Package MEC_MEC011_SRV_DNS { body containing DnsRule containing dnsRuleId set to DNS_RULE_NAME, - ipAddress set to SOME_IP_ADDRESS - ; - ; - ; + ipAddress set to SOME_IP_ADDRESS;;; to the MEC_APP entity } } @@ -206,10 +234,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -218,11 +249,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID ; and the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; + rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -234,17 +263,13 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, - // Unknown parameter value should trigger an error response. - state indicating value UNKNOWN_VALUE - ; - ; + state indicating value UNKNOWN_VALUE;; // Unknown parameter value should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -255,10 +280,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_NF" Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" + "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 3.2.1, clause 7.2.10.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -267,11 +295,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing - rule_id indicating value NON_EXISTENT_DNS_RULE_ID - ; + rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -283,31 +309,29 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; + ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } } -/* - * @TODO: Removed cause the ETag is not a mandatory header attribute Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_003_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" + "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 3.2.1, clause 7.2.10.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.8", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 @@ -316,11 +340,9 @@ Package MEC_MEC011_SRV_DNS { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; + rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 @@ -332,19 +354,16 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value INVALID_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; + ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; + status_code set to "412 Precondition Failed"; to the MEC_APP entity } } } - */ + } -- GitLab From de1a8d74d1d3a3a6abb4e906a5c014e7e15d4ace Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Mon, 27 Feb 2023 15:32:42 +0100 Subject: [PATCH 17/70] TTF T024: Add Registration Application TPs --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 26 +- .../SRV/REGAPPS/RegisterAppsServices.tplan2 | 705 ++++++++++++++++++ .../MEC011/SRV/SAQ/PlatServices.tplan2 | 8 +- Test Purposes/mec-common.tplan2 | 1 - 4 files changed, 722 insertions(+), 18 deletions(-) create mode 100644 Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 9172a4c..86e9042 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -37,7 +37,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services" ; from the MEC_APP entity } @@ -80,7 +80,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services" query_parameters containing // Wrong parameter name should trigger an error response. instance_id indicating value any_value @@ -127,7 +127,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing serName indicating value SERVICE_NAME @@ -194,7 +194,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing // Wrong parameter name should trigger an error response. @@ -242,7 +242,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services", body containing ServiceInfo containing serName indicating value SERVICE_NAME @@ -291,7 +291,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" ; from the MEC_APP entity } @@ -339,7 +339,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" ; from the MEC_APP entity } @@ -384,7 +384,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing version indicating value NEW_VERSION @@ -437,7 +437,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing // Wrong parameter name should trigger an error response. @@ -486,7 +486,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", body containing ServiceInfo containing version indicating value NEW_VERSION @@ -534,7 +534,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", if_match indicating value INVALID_ETAG, body containing ServiceInfo containing @@ -581,7 +581,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" ; from the MEC_APP entity } @@ -620,7 +620,7 @@ Package MEC_MEC011_SRV_APPSAQ { 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}" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 new file mode 100644 index 0000000..8999b99 --- /dev/null +++ b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 @@ -0,0 +1,705 @@ +/* +Copyright (c) ETSI 2018-2023. +Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters +*/ + +Package MEC_MEC011_SRV_REGAPPS { + + import all from MEC_Common; + + + /* + * Application Service Availability Query (APPSAQ) + */ + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_OK_01" + + Test objective + "Check that the IUT acknowledges the registration by a MEC Application to the MEC platform" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 not having a apps_instance containing + appName indicating value APP_NAME; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location indicating value "{RESOURCE_ID}";, + body containing + AppInfo containing + appName indicating value APP_NAME;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_OK_02" + + Test objective + "Check that the IUT acknowledges the registration by a MEC Application to the MEC platform" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 not having a apps_instance containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location indicating value "{RESOURCE_ID}";, + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_OK_03" + + Test objective + "Check that the IUT acknowledges the registration by a MEC Application instanciated by the MEC platform" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + appDId indicating value APP_D_ID, + endpoint indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + headers containing + Location indicating value "{RESOURCE_ID}";, + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + appDId indicating value APP_D_ID, + endpoint indicating value any_value;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_01" + + Test objective + "Check that the IUT responds with an error message when the IUT received a registration with missing fields from a MEC Application instanciated by the MEC platform" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + appDId indicating value omit;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_02" + + Test objective + "Check that the IUT responds with an error message when the IUT received by a MEC Application registration with missing endpoint" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME_REGISTERED, + appInstanceID indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceID indicating value APP_INSTANCE_ID, + isInsByMec indicating value false, + endpoint indicating value omit;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_03" + + Test objective + "Check that the IUT responds with an error message when the IUT received by a MEC Application registration with unexpected appServiceRequired" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME_REGISTERED, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appIappServiceRequirednstanceID indicating value APP_D_ID, + appServiceRequired indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_04" + + Test objective + "Check that the IUT responds with an error message when the IUT received by a MEC Application registration with unexpected appServiceOptional" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME_REGISTERED, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appIappServiceRequirednstanceID indicating value APP_D_ID, + appServiceOptional indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_05" + + Test objective + "Check that the IUT responds with an error message when the IUT received by a MEC Application registration with unexpected appFeatureRequired" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME_REGISTERED, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appIappServiceRequirednstanceID indicating value APP_D_ID, + appFeatureRequired indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_BR_06" + + Test objective + "Check that the IUT responds with an error message when the IUT received by a MEC Application registration with unexpected appFeatureOptional" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 an app_instance containing + appName indicating value APP_NAME_REGISTERED, + appDId indicating value APP_D_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/mec_app_support/v2/registrations", + body containing + AppInfo containing + appName indicating value APP_NAME, + appIappServiceRequirednstanceID indicating value APP_D_ID, + appFeatureOptional indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.13.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_002_OK" + + Test objective + "Check that the IUT responds with the AppInfo description when queried by a MEC Application" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_002_NF" + + Test objective + "Check that the IUT responds with an error when when it receives a request for returning an AppInfo with a wrong ID" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 not having a apps_instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_003_OK" + + Test objective + "Check that the IUT responds with 204 No Content when queried to update MEC Application registration" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID, + appCategory indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_003_NF" + + Test objective + "Check that the IUT responds with an error when queried to update MEC Application registration with a wrong ID" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 not having a apps_instance containing + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}", + body containing + AppInfo containing + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID, + appCategory indicating value any_value;;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_004_OK" + + Test objective + "Check that the IUT responds with 204 No Content when queried to delete an existing MEC Application registration" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content"; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_REGAPPS_004_NF" + + Test objective + "Check that the IUT responds with an error when queried to delete an unknown MEC Application registration" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.13", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //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 not having a apps_instance containing + appName indicating value APP_NAME, + appInstanceId indicating value APP_INSTANCE_ID; + } + + // MEC 011 3.2.1, clause 5.2.13 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.14.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_APP entity + } + } + } + + +} diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index b70117a..aab2dd9 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -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/v2/services" ; from the MEC_APP entity } @@ -74,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/v2/services" query_parameters containing // Wrong parameter name should trigger an error response. instance_id indicating value any_value @@ -119,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/v2/services/{SERVICE_ID}" ; from the MEC_APP entity } @@ -169,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/v2/services/{NON_EXISTENT_SERVICE_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 51151b8..1da5753 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -9,7 +9,6 @@ Package MEC_Common { pics: // Some PICS in this list are referenced to // PICS item in MEC 032 part 1, Clause A.4 - - PIC_MEC_PLAT - PIC_MEC_SYSTEM - PIC_SERVICES -- GitLab From f15812d0bd1868689d481465d815d300993df5c8 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 28 Feb 2023 08:09:17 +0100 Subject: [PATCH 18/70] TTF T024: Review PlatServices & PlatTransport TPs --- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 73 +++++++++---------- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 15 ++-- 2 files changed, 40 insertions(+), 48 deletions(-) diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index aab2dd9..69fa03d 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_OK" Test objective - "Check that the IUT responds with a list of available MEC services - when queried by a MEC Application" + "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services" - ; + uri indicating value"/mec_service_mgmt/v2/services"; from the MEC_APP entity } then { @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - ServiceInfo set to any_value // @TODO: It should be a list of ServiceInfos. How to express it in TDL? - ; - ; + ServiceInfo set to any_value;; // @TODO: It should be a list of ServiceInfos. How to express it in TDL? to the MEC_APP entity } } @@ -56,10 +55,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_BR" Test objective - "Check that the IUT responds with an error when - incorrect parameters were sent by a MEC Application" + "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -76,17 +78,13 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services" query_parameters containing - // Wrong parameter name should trigger an error response. - instance_id indicating value any_value - ; - ; + instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -97,11 +95,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_OK" Test objective - "Check that the IUT responds with the information on a specific service - when queried by a MEC Application" + "Check that the IUT responds with the information on a specific service when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -110,8 +110,7 @@ Package MEC_MEC011_SRV_SAQ { 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 - ; + service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -119,8 +118,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}" - ; + uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}"; from the MEC_APP entity } then { @@ -132,11 +130,7 @@ Package MEC_MEC011_SRV_SAQ { serInstanceId set to SERVICE_ID, _links containing self set to "link/to/resource", - liveness set to "ACTIVE" - ; - ; - ; - ; + liveness set to "ACTIVE";;;; to the MEC_APP entity } } @@ -147,11 +141,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_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" + "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 3.2.1, clause 8.2.4.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -160,8 +156,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 - service_id indicating value NON_EXISTENT_SERVICE_ID - ; + service_id indicating value NON_EXISTENT_SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -169,15 +164,13 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}" - ; + uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index efd41aa..cc6f1bc 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_TRANS { TP Id "TP_MEC_MEC011_SRV_TRANS_001_OK" Test objective - "Check that the IUT responds with a list of available transports - when queried by a MEC Application" + "Check that the IUT responds with a list of available transports when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.9", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/definitions/TransportInfo" //Outdated Config Id Config_MEC_1 @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_TRANS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/transports" - ; + uri indicating value "/mec_service_mgmt/v2/transports"; from the MEC_APP entity } then { @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_TRANS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - TransportInfo set to any_value // @TODOL Should be a TransportInfo list. How to express this in TDL? - ; - ; + TransportInfo set to any_value;; // @TODOL Should be a TransportInfo list. How to express this in TDL? to the MEC_APP entity } } -- GitLab From cf6e359d6dedcb67072a1af93a430737e497377e Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 28 Feb 2023 08:54:17 +0100 Subject: [PATCH 19/70] TTF T024: Review PlatAppServices, PlatSrvSubscriptions & Liveness TPs --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 225 ++++++++---------- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 198 ++++++++++----- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 178 ++++++-------- 3 files changed, 312 insertions(+), 289 deletions(-) diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 86e9042..78029fd 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_001_OK" Test objective - "Check that the IUT responds with a list of available MEC services - for a given application instance when queried by a MEC Application" + "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 3.2.1, clause 8.2.6.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -28,8 +30,7 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -37,8 +38,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services"; from the MEC_APP entity } then { @@ -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 - ServiceInfo set to any_value // @TODO: Should be a list of ServiceInfos. How can we express it in TDL? - ; - ; + ServiceInfo set to any_value;; // @TODO: Should be a list of ServiceInfos. How can we express it in TDL? to the MEC_APP entity } } @@ -59,10 +57,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_001_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -71,8 +72,7 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -82,17 +82,13 @@ Package MEC_MEC011_SRV_APPSAQ { the IUT entity receives a vGET containing uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services" query_parameters containing - // Wrong parameter name should trigger an error response. - instance_id indicating value any_value - ; - ; + instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.6.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -103,12 +99,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_OK" Test objective - "Check that the IUT notifies the authorised relevant (subscribed) application - instances when a new service for a given application instance is registered" + "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 3.2.1, clause 8.2.6.3.4", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated - Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PIC_NOTIFICATIONS @@ -116,8 +113,7 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the MEC_APP_Registrant entity being_in idle_state and the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } @@ -130,10 +126,7 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing - serName indicating value SERVICE_NAME - ; - ; - ; + serName indicating value SERVICE_NAME;;; from the MEC_APP_Registrant entity } then { @@ -143,24 +136,15 @@ Package MEC_MEC011_SRV_APPSAQ { Location set to LOCATION, body containing ServiceInfo containing - serName set to SERVICE_NAME - ; - ; - ; + serName set to SERVICE_NAME;;; to the MEC_APP_Registrant entity - and - - the IUT entity sends a notification_message containing + and the IUT entity sends a notification_message containing body containing notificationType set to "SerAvailabilityNotification", services containing serName set to SERVICE_NAME _links containing - subscription set to MP1_SUBSCRIPTION_A - ; - ; - ; - ; + subscription set to MP1_SUBSCRIPTION_A;;;; to the MEC_APP_Subscriber entity } } @@ -171,10 +155,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -183,8 +170,7 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the MEC_APP_Registrant entity being_in idle_state and the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } @@ -197,18 +183,13 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing - // Wrong parameter name should trigger an error response. - Name indicating value SERVICE_NAME - ; - ; - ; + Name indicating value SERVICE_NAME;;; // Wrong parameter name should trigger an error response. from the MEC_APP_Registrant entity } then { // MEC 011 3.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP_Registrant entity } } @@ -219,10 +200,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_002_NF" Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" + "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 3.2.1, clause 8.2.6.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -231,8 +215,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 - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; and + instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID; and the MEC_APP_Registrant entity being_in idle_state and the MEC_APP_Subscriber entity subscribed_to the MP1_SUBSCRIPTION_A } @@ -245,17 +228,13 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services", body containing ServiceInfo containing - serName indicating value SERVICE_NAME - ; - ; - ; + serName indicating value SERVICE_NAME;;; from the MEC_APP_Registrant entity } then { // MEC 011 3.2.1, clause 8.2.6.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP_Registrant entity } } @@ -266,10 +245,12 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_003_OK" Test objective - "Check that the IUT responds with the information on a specific service - for a given application instance when queried by a MEC Application" + "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 3.2.1, clause 8.2.7.3.1", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -279,11 +260,9 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a services_running containing - service_id indicating value SERVICE_ID - ; + service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -291,8 +270,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"; from the MEC_APP entity } then { @@ -301,10 +279,7 @@ Package MEC_MEC011_SRV_APPSAQ { status_code set to "200 OK" body containing ServiceInfo containing - serInstanceId set to SERVICE_ID - ; - ; - ; + serInstanceId set to SERVICE_ID;;; to the MEC_APP entity } } @@ -315,10 +290,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_003_NF" Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" + "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 3.2.1, clause 8.2.7.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -327,11 +305,9 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a services_running containing - service_id indicating value NON_EXISTENT_SERVICE_ID - ; + service_id indicating value NON_EXISTENT_SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 @@ -339,15 +315,13 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.7.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -358,10 +332,12 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_OK" Test objective - "Check that the IUT updates a service information for a given - application instance when commanded by a MEC Application" + "Check that the IUT updates a service information for a given application instance when commanded by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.4", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated @@ -372,11 +348,9 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a services_running containing - service_id indicating value SERVICE_ID - ; + service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.4 @@ -387,10 +361,7 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing - version indicating value NEW_VERSION - ; - ; - ; + version indicating value NEW_VERSION;;; from the MEC_APP entity } then { @@ -399,10 +370,7 @@ Package MEC_MEC011_SRV_APPSAQ { status_code set to "200 OK" body containing ServiceInfo containing - version set to NEW_VERSION - ; - ; - ; + version set to NEW_VERSION;;; to the MEC_APP entity } } @@ -413,10 +381,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_004_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.4", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -425,11 +396,9 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a services_running containing - service_id indicating value SERVICE_ID - ; + service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.4 @@ -440,18 +409,13 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing - // Wrong parameter name should trigger an error response. - a_version indicating value NEW_VERSION - ; - ; - ; + a_version indicating value NEW_VERSION;;; // Wrong parameter name should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -462,10 +426,13 @@ Package MEC_MEC011_SRV_APPSAQ { TP Id "TP_MEC_MEC011_SRV_APPSAQ_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" + "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 3.2.1, clause 8.2.7.3.2" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.4", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 @@ -474,11 +441,9 @@ Package MEC_MEC011_SRV_APPSAQ { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a services_running containing - service_id indicating value NON_EXISTENT_SERVICE_ID - ; + service_id indicating value NON_EXISTENT_SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.4 @@ -489,17 +454,13 @@ Package MEC_MEC011_SRV_APPSAQ { uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", body containing ServiceInfo containing - version indicating value NEW_VERSION - ; - ; - ; + version indicating value NEW_VERSION;;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.7.3.2 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 index 512b5c5..e2ae37b 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -16,10 +16,13 @@ Package MEC_MEC011_SRV_LIV { 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" + "Check that the IUT responds with the liveness of a MEC service instance when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.4", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" //Outdated Config Id Config_MEC_1 @@ -30,10 +33,8 @@ Package MEC_MEC011_SRV_LIV { 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" - ; - ; + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness";; } // MEC 011 3.2.1, clause 5.2.12 @@ -41,8 +42,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 } then { @@ -51,10 +51,7 @@ Package MEC_MEC011_SRV_LIV { status_code set to "200 OK" body containing ServiceLivenessInfo containing - ServiceState set to "ACTIVE" - ; - ; - ; + ServiceState set to "ACTIVE";;; to the MEC_APP entity } } @@ -65,11 +62,13 @@ 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" + "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 3.2.1, clause 8.2.10.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.4", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" //Outdated Config Id Config_MEC_1 @@ -80,10 +79,8 @@ Test Purpose { 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" - ; - ; + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness";; } // MEC 011 3.2.1, clause 5.2.5 @@ -91,28 +88,30 @@ 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 } - then { + then { // MEC 011 3.2.1, clause 8.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } } - + + Test Purpose { - TP Id "TP_MEC_MEC011_SRV_MSL_002_OK" + TP Id "TP_MEC_MEC011_SRV_MSL_002_OK_01" Test objective - "Check that the IUT updates the liveness of a MEC service instance - when requested by a MEC Application" + "Check that the IUT updates the liveness of a MEC service instance when requested by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" Config Id Config_MEC_1 @@ -124,10 +123,8 @@ Test Purpose { 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" - ; - ; + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness";; } // MEC 011 3.2.1, clause 5.2.12 @@ -138,10 +135,7 @@ Test Purpose { Uri indicating value "link/to/individual/mecServiceLiveness", body containing ServiceLivenessUpdate containing - state set to "ACTIVE" - ; - ; - ; + state set to "ACTIVE";;; from the MEC_APP entity } then { @@ -150,10 +144,53 @@ Test Purpose { status_code set to "200 OK" body containing ServiceLivenessInfo containing - state set to "ACTIVE" - ; - ; - ; + state set to "ACTIVE";;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_002_OK_02" + + 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 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + + 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 "ACTIVE", + _links containing + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness";; + } + + // MEC 011 3.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 + state set to "ACTIVE";;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 8.2.10.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content"; to the MEC_APP entity } } @@ -163,10 +200,13 @@ 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" + "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" Config Id Config_MEC_1 @@ -178,10 +218,8 @@ Test Purpose { 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" - ; - ; + self set to "link/to/this/resource", + liveness set to "link/to/individual/mecServiceLiveness";; } // MEC 011 3.2.1, clause 5.2.12 @@ -192,21 +230,65 @@ Test Purpose { Uri indicating value "link/to/individual/mecServiceLiveness", body containing ServiceLivenessInfo containing - state set to "INACTIVE" - ; - ; - ; + state set to "INACTIVE";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.10.3.3 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } } - - + + + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_MSL_002_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 3.2.1, clause 5.2.12", + "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + + 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 3.2.1, clause 5.2.12 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPATCH containing + Uri indicating value "not_existing_link/to/individual/mecServiceLiveness", + body containing + ServiceLivenessInfo containing + state set to "ACTIVE";;; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 8.2.10.3.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_APP entity + } + } + } + +// TODO How to test HTTP error 409 Conflict? + } diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index 0ecc0ac..eec1f14 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -14,11 +14,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_001_OK" Test objective - "Check that the IUT responds with a list of subscriptions for notifications - on services availability when queried by a MEC Application" + "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 3.2.1, clause 8.2.8.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L408#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -27,8 +29,7 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -36,8 +37,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { @@ -46,12 +46,8 @@ Package MEC_MEC011_SRV_SRVSUB { status_code set to "200 OK" body containing SubscriptionLinkList containing - _links containing - self set to any_value - ; - ; - ; - ; + links containing + self set to any_value;;;; to the MEC_APP entity } } @@ -62,10 +58,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_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" + "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 3.2.1, clause 8.2.8.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -74,8 +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 - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; + instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -83,15 +81,13 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.8.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -102,11 +98,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_002_OK" Test objective - "Check that the IUT acknowledges the subscription by a MEC Application - to notifications on service availability events" + "Check that the IUT acknowledges the subscription by a MEC Application to notifications on service availability events" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L508#/definitions/SerAvailabilityNotificationSubscription" //Outdated + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -115,8 +113,7 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.6.2 @@ -124,14 +121,11 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions" body containing SerAvailabilityNotificationSubscription containing subscriptionType indicating value "SerAvailabilityNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - ; + callbackReference indicating value some_uri;;; from the MEC_APP entity } then { @@ -142,10 +136,7 @@ Package MEC_MEC011_SRV_SRVSUB { body containing SerAvailabilityNotificationSubscription containing subscriptionType set to "SerAvailabilityNotificationSubscription", - callbackReference set to some_uri - ; - ; - ; + callbackReference set to some_uri;;; to the MEC_APP entity } } @@ -156,10 +147,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_002_BR" 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 parameters is sent by a MEC Application" - Reference "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated Config Id Config_MEC_1 @@ -168,8 +162,7 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; + instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.6.2 @@ -177,22 +170,17 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions" body containing SerAvailabilityNotificationSubscription containing - // Unknown value should trigger an error response. - subscriptionType indicating value INVALID_SUBSCRIPTION, - callbackReference indicating value some_uri - ; - ; - ; + subscriptionType indicating value INVALID_SUBSCRIPTION, // Unknown value should trigger an error response. + callbackReference indicating value some_uri;;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.8.3.4 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -203,11 +191,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_003_OK" Test objective - "Check that the IUT responds with the information on a specific subscription - when queried by a MEC Application" + "Check that the IUT responds with the information on a specific subscription when queried by a MEC Application" - Reference "ETSI GS MEC 011 3.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 + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -216,11 +206,9 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -228,8 +216,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { @@ -238,10 +225,7 @@ Package MEC_MEC011_SRV_SRVSUB { status_code set to "200 OK" body containing SerAvailabilityNotificationSubscription containing - subscriptionType set to "SerAvailabilityNotificationSubscription" - ; - ; - ; + subscriptionType set to "SerAvailabilityNotificationSubscription";;; to the MEC_APP entity } } @@ -252,11 +236,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_003_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" + "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 3.2.1, clause 8.2.9.3.1" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -265,11 +251,9 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a subscriptions containing - subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; + subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -277,15 +261,13 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } @@ -299,7 +281,11 @@ 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 3.2.1, clause 8.2.9.3.5" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated" Config Id Config_MEC_1 @@ -308,11 +294,9 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; + subscription_id indicating value SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -320,15 +304,13 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.9.3.5 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "204 No Content" - ; + status_code set to "204 No Content"; to the MEC_APP entity } } @@ -339,11 +321,13 @@ Package MEC_MEC011_SRV_SRVSUB { TP Id "TP_MEC_MEC011_SRV_SRVSUB_004_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" + "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 3.2.1, clause 8.2.9.3.5" + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.6", + "ETSI GS MEC 011 3.2.1, clause 8.1.3", + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5", + "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated Config Id Config_MEC_1 @@ -352,11 +336,9 @@ Package MEC_MEC011_SRV_SRVSUB { 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 - ; and + instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a subscriptions containing - subscription_id indicating value NOT_EXISTENT_SUBSCRIPTION_ID - ; + subscription_id indicating value NOT_EXISTENT_SUBSCRIPTION_ID; } // MEC 011 3.2.1, clause 5.2.6 @@ -364,15 +346,13 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; + uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.9.3.5 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; + status_code set to "404 Not Found"; to the MEC_APP entity } } -- GitLab From 1d877b9ff507fc0e6fcc1db98c0cc34e8a3bfae7 Mon Sep 17 00:00:00 2001 From: velez Date: Wed, 8 Mar 2023 18:23:33 +0100 Subject: [PATCH 20/70] renamed TP for MEC-033 --- Test Purposes/.gitignore | 1 + .../MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 | 26 +++++++++---------- .../IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 | 18 ++++++------- Test Purposes/MEC040/SRV/.gitignore | 1 + 4 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 Test Purposes/.gitignore create mode 100644 Test Purposes/MEC040/SRV/.gitignore diff --git a/Test Purposes/.gitignore b/Test Purposes/.gitignore new file mode 100644 index 0000000..e10e727 --- /dev/null +++ b/Test Purposes/.gitignore @@ -0,0 +1 @@ +/.metadata/ diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 index b4506ea..d8791e2 100644 --- a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -9,7 +9,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_001" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_01" Test objective "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer" @@ -65,7 +65,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_002" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_02" Test objective "Check that the IUT responds with the list of registered IoT devices when queried using a filter by a Service Consumer" @@ -119,7 +119,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_003" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_03" Test objective "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering one field" @@ -169,7 +169,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_01_004" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_04" Test objective "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering the number of fields and applying a @@ -220,7 +220,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_02" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_002_OK" Test objective "Check that the IUT registers the information of an IoT device when requested by a Service Consumer" @@ -274,7 +274,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_02" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_002_BR" Test objective "Check that the IUT returns an error when Service Consumer request to register an IoT device with incorrect parameters" @@ -324,7 +324,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_03" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_003_OK" Test objective "Check that the IUT returns the IoT device information when requested by Service Consumer specifying the device identifier" @@ -376,7 +376,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_03" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_003_NF" Test objective "Check that the IUT returns error when Service Consumer request to retrieve a not registered IoT device" @@ -419,7 +419,7 @@ Test Purpose { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_04" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_OK" Test objective "Check that the IUT updates the information about a registered IoT device when requested by a Service Consumer" @@ -500,7 +500,7 @@ Test Purpose { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_04" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_NF" Test objective "Check that the IUT returns an error when a Service Consumer requests to update a not registered IoT device" @@ -560,7 +560,7 @@ Test Purpose { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_BR_04" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_BR" Test objective "Check that the IUT returns an error when a Service Consumer requests to update an existing IoT device with incorrect parameters" @@ -626,7 +626,7 @@ Test Purpose { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_OK_05" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_005_OK" Test objective "Check that the IUT deregisters an IoT device information when requested by a Service Consumer specifying the IoT registered device identifier" @@ -669,7 +669,7 @@ Test Purpose { } Test Purpose { - TP Id "TP_MEC_MEC033_IOTS_IOTDEV_NF_05" + TP Id "TP_MEC_MEC033_IOTS_IOTDEV_005_NF" Test objective "Check that the IUT returns an error when a Service Consumer requests to deregisters an IoT device using incorrect parameters" diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 index 2684173..9332661 100755 --- a/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTPLAT/RegisteredIoTPlatform.tplan2 @@ -8,7 +8,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { import all from MEC_Common; Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_01" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_001_OK" Test objective "Check that the IUT responds with the list of registered IoT platforms @@ -60,7 +60,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_02" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_002_OK" Test objective "Check that the IUT registers the information of a new IoT platform @@ -112,7 +112,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_BR_02" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_002_BR" Test objective "Check that the IUT returns an error @@ -155,7 +155,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_03" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_003_OK" Test objective "Check that the IUT returns the IoT platform information @@ -204,7 +204,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_03" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_003_NF" Test objective "Check that the IUT returns error @@ -245,7 +245,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_04" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_004_OK" Test objective @@ -302,7 +302,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_04" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_004_NF" Test objective "Check that the IUT returns an error @@ -350,7 +350,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { } Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_OK_05" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_005_OK" Test objective "Check that the IUT deregisters an IoT platform information @@ -392,7 +392,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT { Test Purpose { - TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_NF_05" + TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_005_NF" Test objective "Check that the IUT returns an error diff --git a/Test Purposes/MEC040/SRV/.gitignore b/Test Purposes/MEC040/SRV/.gitignore new file mode 100644 index 0000000..e10e727 --- /dev/null +++ b/Test Purposes/MEC040/SRV/.gitignore @@ -0,0 +1 @@ +/.metadata/ -- GitLab From 3070a060129956646f68a5467e60d73842b9ddbb Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Fri, 31 Mar 2023 11:06:14 +0200 Subject: [PATCH 21/70] MEC013 TPs review - Step 1 --- .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 267 ++++--- .../SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 | 250 ++++++ .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 458 +++++++---- .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 280 ++++--- .../PlatUeDistanceSubscription.tplan2 | 396 +++++----- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 409 ++++++---- .../PlatUeInformationSubscription.tplan2 | 213 ------ .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 578 ++++++++++---- .../PlatUeLocationSubscription.tplan2 | 719 +++++++++++++----- .../PlatUeTrackingSubscription.tplan2 | 16 +- 10 files changed, 2367 insertions(+), 1219 deletions(-) create mode 100644 Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 delete mode 100644 Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index 8fca8ee..9601d94 100644 --- a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -1,99 +1,190 @@ /* Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC013_SRV_RLOCLOOK { - - import all from MEC_Common; - - - /* - * Radio Node Location Lookup (RLOCLOOK) - */ - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_RLOCLOOK_001_OK" +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. - 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 - when queried by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.7", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/AccessPointList" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES +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. +*/ - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a ue_location containing - zoneId indicating value ZONE_ID - ; - } +Package MEC_MEC013_SRV_RLOCLOOK { - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/zones/{ZONE_ID}/accessPoints" - ; - from the MEC_APP entity + import all from MEC_Common; + + + /* + * Radio Node Location Lookup (RLOCLOOK) + */ + + Test Purpose { + 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 + when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.2.1", + "ETSI GS MEC 013 3.1.1 Clause 7.9.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 ue_location containing + zoneId indicating value ZONE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/zones/{ZONE_ID}/accessPoints"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.9.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + accessPointList containing + accessPointInfo containing + zoneId set to ZONE_ID;;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.7 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - accessPointList containing - zoneId set to ZONE_ID - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_RLOCLOOK_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 013 3.1.1 Clause 5.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.2.1", + "ETSI GS MEC 013 3.1.1 Clause 7.9.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 not having a ue_location containing + zoneId indicating value NON_EXISTENT_ZONE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/zones/{NON_EXISTENT_ZONE_ID}/accessPoints"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.3.7 + 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_MEC013_SRV_RLOCLOOK_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 013 2.1.1, clause 7.3.7", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/AccessPointList" - - 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 ue_location containing - zoneId indicating value NON_EXISTENT_ZONE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/zones/{NON_EXISTENT_ZONE_ID}/accessPoints" - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_RLOCLOOK_002_OK" + + Test objective + "Check that the IUT responds with the radio nodes when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.2.1", + "ETSI GS MEC 013 3.1.1 Clause 7.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 ue_location containing + zoneId indicating value ZONE_ID, + accessPointId indicating value ACCESS_POINT_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/zones/{ZONE_ID}/accessPoints/{ACCESS_POINT_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.10.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + accessPointInfo containing + zoneId indicating value ZONE_ID, + accessPointId indicating value ACCESS_POINT_ID;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.7 - 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_MEC013_SRV_RLOCLOOK_002_NF" + + Test objective + "Check that the IUT responds with an error when the radio nodes does not exist" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.2.1", + "ETSI GS MEC 013 3.1.1 Clause 7.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 not having a ue_location containing + zoneId indicating value ZONE_ID, + accessPointId indicating value NON_EXISTING_ACCESS_POINT_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/zones/{ZONE_ID}/accessPoints/{NON_EXISTING_ACCESS_POINT_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.10.3.1 + 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/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 new file mode 100644 index 0000000..7ceac5d --- /dev/null +++ b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 @@ -0,0 +1,250 @@ +/* +Copyright (c) ETSI 2018-2023. + +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_MEC013_SRV_UEAREALOOK { + + import all from MEC_Common; + + + /* + * UE Area Subscribe (UEAREALOOK) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_01" + + Test objective + "Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - No filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 subscriptions containing + subscriptionType indicating value "UserAreaSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/area"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.16.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserAreaSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_02" + + Test objective + "Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - Event filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/area", + query_parameters containing + subscription_type indicating value "event";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.16.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserAreaSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_BR" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 + } + + // MEC 013, clause 5.3.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/area", + query_parameters containing + subscription_type indicating value "dummy";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.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_MEC013_SRV_UEAREALOOK_002_OK" + + Test objective + "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + allbackReference indicating value CALLBACK_URL; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/area/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_002_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 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/area/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.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/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 00e6fba..2896959 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -1,6 +1,16 @@ /* Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters + +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_MEC013_SRV_UEAREASUB { @@ -13,191 +23,303 @@ Package MEC_MEC013_SRV_UEAREASUB { */ Test Purpose { - TP Id "TP_MEC_MEC013_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 - commanded by a MEC Application and notifies it when the UE enters the specified circle" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.11" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.11 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/area/circle", - body containing - circleNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.11.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" - body containing - circleNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - to the MEC_APP entity - and - // MEC 013, clause 7.3.11.3 - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URL, - body containing - subscriptionNotification containing - terminalLocation containing - address set to IP_ADDRESS - ; - ; - ; - ; - to the MEC_APP entity + Test objective + "Check that the IUT acknowledges the creation of UE area subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/area" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.16.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + userAreaNotification containing + notificationType indicating value "UserAreaNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value any_value, + _links indicating value LINKS;;; + to the MEC_APP entity + } } - } - } + } Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEAREASUB_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_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 013 2.1.1, clause 7.3.11" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.11 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/area/circle", - body containing - circleNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - // Wrong name should trigger an error response. - callback indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.11.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_APP entity + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 + } + + // MEC 013, clause 5.3.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/area" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.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_MEC013_SRV_UEAREASUB_002_OK" - - Test objective - "Check that the IUT acknowledges the cancellation of UE area change notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/area/circle/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_002_OK" + + Test objective + "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + callbackReference indicating value CALLBACK_URL; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/area/{SUBSCRIPTION_ID}" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.6.6 - 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_MEC013_SRV_UEAREASUB_002_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 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/area/{NON_EXISTING_SUBSCRIPTION_ID}" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.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_MEC013_SRV_UEAREASUB_003_OK" + + Test objective + "Check that the IUT acknowledges the cancellation of UE area change notifications when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/area/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.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_MEC013_SRV_UEAREASUB_002_NF" + TP Id "TP_MEC_MEC013_SRV_UEAREASUB_003_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 + "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 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/area/circle/{NON_EXISTING_SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.6 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.17.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 subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/area/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.17.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content"; + to the MEC_APP entity + } } - } + } + + } diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index de69461..793d1e8 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -1,101 +1,203 @@ /* Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters + +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_MEC013_SRV_UEDISTLOOK { - import all from MEC_Common; - - /* - * UE Distance Lookup (UEDISTLOOK) - */ - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_OK" - - Test objective - "Check that the IUT responds with the distance to a UE - when queried by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.9" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.9 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/queries", - query_parameters containing - address indicating value any_value, - latitude indicating value any_value, - longitude indicating value any_value - ; - ; - from the MEC_APP entity + import all from MEC_Common; + + /* + * UE Distance Lookup (UEDISTLOOK) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_OK" + + Test objective + "Check that the IUT responds with the list of UE distance subscriptions to a UE when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.14.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 subscriptions containing + subscriptionType indicating value "UserDistanceSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/distance"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.14.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserDistanceSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.9.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - terminalDistance set to any_value - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_NF" + + Test objective + "Check that the IUT responds with an error when a request with no subscription is sent by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.14.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 not having any UserDistanceSubscription + } + + // MEC 013, clause 5.3.9 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/distance"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.3.9.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_MEC013_SRV_UEDISTLOOK_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 013 2.1.1, clause 7.3.9" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.9 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/queries", - query_parameters containing - address indicating value any_value, - // Wrong name should trigger an error response. - lat indicating value any_value, - longitude indicating value any_value - ; - ; - from the MEC_APP entity + } + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_002_OK" + + Test objective + "Check that the IUT responds with the distance to a UE when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.9", + "ETSI GS MEC 013 3.1.1 Clause 6.4.9", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 subscriptions containing + subscriptionType indicating value "UserDistanceSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/distance/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.14.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userDistanceSubscription containing + subscriptionType indicating value "UserDistanceSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + monitoredAddress indicating value MONITORED_IP_ADDRESS, + distance indicating value any_value, + trackingAccuracy indicating value any_value, + criteria indicating value any_value, + checkImmediate indicating value true;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.9.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_MEC013_SRV_UEDISTLOOK_002_NF" + + Test objective + "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.9", + "ETSI GS MEC 013 3.1.1 Clause 6.4.9", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/distance/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.14.3.1 + 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/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 81f5b2d..6845aff 100644 --- a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -1,206 +1,220 @@ /* Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters + +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_MEC013_SRV_UEDISTSUB { - import all from MEC_Common; - + import all from MEC_Common; + + + /* + * UE Distance Subscribe (UEDISTSUB) + */ + + Test Purpose { + 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 + MEC Application and notifies it when (all) the requested UE(s) is (are) within the specified distance" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.9", + "ETSI GS MEC 013 3.1.1 Clause 6.4.9", + "ETSI GS MEC 013 3.1.1 Clause 7.14.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 + } + + // MEC 013, clause 5.3.10 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/distance", + body containing + userDistanceSubscription containing + subscriptionType indicating value "UserDistanceSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + monitoredAddress indicating value MONITORED_IP_ADDRESS, + distance indicating value any_value, + trackingAccuracy indicating value any_value, + criteria indicating value any_value, + checkImmediate indicating value true;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.14.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userDistanceSubscription containing + subscriptionType indicating value "UserDistanceSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + monitoredAddress indicating value MONITORED_IP_ADDRESS, + distance indicating value any_value, + trackingAccuracy indicating value any_value, + criteria indicating value any_value, + checkImmediate indicating value true;;; + to the MEC_APP entity + // MEC 013, clause 7.14.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + userDistanceNotification containing + subscriptionType indicating value "UserDistanceNotification", + monitoredUsers indicating value any_value, + distanceEvent indicating value any_value, + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_001_BR" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.9", + "ETSI GS MEC 013 3.1.1 Clause 6.4.9", + "ETSI GS MEC 013 3.1.1 Clause 7.14.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 + } + + // MEC 013, clause 5.3.10 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/distance", + body containing + userDistanceSubscription containing + subscriptionType indicating value "UserDistanceSubscription", + clientCorrelator indicating value CLIENT_ID, + monitoredAddress indicating value MONITORED_IP_ADDRESS, + distance indicating value any_value, + trackingAccuracy indicating value any_value, + criteria indicating value any_value, + checkImmediate indicating value true;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.14.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request"; + to the MEC_APP entity + } + } + } - /* - * UE Distance Subscribe (UEDISTSUB) - */ Test Purpose { - 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 - MEC Application and notifies it when (all) the requested UE(s) is (are) within the specified distance" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.10" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.10 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/distance", - body containing - distanceNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - monitoredAddress indicating value MONITORED_IP_ADDRESS, - referenceAddress indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.10.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" - body containing - distanceNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - monitoredAddress indicating value MONITORED_IP_ADDRESS, - referenceAddress indicating value IP_ADDRESS - ; - ; - ; - to the MEC_APP entity - and - // MEC 013, clause 7.3.10.3 - the IUT entity sends a vPOST containing - Uri set to CALLBACK_URL - body containing - subscriptionNotification containing - terminalLocation containing - address set to IP_ADDRESS - ; - ; - ; - ; - to the MEC_APP entity + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_OK" + + Test objective + "Check that the IUT acknowledges the cancellation of UE distance notifications when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.15.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 subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/distance/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.15.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_MEC013_SRV_UEDISTSUB_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 013 2.1.1, clause 7.3.10" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.10 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/distance", - body containing - distanceNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - monitoredAddress indicating value MONITORED_IP_ADDRESS, - // Wrong name should trigger an error response. - reference indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.10.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_APP entity + TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_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 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.15.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 subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID + ; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/distance/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.15.3.5 + 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_MEC013_SRV_UEDISTSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the cancellation of UE distance notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/distance/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.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_MEC013_SRV_UEDISTSUB_002_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 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/distance/{NON_EXISTING_SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.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/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 3b65184..58a8822 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -1,5 +1,5 @@ /* -Copyright (c) ETSI 2018-2023. +Copyright (c) ETSI 201UEINFOLOOK8-2023. 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 @@ -15,148 +15,279 @@ file and shall not imply any sub-license right. Package MEC_MEC013_SRV_UEINFLOOK { - import all from MEC_Common; - - - /* - * UE Information Lookup (UEINFOLOOK) - */ - - Test Purpose { - 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 - when queried by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.3", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserList" - - 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 ue_location containing - address indicating value ACR_SOME_IP - ; - } - - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - address indicating value ACR_SOME_IP - ; - ; - from the MEC_APP entity + import all from MEC_Common; + + + /* + * UE Information Lookup () + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_01" + + Test objective + "Check that the IUT responds with the information pertaining to one or more UEs in a particular location + when queried by a MEC Application - No Filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/users"; + from the MEC_APP entity + } then { + // MEC 013, clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userList set to any_value;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.3 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - userList set to any_value - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_02" + + Test objective + "Check that the IUT responds with the information pertaining to one or more UEs in a particular location + when queried by a MEC Application - Filter with one address" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/users", + query_parameters containing + address indicating value ACR_SOME_IP;; + from the MEC_APP entity + } then { + // MEC 013, clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userList set to any_value;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_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 013 2.1.1, clause 7.3.3", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserList" - - 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 ue_location containing - address indicating value ACR_SOME_IP - ; - } - - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - // Wrong name should trigger an error response. - addr indicating value ACR_SOME_IP - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_03" + + Test objective + "Check that the IUT responds with the information pertaining to one or more UEs in a particular location + when queried by a MEC Application - Filter with several addresses" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + address1 indicating value ACR_SOME_IP, + address2 indicating value ACR_SOME_IP, + address3 indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/users", + query_parameters containing + address2 indicating value ACR_IP_UE2, + address3 indicating value ACR_IP_UE3;; + from the MEC_APP entity + } then { + // MEC 013, clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userList containing + userLocation2, + userLocation3;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.3 - 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_MEC013_SRV_UEINFLOOK_001_OK_04" + + Test objective + "Check that the IUT responds with the information pertaining to one or more UEs in a particular location + when queried by a MEC Application - Filter with several zoneIds" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + zoneId1 indicating value ZONE_ID1, + zoneId2 indicating value ZONE_ID2, + zoneId3 indicating value ZONE_ID3; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/users", + query_parameters containing + zoneId1 indicating value ZONE_ID1, + zoneId3 indicating value ZONE_ID3;; + from the MEC_APP entity + } then { + // MEC 013, clause 7.4.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userList containing + userLocation1, + userLocation3;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_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 013 2.1.1, clause 7.3.3", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserList" - - 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 ue_location containing - address indicating value ACR_SOME_IP - ; - } - - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - address indicating value ACR_UNKNOWN_IP - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_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 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/queries/users", + query_parameters containing + addr indicating value ACR_SOME_IP;; // Wrong name should trigger an error response. + from the MEC_APP entity + } + then { + // MEC 013, 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 + } } - then { - // MEC 013, clause 7.3.3 - 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_MEC013_SRV_UEINFLOOK_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 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.2", + "ETSI GS MEC 013 3.1.1 Clause 6.2.5", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a ue_location containing + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/users", + query_parameters containing + address indicating value ACR_UNKNOWN_IP;; + from the MEC_APP entity + } + then { + // MEC 013, 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 + } } - } - } + } } diff --git a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 deleted file mode 100644 index ac6819b..0000000 --- a/Test Purposes/MEC013/SRV/UEINFOSUB/PlatUeInformationSubscription.tplan2 +++ /dev/null @@ -1,213 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. - -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_MEC013_SRV_UEINFOSUB { - - import all from MEC_Common; - - /* - * UE Information Subscription (UEINFOSUB) - */ - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_001_OK" - - Test objective - "Check that the IUT acknowledges the UE information change subscription request - when commanded by a MEC Application and notifies it when the location changes" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.5", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/zonalTrafficSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.5 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/zonalTraffic" - body containing - zonalTrafficSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - zoneId indicating value ZONE_ID - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.5.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" - body containing - zonalTrafficSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - zoneId indicating value ZONE_ID - ; - ; - ; - to the MEC_APP entity - and - // MEC 013, clause 7.3.5.3 - the IUT entity sends a vPOST containing - Uri set to CALLBACK_URL - body containing - zonalPresenceNotification containing - clientCorrelator set to CLIENT_ID, - zoneId indicating value ZONE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFOSUB_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 013 2.1.1, clause 7.3.5", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/zonalTrafficSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.5 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/zonalTraffic" - body containing - zonalTrafficSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - // Wrong name should trigger an error response. - zone indicating value ZONE_ID - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.5.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_MEC013_SRV_UEINFOSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the cancellation of UE information change notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/zonalTraffic/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.3 - 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_MEC013_SRV_UEINFOSUB_002_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 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/zonalTraffic/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.3 - 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/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index c76d78e..c0dc3d1 100644 --- a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -15,146 +15,452 @@ file and shall not imply any sub-license right. Package MEC_MEC013_SRV_UELOCLOOK { - import all from MEC_Common; - - /* - * UE Location Lookup (UELOCLOOK) - */ - - Test Purpose { - 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 - when queried by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.2", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserInfo" - - 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 ue_location containing - zoneId indicating value ZONE_ID - ; - } - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - zoneId indicating value ZONE_ID - ; - ; - from the MEC_APP entity + import all from MEC_Common; + + /* + * UE Location Lookup (UELOCLOOK) + */ + + Test Purpose { + 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 when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1, clause 5.3.2", + "ETSI GS MEC 013 3.1.1, clause 7.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 IUT entity having a ue_location containing + zoneId indicating value ZONE_ID + ; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_01" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users", + query_parameters containing + subscription_type indicating value "event";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserLocationEventSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_02" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Periodic" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users", + query_parameters containing + subscription_type indicating value "periodic";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserLocationPeriodicSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - userInfo containing - zoneId set to ZONE_ID - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_03" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event and address" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_2;, + subscriptionId indicating value SUBSCRIPTION_ID_2, + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users", + query_parameters containing + subscription_type indicating value "event", + address indicating value ACR_SOME_IP;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "UserLocationEventSubscription";, + resourceURL indicating value LINKS_SELF_2;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_BR" + + Test objective + "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application - Invalid filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users", + query_parameters containing + subscription_type indicating value "dummy";; + from the MEC_APP entity + } + then { + // MEC 013, 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_MEC013_SRV_UELOCLOOK_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 013 2.1.1, clause 7.3.2", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserInfo" - - 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 ue_location containing - zoneId indicating value ZONE_ID - ; - } - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - // Wrong name should trigger an error response. - zone indicating value ZONE_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_NF" + + Test objective + "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.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 IUT entity not having any subscriptions + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users"; + from the MEC_APP entity + } + then { + // MEC 013, 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 + } } - then { - // MEC 013, clause 7.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_MEC013_SRV_UELOCLOOK_003_OK_01" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_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 013 2.1.1, clause 7.3.2", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserInfo" - - 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 ue_location containing - zoneId indicating value NON_EXISTENT_ZONE_ID - ; - } - - // MEC 013, clause 5.3.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "location/v2/users", - query_parameters containing - zoneId indicating value NON_EXISTENT_ZONE_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_02" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Periodoc" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 6.3.5", + "ETSI GS MEC 013 3.1.1 Clause 6.4.5", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userLocationEventSubscription containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.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_MEC013_SRV_UELOCLOOK_003_NF" + + Test objective + "Check that the IUT responds with an error when the non existing subscription is queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 6.3.5", + "ETSI GS MEC 013 3.1.1 Clause 6.4.5", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/users/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, 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 + } } - } - } + } + + } diff --git a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index 31f0afa..c9f9c37 100644 --- a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -15,200 +15,545 @@ file and shall not imply any sub-license right. Package MEC_MEC013_SRV_UELOCSUB { - import all from MEC_Common; - - /* - * UE Location Subscription (UELOCSUB) - */ - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK" - - Test objective - "Check that the IUT acknowledges the UE location change subscription request - when commanded by a MEC Application and notifies it when the location changes" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.4", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserTrackingSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/userTracking" - body containing - userTrackingSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity + import all from MEC_Common; + + /* + * UE Information Subscription (UELOCSUB) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK_01" + + Test objective + "Check that the IUT acknowledges the subscription by a MEC Application to notifications user location event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.5.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 + } + + // MEC 013, clause 5.3.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + userLocationEventNotification containing + notificationType indicating value "UserLocationEventNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value any_value, + zoneId indicating value ZONE_ID, + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK_02" + + Test objective + "Check that the IUT acknowledges the subscription by a MEC Application to notifications user location periodic" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.5", + "ETSI GS MEC 013 3.1.1 Clause 6.4.5", + "ETSI GS MEC 013 3.1.1 Clause 7.5.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 + } + + // MEC 013, clause 5.3.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + userLocationPeriodicNotification containing + notificationType indicating value "UserLocationPeriodicNotification", + address indicating value ACR_SOME_IP, + result indicating value SUCCESS, + _links indicating value LINKS, + locationInfo indicating value any_value, + zoneId indicating value ZONE_ID, + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_BR_01" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.5.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 + } + + // MEC 013, clause 5.3.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request"; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.4.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" - body containing - userTrackingSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - to the MEC_APP entity - and - // MEC 013, clause 7.3.4.3 - the IUT entity sends a vPOST containing - Uri set to CALLBACK_URL - body containing - zonalPresenceNotification containing - clientCorrelator set to CLIENT_ID, - address set to IP_ADDRESS - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_BR_02" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.5", + "ETSI GS MEC 013 3.1.1 Clause 6.4.5", + "ETSI GS MEC 013 3.1.1 Clause 7.5.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 + } + + // MEC 013, clause 5.3.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.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_MEC013_SRV_UELOCSUB_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 013 2.1.1, clause 7.3.4", - "https://forge.etsi.org/gitlab/mec/gs013-location-api/blob/master/LocationAPI.yaml#/definitions/UserTrackingSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 013, clause 5.3.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/userTracking" - body containing - userTrackingSubscription containing - // Wrong name should trigger an error response. - client indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_OK" + + Test objective + "Check that the IUT acknowledges the cancellation of UE information change notifications when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/users/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.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_MEC013_SRV_UELOCSUB_002_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 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 subscriptions containing + subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/users/{NON_EXISTENT_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } then { + // MEC 013, clause 7.3.6.3 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.4.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_MEC013_SRV_UELOCSUB_003_OK_01" + + Test objective + "Check that the IUT acknowledges a request to modify an existing subscription by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/users/{SUBSCRIPTION_ID}" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the cancellation of UE location change notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/userTracking/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_OK_02" + + Test objective + "Check that the IUT acknowledges a request to modify an existing subscription by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.5", + "ETSI GS MEC 013 3.1.1 Clause 6.4.5", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.6.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_MEC013_SRV_UELOCSUB_003_BR_01" + + Test objective + "Check that the IUT responds with an error when received an inconsistent request" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationPeriodicSubscription containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + address indicating value ACR_SOME_IP, + periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.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_MEC013_SRV_UELOCSUB_002_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 013 2.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/userTracking/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_BR_02" + + Test objective + "Check that the IUT responds with an error when received an inconsistent request" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationPeriodicSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/users/{SUBSCRIPTION_ID}" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request"; + to the MEC_APP entity + } } - then { - // MEC 013, clause 7.3.6.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_MEC013_SRV_UELOCSUB_003_NF" + + Test objective + "Check that the IUT acknowledges a request to modify a not existing subscription by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.4", + "ETSI GS MEC 013 3.1.1 Clause 7.6.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 IUT entity having a subscriptions containing + subscriptionType indicating value "UserLocationEventSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/users/{NON_EXISTENT_SUBSCRIPTION_ID}" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.6.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/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 index 222da22..524723e 100644 --- a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 @@ -30,7 +30,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { "Check that the IUT acknowledges the UE location change subscription request when commanded by a MEC Application and notifies it when the UE changes location" - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.4" + Reference "ETSI GS MEC 013 3.1.1, clause 7.3.4" Config Id Config_MEC_1 @@ -45,7 +45,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/periodic" + uri indicating value "location/v3/subscriptions/periodic" body containing periodicNotificationSubscription containing clientCorrelator indicating value CLIENT_ID, @@ -94,7 +94,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.4" + Reference "ETSI GS MEC 013 3.1.1, clause 7.3.4" Config Id Config_MEC_1 @@ -109,7 +109,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "location/v2/subscriptions/periodic" + uri indicating value "location/v3/subscriptions/periodic" body containing periodicNotificationSubscription containing // Wrong name should trigger an error response. @@ -139,7 +139,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { "Check that the IUT acknowledges the cancellation of UE tracking notifications when commanded by a MEC Application" - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" + Reference "ETSI GS MEC 013 3.1.1, clause 7.3.6" Config Id Config_MEC_1 @@ -157,7 +157,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/periodic/{SUBSCRIPTION_ID}" + uri indicating value "location/v3/subscriptions/periodic/{SUBSCRIPTION_ID}" ; from the MEC_APP entity } @@ -180,7 +180,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 013 2.1.1, clause 7.3.6" + Reference "ETSI GS MEC 013 3.1.1, clause 7.3.6" Config Id Config_MEC_1 @@ -198,7 +198,7 @@ Package MEC_MEC013_SRV_UETRACKSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "location/v2/subscriptions/periodic/{NON_EXISTENT_SUBSCRIPTION_ID}" + uri indicating value "location/v3/subscriptions/periodic/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the MEC_APP entity } -- GitLab From 6079a3272c25ce0ac472d53944d175e31a015e21 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 4 Apr 2023 11:45:11 +0200 Subject: [PATCH 22/70] MEC013 TPs review - Step 2 --- .../SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 | 28 +- .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 10 +- .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 24 +- .../SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 | 471 ++++++++++++++++++ .../UEZONESUB/PlatUeZoneSubscription.tplan2 | 440 ++++++++++++++++ 5 files changed, 942 insertions(+), 31 deletions(-) create mode 100644 Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 create mode 100644 Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 diff --git a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 index 7ceac5d..eae4e7a 100644 --- a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 @@ -39,11 +39,11 @@ Package MEC_MEC013_SRV_UEAREALOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionType indicating value "UserAreaSubscription", - subscriptionId indicating value SUBSCRIPTION_ID, - _links containing - self indicating value LINKS_SELF;; + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserAreaSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; } // MEC 013, clause 5.3.2 @@ -87,10 +87,10 @@ Package MEC_MEC013_SRV_UEAREALOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID, - _links containing - self indicating value LINKS_SELF;; + the IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; } // MEC 013, clause 5.3.2 @@ -176,9 +176,9 @@ Package MEC_MEC013_SRV_UEAREALOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID, - allbackReference indicating value CALLBACK_URL; + the IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + allbackReference indicating value CALLBACK_URL; } Expected behaviour @@ -226,8 +226,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity not having a subscriptions containing - subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + the IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; } Expected behaviour diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 2896959..d9779ff 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -152,9 +152,9 @@ Package MEC_MEC013_SRV_UEAREASUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID, - callbackReference indicating value CALLBACK_URL; + the IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + callbackReference indicating value CALLBACK_URL; } Expected behaviour @@ -211,8 +211,8 @@ Package MEC_MEC013_SRV_UEAREASUB { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity not having a subscriptions containing - subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + the IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; } Expected behaviour diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 793d1e8..06f6970 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -38,11 +38,11 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionType indicating value "UserDistanceSubscription", - subscriptionId indicating value SUBSCRIPTION_ID, - _links containing - self indicating value LINKS_SELF;; + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserDistanceSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; } // MEC 013, clause 5.3.2 @@ -124,11 +124,11 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a subscriptions containing - subscriptionType indicating value "UserDistanceSubscription", - subscriptionId indicating value SUBSCRIPTION_ID, - _links containing - self indicating value LINKS_SELF;; + the IUT entity having a subscriptions containing + subscriptionType indicating value "UserDistanceSubscription", + subscriptionId indicating value SUBSCRIPTION_ID, + _links containing + self indicating value LINKS_SELF;; } // MEC 013, clause 5.3.2 @@ -178,8 +178,8 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity not having a subscriptions containing - subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + the IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; } // MEC 013, clause 5.3.2 diff --git a/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 new file mode 100644 index 0000000..be17dc4 --- /dev/null +++ b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 @@ -0,0 +1,471 @@ +/* +Copyright (c) ETSI 2018-2023. + +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_MEC013_SRV_UEZONELOOK { + + import all from MEC_Common; + + + /* + * UE Area Subscribe (UEZONELOOK) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_001_OK_01" + + Test objective + "Check that the IUT responds with a list zones when queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 ue_location containing + zoneId indicating value ZONE_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_01" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - Zone location Event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneStatusSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones", + query_parameters containing + subscription_type indicating value "event";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "ZoneLocationEventSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_02" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - Zone Status" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 subscriptions containing + subscriptionType indicating value "ZoneStatusSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones", + query_parameters containing + subscription_type indicating value "status";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "ZoneStatusSubscription";, + resourceURL indicating value LINKS_SELF;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_03" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event and address" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_2;, + subscriptionId indicating value SUBSCRIPTION_ID_2, + address indicating value ACR_SOME_IP; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones", + query_parameters containing + subscription_type indicating value "event", + address indicating value ACR_SOME_IP;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + notificationSubscriptionList containing + subscription containing + href indicating value any_value, + subscriptionType indicating value "ZoneLocationEventSubscription";, + resourceURL indicating value LINKS_SELF_2;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_BR" + + Test objective + "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application - Invalid filter" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones", + query_parameters containing + subscription_type indicating value "dummy";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.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_MEC013_SRV_UEZONELOOK_002_NF" + + Test objective + "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.2", + "ETSI GS MEC 013 3.1.1 Clause 6.3.3", + "ETSI GS MEC 013 3.1.1 Clause 7.11.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 not having any subscriptions + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.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_MEC013_SRV_UEZONELOOK_003_OK_01" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - Zone location Event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneStatusSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones/{SUBSCRIPTION_ID}", + query_parameters containing + subscription_type indicating value "event";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF;;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_003_OK_02" + + Test objective + "Check that the IUT responds with the subscription when queried by a MEC Application - Zone status Event" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 subscriptions containing + subscriptionType indicating value "ZoneStatusSubscription", + _links containing + self indicating value LINKS_SELF;, + subscriptionId indicating value SUBSCRIPTION_ID; and + the IUT entity having a subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + _links containing + self indicating value LINKS_SELF_1;, + subscriptionId indicating value SUBSCRIPTION_ID_1; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones/{SUBSCRIPTION_ID}", + query_parameters containing + subscription_type indicating value "event";; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.3.1 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + _links containing + self indicating value LINKS_SELF;;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_003_NF" + + Test objective + "Check that the IUT responds with an error when the non existing subscription is queried by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 subscriptions containing + subscriptionType indicating value "ZoneLocationEventSubscription", + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "location/v3/subscriptions/zones/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.3.1 + 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/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 new file mode 100644 index 0000000..2b43ef0 --- /dev/null +++ b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 @@ -0,0 +1,440 @@ +/* +Copyright (c) ETSI 2018-2023. + +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_MEC013_SRV_UEZONESUB { + + import all from MEC_Common; + + + /* + * UE Area Subscribe (UEZONESUB) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_01" + + Test objective + "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/zones" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + zoneLocationEventNotification containing + notificationType indicating value "ZoneLocationEventNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value any_value, + _links indicating value LINKS, + zoneId indicating value ZONE_ID;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02" + + Test objective + "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.4.7", + "ETSI GS MEC 013 3.1.1 Clause 7.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/zones" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + zoneId indicating value ZONE_ID, + operationStatus indicating value OPER_STATUS;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + operationStatus indicating value OPER_STATUS;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + zoneStatusNotification containing + notificationType indicating value "ZoneStatusNotification", + address indicating value ACR_SOME_IP, + operationStatus indicating value OPER_STATUS, + zoneId indicating value ZONE_ID, + accessPointId indicating value any_value, + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_BR" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.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 + } + + // MEC 013, clause 5.3.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/zones" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.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_MEC013_SRV_UEZONESUB_002_OK_01" + + Test objective + "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 IUT entity having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID, + callbackReference indicating value CALLBACK_URL; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/zones/{SUBSCRIPTION_ID}" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_002_OK_02" + + Test objective + "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.4.7", + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/zones" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + operationStatus indicating value OPER_STATUS;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + operationStatus indicating value OPER_STATUS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_002_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 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.12.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 IUT entity not having a subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "location/v3/subscriptions/zones/{NON_EXISTING_SUBSCRIPTION_ID}" + body containing + zoneLocationEventSubscription containing + subscriptionType indicating value "ZoneLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value NEW_CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + addressList containing + address indicating value ACR_SOME_IP;;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.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_MEC013_SRV_UEZONESUB_003_OK" + + Test objective + "Check that the IUT acknowledges the cancellation of UE area change notifications when commanded by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.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 having a subscriptions containing + subscriptionId indicating value SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/zones/{SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.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_MEC013_SRV_UEZONESUB_003_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 013 3.1.1 Clause 5.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.3.6", + "ETSI GS MEC 013 3.1.1 Clause 6.4.6", + "ETSI GS MEC 013 3.1.1 Clause 7.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 subscriptions containing + subscriptionId indicating value NON_EXISTING_SUBSCRIPTION_ID; + } + + // MEC 013, clause 5.3.6 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "location/v3/subscriptions/zones/{NON_EXISTING_SUBSCRIPTION_ID}"; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.12.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "204 No Content"; + to the MEC_APP entity + } + } + } + + +} -- GitLab From d14cadf78062e22743e588cccd841a3c5bff9ec4 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 4 Apr 2023 12:53:13 +0200 Subject: [PATCH 23/70] MEC013 TPs: Add UETESTNOT for notification tests --- .../UETESTNOT/PlatUeTestSubscription.tplan2 | 155 +++++++++++++ .../PlatUeTrackingSubscription.tplan2 | 214 ------------------ .../UEZONESUB/PlatUeZoneSubscription.tplan2 | 71 +++++- 3 files changed, 224 insertions(+), 216 deletions(-) create mode 100644 Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 delete mode 100644 Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 diff --git a/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 new file mode 100644 index 0000000..a0e439d --- /dev/null +++ b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 @@ -0,0 +1,155 @@ +/* +Copyright (c) ETSI 2018-2023. + +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_MEC013_SRV_UELOCSUB { + + import all from MEC_Common; + + /* + * UE Information Subscription (UETESTNOT) + */ + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UETESTNOT_001_OK" + + Test objective + "Check that the IUT provides a test notification when requested by a MEC Application" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.3.4", + "ETSI GS MEC 013 3.1.1 Clause 6.4.3", + "ETSI GS MEC 013 3.1.1 Clause 7.5.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 + } + + // MEC 013, clause 5.3.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/users" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.5.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userLocationEventSubscription containing + subscriptionType indicating value "UserLocationEventSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, // FIXME: To be confirmed + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + testNotification containing + notificationType indicating value "TestNotification", + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UETESTNOT_002_OK" + + Test objective + "Check that the IUT terminates notifications after time expiration" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.8", + "ETSI GS MEC 013 3.1.1 Clause 6.4.8", + "ETSI GS MEC 013 3.1.1 Clause 7.16.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/area" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD, + expiryDeadline indicating value EXPIRY_DEADLINE;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.16.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userAreaSubscription containing + subscriptionType indicating value "UserAreaSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + areaDefine indicating value AREA, + addressList containing + address indicating value ACR_SOME_IP;, + trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD, + expiryDeadline indicating value EXPIRY_DEADLINE;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + userAreaNotification containing + notificationType indicating value "UserAreaNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value any_value, + _links indicating value LINKS;;; + to the MEC_APP entity + and the IUT entity not sendsa vPOST after expiry_notification_event + } + } + } + + +} diff --git a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 deleted file mode 100644 index 524723e..0000000 --- a/Test Purposes/MEC013/SRV/UETRACKSUB/PlatUeTrackingSubscription.tplan2 +++ /dev/null @@ -1,214 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. - -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_MEC013_SRV_UETRACKSUB { - - import all from MEC_Common; - - - /* - * UE Tracking Subscribe (UETRACKSUB) - */ - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_001_OK" - - Test objective - "Check that the IUT acknowledges the UE location change subscription request - when commanded by a MEC Application and notifies it when the UE changes location" - - Reference "ETSI GS MEC 013 3.1.1, clause 7.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 - } - - // MEC 013, clause 5.3.8 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v3/subscriptions/periodic" - body containing - periodicNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.8.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created" - body containing - periodicNotificationSubscription containing - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - to the MEC_APP entity - and - // MEC 013, clause 7.3.8.3 - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URL - body containing - subscriptionNotification containing - terminalLocation containing - address set to IP_ADDRESS - ; - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UETRACKSUB_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 013 3.1.1, clause 7.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 - } - - // MEC 013, clause 5.3.8 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "location/v3/subscriptions/periodic" - body containing - periodicNotificationSubscription containing - // Wrong name should trigger an error response. - client indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - address indicating value IP_ADDRESS - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.8.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_MEC013_SRV_UETRACKSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the cancellation of UE tracking notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 013 3.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v3/subscriptions/periodic/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.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_MEC013_SRV_UETRACKSUB_002_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 013 3.1.1, clause 7.3.6" - - 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 subscriptions containing - subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - // MEC 013, clause 5.3.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "location/v3/subscriptions/periodic/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 013, clause 7.3.6.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/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 index 2b43ef0..0dd9afb 100644 --- a/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 @@ -89,10 +89,10 @@ Package MEC_MEC013_SRV_UEZONESUB { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02" + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02_01" Test objective - "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application - OperationStatus constraint" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -153,6 +153,73 @@ Package MEC_MEC013_SRV_UEZONESUB { } + Test Purpose { + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02_02" + + Test objective + "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application - UserNumEvent constraint" + + Reference + "ETSI GS MEC 013 3.1.1 Clause 5.3.11", + "ETSI GS MEC 013 3.1.1 Clause 6.3.7", + "ETSI GS MEC 013 3.1.1 Clause 6.4.7", + "ETSI GS MEC 013 3.1.1 Clause 7.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 + } + + // MEC 013, clause 5.3.11 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "location/v3/subscriptions/zones" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + zoneId indicating value ZONE_ID, + upperNumberOfUser indicating value UPPER_NUM_USER_THRESHOLD, + lowerNumberOfUser indicating value LOWER_NUM_USER_THRESHOLD;;; + from the MEC_APP entity + } + then { + // MEC 013, clause 7.11.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + zoneStatusSubscription containing + subscriptionType indicating value "ZoneStatusSubscription", + clientCorrelator indicating value CLIENT_ID, + callbackReference indicating value CALLBACK_URL, + _links indicating value LINKS, + zoneId indicating value ZONE_ID, + upperNumberOfUser indicating value UPPER_NUM_USER_THRESHOLD, + lowerNumberOfUser indicating value LOWER_NUM_USER_THRESHOLD;;; + to the MEC_APP entity + // MEC 013, clause 5.3.4 + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + zoneStatusNotification containing + notificationType indicating value "ZoneStatusNotification", + address indicating value ACR_SOME_IP, + userNumEvent indicating value any_value, + zoneId indicating value ZONE_ID, + accessPointId indicating value any_value, + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + Test Purpose { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_BR" -- GitLab From 060c8fad181c3235f924b4a2464e007917c28d35 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 18 Apr 2023 15:05:32 +0200 Subject: [PATCH 24/70] TTF T024: Review MEC 015 --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 1539 ++++++------- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 1941 +++++++++-------- 2 files changed, 1820 insertions(+), 1660 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index f1ad519..b92e53b 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -5,755 +5,832 @@ Released under BSD 3-clause license. For more information visit https://forge.et Package MEC_MEC015_SRV_MTS { - import all from MEC_Common; - - - Test Purpose { - 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", - "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 mtsCapabilityInfo - } - - // 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_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", - "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 - 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 - appInsId 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 "200 OK" - body containing - 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 mtsSessionInfo 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. - appInsId 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 mtsSessionInfo 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 - appInsId 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 "404 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 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" - - 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 - 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 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, - 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 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" - - 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, // FLOW_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 MTS_SESSION_ID, // MEC 015 Table 9.5.3.2-2 - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value FLOW_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/v1/mts_sessions", // Invalid version number - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - 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" - ; - ; - ; - from the MEC_APP entity + import all from MEC_Common; + + + Test Purpose { + 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 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.4", + "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 mtsCapabilityInfo + } + + // MEC 015 Clause 7.2.4 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v1/mts_capability_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 + } } - 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_002_OK_01" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application - none" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 several mtsSessionInfo + } + + // 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"; + 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 + mtsSessionInfoList;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_004_OK" - - Test objective - "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", - "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 an mtsSessionInfo containing - sessionId indicating value MTS_SESSION_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 - sessionId indicating value MTS_SESSION_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_002_OK_02" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application - app_instance_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 mtsSessionInfo 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_instance_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 "200 OK" + body containing + mtsSessionInfoList containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID;;;; + to 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 - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - 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_002_OK_03" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application - app_name" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + appName indicating value APP_NAME; + } + + // 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_name indicating value APP_NAME;; + 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 + mtsSessionInfoList containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + appName indicating value APP_NAME;;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_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 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 - - 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 - sessionId indicating value MTS_SESSION_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. - sessionId indicating value MTS_SESSION_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_002_OK_04" + + Test objective + "Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application - session_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + sessionId indicating value SESSION_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 + session_id indicating value SESSION_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 "200 OK" + body containing + mtsSessionInfoList containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + session_id indicating value SESSION_ID;;;; + to 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_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 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 mtsSessionInfo 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 + appInsId indicating value APP_INSTANCE_ID;; // appInstId instead of app_instace_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_004_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", - "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 an mtsSessionInfo containing - sessionId indicating value MTS_SESSION_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 - sessionId indicating value MTS_UNKNOWN_SESSION_ID - ; - ; - from 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 6.2.6", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 mtsSessionInfo 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_instance_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 "404 Not Found"; + to 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_MEC015_SRV_MTS_003_OK_01" + + Test objective + "Check that the IUT creates a MTS session when queried by a MEC Application" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.7", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 APPLICATION_SPECIFIC_MTS_ALLOCATION, + 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 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, + 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_005_OK" - - Test objective - "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.4.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 mtsSessionInfo containing - sessionId indicating value MTS_SESSION_ID - ; - } - - // MEC 015 Clause 7.2.5 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - 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, - requestType indicating value 0, // APPLICATION_SPECIFIC_MTS_ALLOCATION - qosD indicating value SOME_NEW_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_003_OK_02" + + Test objective + "Check that the IUT creates a MTS session when queried by a MEC Application" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.7", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 FLOW_SPECIFIC_MTS_ALLOCATION, + flowFilter indicating value FLOW_FILTER, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value 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 MTS_SESSION_ID, // MEC 015 Table 9.5.3.2-2 + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value FLOW_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 + } } - 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 - 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_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 6.2.7", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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", // Invalid version number + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 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";;; + 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 + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_MTS_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 9.4.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 mtsSessionInfo containing - sessionId indicating value MTS_SESSION_ID - ; - } - - // MEC 015 Clause 7.2.5 - Expected behaviour - ensure that { - when { - 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 indicating value MTS_SESSION_ID, - body containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID, - 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_NEW_ALLOCATION, - mtsMode indicating value LOW_COST, - trafficDirection indicating value "00" - ; - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_004_OK" + + Test objective + "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 6.2.10", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 + sessionId indicating value MTS_SESSION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00"; + } + + // 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/{MTS_SESSION_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 + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00";;; + to 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_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 015 V2.1.1, clause 6.2.10", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 + sessionId indicating value MTS_SESSION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00"; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mts/v0/mts_sessions/{MTS_SESSION_ID}"; // v0 instead of v1 + 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_MEC015_SRV_MTS_005_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.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 mtsSessionInfo containing - sessionId indicating value MTS_SESSION_ID - ; - } - - // MEC 015 Clause 7.2.5 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - 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, - 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" - ; - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_004_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 6.2.10", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "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 + sessionId indicating value MTS_SESSION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + qosD indicating value SOME_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00"; + } + + // 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/{MTS_UNKNOWN_SESSION_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 + } } - then { - // MEC 015 Clause 8.3.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_MEC015_SRV_MTS_005_OK" + + Test objective + "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 6.2.9", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "ETSI GS MEC 015 V2.1.1, clause 9.4.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 mtsSessionInfo containing + sessionId indicating value MTS_SESSION_ID; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{MTS_SESSION_ID}", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_MTS_ALLOCATION, + qosD indicating value SOME_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00";;; + 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 APPLICATION_SPECIFIC_MTS_ALLOCATION, + 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 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/{sessionId}", - query_parameters containing - sessionId indicating value MTS_SESSION_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_MTS_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 6.2.9", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "ETSI GS MEC 015 V2.1.1, clause 9.4.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 mtsSessionInfo containing + sessionId indicating value MTS_SESSION_ID; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{MTS_SESSION_ID}", + body containing + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value 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_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00";;; + 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 + } } - then { - // MEC 015 Clause 8.3.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_MEC015_SRV_MTS_005_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 6.2.9", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "ETSI GS MEC 015 V2.1.1, clause 9.4.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 mtsSessionInfo containing + sessionId indicating value MTS_SESSION_ID; + } + + // MEC 015 Clause 7.2.5 + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "mts/v1/mts_sessions/{MTS_UNKNOWN_SESSION_ID}", + 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_NEW_ALLOCATION, + mtsMode indicating value LOW_COST, + trafficDirection indicating value "00";;; + 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"; + 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 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/{sessionId}", - query_parameters containing - sessionId indicating value MTS_UNKNOWN_SESSION_ID - ; - ; - from 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 6.2.8", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "ETSI GS MEC 015 V2.1.1, clause 9.4.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 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/{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 "204 No Content"; + to 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" - ; - 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 6.2.8", + "ETSI GS MEC 015 V2.1.1, clause 7.2.5", + "ETSI GS MEC 015 V2.1.1, clause 9.4.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 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/{MTS_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"; + to the MEC_APP entity + } } - } - } + } } diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index a52fbe5..b00144e 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -5,958 +5,1041 @@ Released under BSD 3-clause license. For more information visit https://forge.et Package MEC_MEC015_SRV_TM { - import all from MEC_Common; - - - /* - * Bandwidth Allocations (BWA) - */ - - Test Purpose { - 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", - "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 oneOrmore bwInfo - } - - // 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_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", - "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 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_instance_id indicating value APP_INSTANCE_ID - ; - ; - 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 - appInsId set to APP_INSTANCE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - 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", - "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 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 - // Wrong parameter name should trigger an error response. - appInsId indicating value APP_INSTANCE_ID - ; - ; - 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 "400 Bad Request" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - 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", - "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 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 - appInsId 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_MEC015_SRV_TM_003_OK_01" - - Test objective - "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" - - 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 - 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 + import all from MEC_Common; + + /* + * Bandwidth Allocations (BWA) + */ + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_001_OK_01" + + Test objective + "Check that the IUT responds with the list of configured bandwidth allocations when queried by a MEC Application - none" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 several bwInfo + } + + // 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;; + to 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 BW_ALLOCATION_ID, - 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_MEC015_SRV_TM_001_OK_02" + + Test objective + "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - app_instance_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 { + the IUT entity receives a vGET containing + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + app_instance_id indicating value APP_INSTANCE_ID;; + 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 + bwInfo containing + appInsId set to APP_INSTANCE_ID;;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC015_SRV_TM_003_OK_02" - - Test objective - "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" - - 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_001_OK_03" + + Test objective + "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - app_name" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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, + appName indicating value APP_NAME; + } + + // 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_name indicating value APP_NAME;; + 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 + bwInfo containing + appInsId set to APP_INSTANCE_ID, + appName indicating value APP_NAME;;;; + to 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 indicating value BW_ALLOCATION_ID, - 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_MEC015_SRV_TM_001_OK_04" + + Test objective + "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - session_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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, + sessionId indicating value APP_SESSION_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 + session_id indicating value APP_SESSION_ID;; + 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 + bwInfo containing + appInsId set to APP_INSTANCE_ID, + appName indicating value APP_NAME;;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - 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", - "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 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_001_BR" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - app_instance_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 { + the IUT entity receives a vGET containing + uri indicating value "bwm/v1/bw_allocations", + query_parameters containing + appInsId indicating value APP_INSTANCE_ID;; // appInsId instead of app_instance_id + 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 "400 Bad Request"; + to 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_MEC015_SRV_TM_001_NF_01" + + 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 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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, + appName indicating value APP_NAME; + } + + // 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 + appInsId 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_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", - "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 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_001_NF_02" + + Test objective + "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - app_name" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + appName indicating value APP_NAME; + } + + // 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_name indicating value APP_UNKNOWN_APP_NAME;; + 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 + } } - 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_MEC015_SRV_TM_001_NF_03" + + Test objective + "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - session_id" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + appName indicating value APP_NAME, + sessionId indicating value SESSION_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 + session_id indicating value APP_UNKNOWN_SESSION_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_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", - "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 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 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_002_OK" + + Test objective + "Check that the IUT acknowledges a creation of a bandwidthAllocation resource" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.2", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + 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 6.2.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created", + Location set to BW_ALLOCATION_ID, + 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 + } } - 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_MEC015_SRV_TM_002_BR_01" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.2", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + bwInfo 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_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", - "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 6.2.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_002_BR_02" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application -sessionFilter shall be present" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.2", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + bwInfo 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 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request"; + to 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 - bwInfo containing - appInsId set to APP_INSTANCE_ID - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_003_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 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + allocationId indicating value ALLOCATION_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/{BW_ALLOCATION_ID}"; + 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 + bwInfo containing + appInsId set to APP_INSTANCE_ID;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - 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", - "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 6.2.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters containing - allocationId indicating value BW_UNKNOWN_ALLOCATION_ID - ; - ; - from the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_003_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 6.2.5", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "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 + allocationId indicating value ALLOCATION_ID; + } + + // MEC 015 Clause 6.2.2 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "bwm/v1/bw_allocations/{BW_UNKNOWN_ALLOCATION_ID}"; + 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 "404 Not Found"; + to the MEC_APP entity + } } - then { - // MEC 015 Clause 8.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_MEC015_SRV_TM_004_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 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 bwInfo 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/{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 + } + then { + // MEC 015 Clause 8.3.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "200 OK" + body containing + bwInfo containing + appInsId set to APP_INSTANCE_ID, + fixedAllocation set to SOME_ALLOCATION, + allocationDirection set to SOME_DIRECTION;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - 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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_004_BR_01" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 bwInfo containing + allocationId indicating value ALLOCATION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit; + } + + // 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/{BW_ALLOCATION_ID}", + body containing + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value SESSION_FILTER_VALUE;;; + 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 + } } - then { - // MEC 015 Clause 8.3.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - bwInfo containing - appInsId set to APP_INSTANCE_ID, - fixedAllocation set to SOME_ALLOCATION, - allocationDirection set to SOME_DIRECTION - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_004_BR_02" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 bwInfo containing + allocationId indicating value ALLOCATION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value SESSION_FILTER_VALUE; + } + + // 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/{BW_ALLOCATION_ID}", + body containing + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit;;; + 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_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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - 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 + } + + + Test Purpose { + 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 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 bwInfo 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/{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 + } + then { + // MEC 015 Clause 8.3.3.2 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to 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_TM_005_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 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo containing + allocationId indicating value ALLOCATION_ID, + fixedAllocation indicating value SOME_ALLOCATION, + allocationDirection indicating value SOME_DIRECTION; + } + + // 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/{BW_ALLOCATION_ID}", + body containing + bwInfoDeltas containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value NEW_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 "200 OK" + body containing + bwInfo containing + appInsId set to APP_INSTANCE_ID, + fixedAllocation set to NEW_ALLOCATION, + allocationDirection set to SOME_DIRECTION;;; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - 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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - 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 + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_005_BR_01" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo containing + allocationId indicating value ALLOCATION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit; + } + + // 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/{BW_ALLOCATION_ID}", + body containing + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value APPLICATION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value SESSION_FILTER_VALUE;;; + 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 "400 Bad Request"; + to 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" - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_005_BR_02" + + Test objective + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" + + Reference + "ETSI GS MEC 015 V2.1.1, clause 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo containing + allocationId indicating value ALLOCATION_ID, + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value SESSION_FILTER_VALUE; + } + + // 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/{BW_ALLOCATION_ID}", + body containing + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + requestType indicating value SESSION_SPECIFIC_BW_ALLOCATION, + sessionFilter indicating value omit;;; + 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 "400 Bad Request"; + to the MEC_APP entity + } } - } - } - - - Test Purpose { - 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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - 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 + } + + + Test Purpose { + 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 6.2.4", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo 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/{BW_UNKNOWN_ALLOCATION_ID}", + body containing + bwInfo containing + appInsId indicating value APP_INSTANCE_ID, + fixedAllocation indicating value NEW_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 "404 Not Found"; + to the MEC_APP entity + } } - then { - // MEC 015 Clause 8.3.3.3 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - bwInfo containing - appInsId set to APP_INSTANCE_ID, - fixedAllocation set to SOME_ALLOCATION, - allocationDirection set to SOME_DIRECTION - ; - ; - ; - to the MEC_APP entity + } + + + Test Purpose { + TP Id "TP_MEC_MEC015_SRV_TM_006_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 6.2.3", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo containing + allocationId indicating value ALLOCATION_ID; + } + + // MEC 015 Clause 6.2.3 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "bwm/v1/bw_allocations/{BW_UNKNOWN_ALLOCATION_ID}"; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.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_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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters containing - allocationId indicating value BW_ALLOCATION_ID, - body containing - 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 - 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_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", - "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 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - 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 - } - then { - // MEC 015 Clause 8.3.3.3 - 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_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", - "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 allocation_instance containing - allocationId indicating value BW_ALLOCATION_ID - ; - } - - // MEC 015 Clause 6.2.3 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters containing - allocationId indicating value BW_UNKNOWN_ALLOCATION_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 8.3.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_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", - "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 not having a allocation_instance containing - allocationId indicating value BW_ALLOCATION_ID - ; - } - - // MEC 015 Clause 6.2.3 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations/{allocationId}", - query_parameters containing - allocationId indicating value BW_UNKNOWN_ALLOCATION_ID - ; - ; - from the MEC_APP entity - } - then { - // MEC 015 Clause 8.3.3.5 - 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_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 6.2.3", + "ETSI GS MEC 015 V2.1.1, clause 7.2.2", + "ETSI GS MEC 015 V2.1.1, clause 8.3.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 MEC_APP entity having a bwInfo containing + allocationId indicating value ALLOCATION_ID; + } + + // MEC 015 Clause 6.2.3 + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "bwm/v1/bw_allocations/{BW_UNKNOWN_ALLOCATION_ID}"; + from the MEC_APP entity + } + then { + // MEC 015 Clause 8.3.3.5 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "404 Not Found"; + to the MEC_APP entity + } } - } - } + } } -- GitLab From 61046c48a1c52ac8f9ac0c35a8b0806bf9dec547 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Wed, 7 Jun 2023 07:32:23 +0200 Subject: [PATCH 25/70] MEC011: Bug fixed in version API; Restore _PF TPs; Remove links to OpenAPI files --- .../MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 61 +++++++------------ .../SRV/APPSUB/PlatAppSubscriptions.tplan2 | 21 +++---- .../MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 | 12 ++-- .../MEC011/SRV/DNS/PlatDnsRules.tplan2 | 24 +++----- Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 | 18 ++---- .../SRV/REGAPPS/RegisterAppsServices.tplan2 | 45 +++++--------- .../MEC011/SRV/SAQ/PlatServices.tplan2 | 20 +++--- .../SRV/SRVSUB/PlatSrvSubscriptions.tplan2 | 40 +++++------- .../MEC011/SRV/TIME/PlatTiming.tplan2 | 6 +- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 21 +++---- .../MEC011/SRV/TRANS/PlatTransport.tplan2 | 5 +- 11 files changed, 98 insertions(+), 175 deletions(-) diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index 78029fd..eb93bb2 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -20,8 +20,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1" Config Id Config_MEC_1 @@ -38,7 +37,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services"; from the MEC_APP entity } then { @@ -62,8 +61,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.1" Config Id Config_MEC_1 @@ -80,7 +78,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services" + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services" query_parameters containing instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity @@ -104,8 +102,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PIC_NOTIFICATIONS @@ -123,7 +120,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing serName indicating value SERVICE_NAME;;; @@ -160,8 +157,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -180,7 +176,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services", body containing ServiceInfo containing Name indicating value SERVICE_NAME;;; // Wrong parameter name should trigger an error response. @@ -205,8 +201,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.6.3.4" Config Id Config_MEC_1 @@ -225,7 +220,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services", + uri indicating value "/mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services", body containing ServiceInfo containing serName indicating value SERVICE_NAME;;; @@ -250,9 +245,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated - + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1" Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -270,7 +263,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"; from the MEC_APP entity } then { @@ -295,8 +288,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.1" Config Id Config_MEC_1 @@ -315,7 +307,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { @@ -337,8 +329,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.4", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -358,7 +349,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing version indicating value NEW_VERSION;;; @@ -386,8 +377,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.4", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 @@ -406,7 +396,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", body containing ServiceInfo containing a_version indicating value NEW_VERSION;;; // Wrong parameter name should trigger an error response. @@ -431,9 +421,7 @@ Package MEC_MEC011_SRV_APPSAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.4", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated - + "ETSI GS MEC 011 3.2.1, clause 8.2.7.3.2" Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -451,7 +439,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}", body containing ServiceInfo containing version indicating value NEW_VERSION;;; @@ -466,7 +454,6 @@ 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" @@ -495,7 +482,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}", if_match indicating value INVALID_ETAG, body containing ServiceInfo containing @@ -515,8 +502,6 @@ Package MEC_MEC011_SRV_APPSAQ { } } - */ - Test Purpose { TP Id "TP_MEC_MEC011_SRV_APPSAQ_005_OK" @@ -542,7 +527,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}" ; from the MEC_APP entity } @@ -581,7 +566,7 @@ Package MEC_MEC011_SRV_APPSAQ { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}" ; from the MEC_APP entity } diff --git a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 index ffeff54..4125c12 100644 --- a/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSUB/PlatAppSubscriptions.tplan2 @@ -19,8 +19,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L574#/definitions/MecAppSuptApiSubscriptionLinkList" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.1" Config Id Config_MEC_1 @@ -100,8 +99,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4" Config Id Config_MEC_1 @@ -149,8 +147,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.3.3.4" Config Id Config_MEC_1 @@ -193,8 +190,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1" Config Id Config_MEC_1 @@ -237,8 +233,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.1" Config Id Config_MEC_1 @@ -279,8 +274,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 @@ -320,8 +314,7 @@ Package MEC_MEC011_SRV_APPSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L383#/definitions/AppTerminationNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.4.3.5" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 index f49df78..67ac08e 100644 --- a/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +++ b/Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 @@ -22,8 +22,7 @@ Package MEC_MEC011_SRV_CONFTASK { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", - "ETSI GS MEC 011 3.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 + "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4" Config Id Config_MEC_1 @@ -65,8 +64,7 @@ Package MEC_MEC011_SRV_CONFTASK { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", - "ETSI GS MEC 011 3.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 + "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4" Config Id Config_MEC_1 @@ -107,8 +105,7 @@ Package MEC_MEC011_SRV_CONFTASK { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4" Config Id Config_MEC_1 @@ -150,8 +147,7 @@ Package MEC_MEC011_SRV_CONFTASK { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 index cd5ab0b..da9f712 100644 --- a/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +++ b/Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 @@ -20,8 +20,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1" Config Id Config_MEC_1 @@ -62,8 +61,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1" Config Id Config_MEC_1 @@ -102,8 +100,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1" Config Id Config_MEC_1 @@ -147,8 +144,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1" Config Id Config_MEC_1 @@ -189,8 +185,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -239,8 +234,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -285,8 +279,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 @@ -330,8 +323,7 @@ Package MEC_MEC011_SRV_DNS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 index e2ae37b..9e20fa7 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 @@ -21,8 +21,7 @@ Package MEC_MEC011_SRV_LIV { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.4", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1" Config Id Config_MEC_1 @@ -67,8 +66,7 @@ Test Purpose { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.4", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.1" Config Id Config_MEC_1 @@ -110,8 +108,7 @@ Test Purpose { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 @@ -159,8 +156,7 @@ Test Purpose { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 @@ -205,8 +201,7 @@ Test Purpose { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 @@ -252,8 +247,7 @@ Test Purpose { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", "ETSI GS MEC 011 3.2.1, clause 8.1.2.5", - "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceLiveness" + "ETSI GS MEC 011 3.2.1, clause 8.2.10.3.3" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 index 8999b99..3f1b0ef 100644 --- a/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 +++ b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 @@ -20,8 +20,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -68,8 +67,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -119,8 +117,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -175,8 +172,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -222,8 +218,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -269,8 +264,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -315,8 +309,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -361,8 +354,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -407,8 +399,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.13.3.4" Config Id Config_MEC_1 @@ -453,8 +444,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1" Config Id Config_MEC_1 @@ -497,8 +487,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.1" Config Id Config_MEC_1 @@ -537,8 +526,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2" Config Id Config_MEC_1 @@ -583,8 +571,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.2" Config Id Config_MEC_1 @@ -629,8 +616,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5" Config Id Config_MEC_1 @@ -670,8 +656,7 @@ Package MEC_MEC011_SRV_REGAPPS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.13", "ETSI GS MEC 011 3.2.1, clause 7.1.2.6", - "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.14.3.5" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 index 69fa03d..cacb9d6 100644 --- a/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +++ b/Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 @@ -20,8 +20,7 @@ Package MEC_MEC011_SRV_SAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" Config Id Config_MEC_1 @@ -36,7 +35,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services"; + uri indicating value"/mec_service_mgmt/v1/services"; from the MEC_APP entity } then { @@ -60,8 +59,7 @@ Package MEC_MEC011_SRV_SAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" Config Id Config_MEC_1 @@ -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/v2/services" + uri indicating value"/mec_service_mgmt/v1/services" query_parameters containing instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity @@ -100,8 +98,7 @@ Package MEC_MEC011_SRV_SAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1" Config Id Config_MEC_1 @@ -118,7 +115,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}"; + uri indicating value"/mec_service_mgmt/v1/services/{SERVICE_ID}"; from the MEC_APP entity } then { @@ -146,8 +143,7 @@ Package MEC_MEC011_SRV_SAQ { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1" Config Id Config_MEC_1 @@ -164,7 +160,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing - uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}"; + uri indicating value"/mec_service_mgmt/v1/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { diff --git a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 index eec1f14..6dfa2c8 100644 --- a/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 +++ b/Test Purposes/MEC011/SRV/SRVSUB/PlatSrvSubscriptions.tplan2 @@ -19,8 +19,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1" Config Id Config_MEC_1 @@ -37,7 +36,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { @@ -63,8 +62,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.1" Config Id Config_MEC_1 @@ -81,7 +79,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"; + uri indicating value "/mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"; from the MEC_APP entity } then { @@ -103,8 +101,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4" Config Id Config_MEC_1 @@ -121,7 +118,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" body containing SerAvailabilityNotificationSubscription containing subscriptionType indicating value "SerAvailabilityNotificationSubscription", @@ -152,8 +149,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/MecServiceMgmtApiSubscriptionLinkList" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.8.3.4" Config Id Config_MEC_1 @@ -170,7 +166,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions" + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" body containing SerAvailabilityNotificationSubscription containing subscriptionType indicating value INVALID_SUBSCRIPTION, // Unknown value should trigger an error response. @@ -196,8 +192,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1" Config Id Config_MEC_1 @@ -216,7 +211,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { @@ -241,8 +236,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.1" Config Id Config_MEC_1 @@ -261,7 +255,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; from the MEC_APP entity } then { @@ -284,8 +278,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated" + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -304,7 +297,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"; from the MEC_APP entity } then { @@ -326,8 +319,7 @@ Package MEC_MEC011_SRV_SRVSUB { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.6", "ETSI GS MEC 011 3.2.1, clause 8.1.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/SerAvailabilityNotificationSubscription" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.9.3.5" Config Id Config_MEC_1 @@ -346,7 +338,7 @@ Package MEC_MEC011_SRV_SRVSUB { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; + uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"; from the MEC_APP entity } then { diff --git a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 index 791e9f4..0a62e7f 100644 --- a/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 +++ b/Test Purposes/MEC011/SRV/TIME/PlatTiming.tplan2 @@ -21,8 +21,7 @@ Package MEC_MEC011_SRV_TIME { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.10.3", "ETSI GS MEC 011 3.2.1, clause 7.1.2.4", - "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/TimingCaps" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1" Config Id Config_MEC_1 @@ -61,8 +60,7 @@ Package MEC_MEC011_SRV_TIME { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.10.2", "ETSI GS MEC 011 3.2.1, clause 7.1.2.5", - "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L758#/definition/CurrentTime" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.5.3.1" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 6d82821..410c810 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -19,8 +19,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1" Config Id Config_MEC_1 @@ -61,8 +60,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.7.3.1" Config Id Config_MEC_1 @@ -102,8 +100,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.1" Config Id Config_MEC_1 @@ -147,8 +144,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -195,8 +191,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -240,8 +235,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 @@ -284,8 +278,7 @@ Package MEC_MEC011_SRV_TRAF { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.7", "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", - "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L1352#/definitions/TrafficRule" //Outdated + "ETSI GS MEC 011 3.2.1, clause 7.2.8.3.2" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 index cc6f1bc..805e771 100644 --- a/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +++ b/Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 @@ -20,8 +20,7 @@ Package MEC_MEC011_SRV_TRANS { Reference "ETSI GS MEC 011 3.2.1, clause 5.2.9", "ETSI GS MEC 011 3.2.1, clause 8.1.2.3", - "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", - "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/definitions/TransportInfo" //Outdated + "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1" Config Id Config_MEC_1 @@ -36,7 +35,7 @@ Package MEC_MEC011_SRV_TRANS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_service_mgmt/v2/transports"; + uri indicating value "/mec_service_mgmt/v1/transports"; from the MEC_APP entity } then { -- GitLab From c90e2d74167aad87e104b83e6613a2f697dcbc3e Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Wed, 7 Jun 2023 10:20:25 +0200 Subject: [PATCH 26/70] TTF T024: Review MEC 021 --- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 1040 +++++------ Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 | 1534 ++++++++++------- 2 files changed, 1494 insertions(+), 1080 deletions(-) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index b5bf3e2..f7f0fa0 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -15,486 +15,566 @@ file and shall not imply any sub-license right. Package MEC_MEC021_SRV_AMS_BO_BI { - import all from MEC_Common; - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.3.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/appMobilityServices", - query_parameters containing - appMobilityService indicating value APP_MOBILITY_SERVICE_ID //wrong parameter, it should be appMobilityServiceId - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the AMS_CLIENT entity - } - } - } + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_BR" + + Test objective + "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services?filter=(appMobilityServiceId,eq,{APP_MOBILITY_SERVICE_ID_1})"; // Wrong filter arguments + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.3.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices", - body containing - RegistrationRequest containing //Note: at the moment the only element that is defined is RegistrationInfo. Not sure if they are the same. - serviceConsumerId containing - appInstance set to APP_INS_ID //wrong parameter, it should be appInstanceId - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.6.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/subscriptions/", - query_parameters containing - subscriptionTyp indicating value SUBSCRIPTION_TYPE //wrong parameter, it should be subscriptionType - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - 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 - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.6.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/subscriptions/", - body containing - NotificationSubscription containing - subscriptionTyp indicating value SUBSCRIPTION_TYPE, //wrong parameter, it should be subscriptionType - callbackReference indicating value CALLBACK_REFERENCE - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AMS_subscription containing - _link containing - self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.5" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AMS_subscription containing - _link containing - self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - 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. - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReferenc indicating value NEW_CALLBACK_REFERENCE //wrong field, it should be callbackReference - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AMS_subscription containing - _link containing - self indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value NON_EXISTENT_SUBSCRIPTION_HREF_VALUE - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - - - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appId set to APP_INS_ID //Should be appInstanteId not appId - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - 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 + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.2", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services", + body containing + RegistrationRequest containing + appMobilityServiceId indicating value any_value;;; // wrong field value: Shall be absent in POST requests, and present otherwise + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.4", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + subscriptionType indicating value SUBSCRIPTION_TYPE; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/subscriptions/", + query_parameters containing + subscriptionType indicating value "info_app_adj";; // Wrong parameter + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/subscriptions/", + body containing + NotificationSubscription containing + subscriptionTyp indicating value "Subscription", // wrong parameter: ]MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_REFERENCE;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_005_NF" + + Test objective + "Check that the AMS service returns an error when receives a query about a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.4.2", + "ETSI GS MEC 021 3.1.1, clause 7.4.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_006_NF" + + Test objective + "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.7", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value SUBSCRIPTION_HREF_VALUE, + body containing + NotificationSubscription containing + subscriptionType indicating value "Subscription", // Wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_007_NF" + + Test objective + "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE, + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.4", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", + body containing + RegistrationInfo containing + serviceConsumerId containing + appInstanceId indicating value NEW_APP_INS_ID_NEW_1;;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.4", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", + body containing + RegistrationInfo containing + appMobilityServiceId indicating value omit;;; // Wrong field value: Shall be present + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + + + Test Purpose { + 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 that represents the individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.5" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_ESISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.5.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity not having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.3", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_BR" + + Test objective + "Check that the AMS service sends an error about a specified adjacent application instances when request is inconsistent" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_3, + appDId indicating value APP_ID_3;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(appInstanceId,eq,{APP_INSTANCE_ID_1})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } } diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 index 3549e2f..1a57ac2 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 @@ -15,605 +15,939 @@ file and shall not imply any sub-license right. Package MEC_MEC021_SRV_AMS_BV { - import all from MEC_Common; - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.3.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/appMobilityServices", - query_parameters containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppMobilityServiceInfoList containing - AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID, - attribute registeredAppMobilityService - ; - ; - ; - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_002_OK" - - Test objective - "Check that the AMS service creates a new application mobility services when requested" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.3.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices", - body containing - RegistrationInfo containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - body containing - AppMobilityServiceInfo containing - appMobilityServiceId set to any_value, - registeredAppMobilityService containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_003_OK" - - Test objective - "Check that the AMS service returns information about the available subscriptions when requested. - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.6.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/subscriptions/", - query_parameters containing - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - SubscriptionLinkList containing - subscription containing - _links containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference set to any_value - ; - ; - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_004_OK" - - Test objective - "Check that the AMS service creates a notification subscriptions when requested. - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.6.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/subscriptions/", - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_REFERENCE - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 CREATED", - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_REFERENCE - ; - ; - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_005_OK" - - Test objective - "Check that the AMS service returns information about a given subscription when requested. - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value SUBSCRIPTION_HREF_VALUE - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_REFERENCE - ; - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_006_OK" - - Test objective - "Check that the AMS service deletes a given subscription when requested" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.5" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value SUBSCRIPTION_HREF_VALUE - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_007_OK" - - Test objective - "Check that the AMS service modifies a given subscription when requested. - Permitted SUBSCRIPTION_TYPE are: - - MobilityProcedureSubscription - - AdjacentAppInfoSubscription" - - Reference "ETSI GS MEC 021 2.1.1, clause 8.7.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE - ;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value NEW_CALLBACK_REFERENCE - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value NEW_CALLBACK_REFERENCE - ; - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_008_OK" - - Test objective - "Check that the AMS service sends an AMS notification about a mobility procedure - if the AMS service has an associated subscription and the event is generated" - - Reference "ETSI GS MEC 021 2.1.1, clause 7.4.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - subscriptionType indicating value "MobilityProcedureSubscription", - callbackReference indicating value CALLBACK_URI, - filterCriteria containing - appInstanceId set to APP_INSTANCE_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity generates a mobility_procedure_event containing - appInstanceId set to APP_INSTANCE_ID; - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - notificationType indicating value "MobilityProcedureNotification", - targetAppInfo containing - appInstanceId set to APP_INSTANCE_ID - ;, - mobilityStatus set to any_value - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_009_OK" - - Test objective - "Check that the AMS service sends an AMS notification about adjacent application instances - if the AMS service has an associated subscription and the event is generated" - - Reference "ETSI GS MEC 021 2.1.1, clause 7.4.3" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - subscriptionType indicating value "AdjacentAppInfoSubscription", - callbackReference indicating value CALLBACK_URI, - filterCriteria containing - appInstanceId set to APP_INSTANCE_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity generates a adjacent_app_info_event containing - appInstanceId set to APP_INSTANCE_ID; - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - notificationType indicating value "AdjacentAppInfoNotification", - adjacentAppInfo containing - appInstanceId set to APP_INSTANCE_ID - ; - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_010_OK" - - Test objective - "Check that the AMS service sends an AMS notification on subscription expiration - if the AMS service has an associated subscription and the event is generated" - - Reference "ETSI GS MEC 021 2.1.1, clause 7.4.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - subscriptionType indicating value any_value, //VALID for all subscription types - callbackReference indicating value CALLBACK_URI, - _links containing - self set to SUBSCRIPTION_HREF_VALUE - ;, - subscriptionId set to SUBSCRIPTION_ID, - expiryDeadline set to EXPIRY_DEADLINE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity generates a expiry_notification_event containing - subscriptionId set to SUBSCRIPTION_ID; - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - notificationType indicating value "ExpiryNotification", //this field is not in the spec. - expiryDeadline set to EXPIRY_DEADLINE - ; - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_011_OK" - - Test objective - "Check that the AMS service returns information about this individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID, - attribute registeredAppMobilityService - ; - ; - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_012_OK" - - Test objective - "Check that the AMS service modifies the individual application mobility service when requested" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppMobilityServiceInfo containing - appMobilityServiceId set to any_value, - registeredAppMobilityService containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - 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 - that represents the individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.5" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - 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" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.5.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}/deregisterTask" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the AMS_CLIENT entity - } - } - } - + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK_01" + + Test objective + "Check that the AMS service returns information about the registered application mobility services when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK_02" + + Test objective + "Check that the AMS service returns information about the a specific registered application mobility service when requested - filter" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services?filter=(eq,appMobilityServiceId,{APP_MOBILITY_SERVICE_ID_1})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK_03" + + Test objective + "Check that the AMS service returns information about the a specific registered application mobility service when requested - filter" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value APP_INSTANCE_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services?filter=(eq,serviceConsumerId[appInstanceId],{APP_INSTANCE_ID_1})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value APP_INSTANCE_ID_1;;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK_04" + + Test objective + "Check that the AMS service returns information about the a specific registered application mobility service when requested - exclude_fields" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services?filter=(eq,appMobilityServiceId,{APP_MOBILITY_SERVICE_ID_1})&exclude_fields=[serviceConsumerId]"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + not serviceConsumerId;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_OK_05" + + Test objective + "Check that the AMS service returns information about the registered application mobility services when requested - No registered application mobility service" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity not having a RegistrationInfoList + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body indicating value omit; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_002_OK" + + Test objective + "Check that the AMS service creates a new application mobility services when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.2", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services", + body containing + RegistrationInfo containing + serviceConsumerId containing + appInstanceId set to APP_INS_ID;;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + RegistrationInfo containing + appMobilityServiceId set to any_value, + serviceConsumerId containing + appInstanceId set to APP_INS_ID;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_003_OK" + + Test objective + "Check that the AMS service returns information about the available subscriptions when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.4", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + subscriptionType indicating value SUBSCRIPTION_TYPE; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/subscriptions/", + query_parameters containing + subscriptionType indicating value SUBSCRIPTION_TYPE;; // mobility_proc or adj_app_info + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + SubscriptionLinkList containing + subscription containing + _links containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + subscriptionType indicating value SUBSCRIPTION_TYPE, // mobility_proc or adj_app_info + callbackReference set to any_value;;;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_004_OK" + + Test objective + "Check that the AMS service creates a notification subscriptions when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/subscriptions/", + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_REFERENCE, + filterCriteria set to any_value;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value CALLBACK_REFERENCE;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_005_OK" + + Test objective + "Check that the AMS service returns information about a given subscription when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.4.2", + "ETSI GS MEC 021 3.1.1, clause 7.4.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_REFERENCE;;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_006_OK" + + Test objective + "Check that the AMS service deletes a given subscription when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.7", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_007_OK" + + Test objective + "Check that the AMS service modifies a given subscription when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" + + Config Id Config_MEC_1 + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value SUBSCRIPTION_HREF_VALUE, + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_008_OK" + + Test objective + "Check that the AMS service sends an AMS notification about a mobility procedure if the AMS service has an associated subscription and the event is generated" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.4.2", + "ETSI GS MEC 021 3.1.1, clause 8.9.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value "MobilityProcedureSubscription", + callbackReference indicating value CALLBACK_URI, + filterCriteria containing + appInstanceId set to APP_INSTANCE_ID;; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a mobility_procedure_event containing + appInstanceId set to APP_INSTANCE_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "MobilityProcedureNotification", + targetAppInfo containing + appInstanceId set to APP_INSTANCE_ID;, + mobilityStatus set to any_value;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_009_OK" + + Test objective + "Check that the AMS service sends an AMS notification about adjacent application instances if the AMS service has an associated subscription and the event is generated" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.4.3", + "ETSI GS MEC 021 3.1.1, clause 8.9.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value "AdjacentAppInfoSubscription", + callbackReference indicating value CALLBACK_URI, + filterCriteria containing + appInstanceId set to APP_INSTANCE_ID;; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a adjacent_app_info_event containing + appInstanceId set to APP_INSTANCE_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "AdjacentAppInfoNotification", + adjacentAppInfo containing + appInstanceId set to APP_INSTANCE_ID;;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_010_OK" + + Test objective + "Check that the AMS service sends an AMS notification on subscription expiration if the AMS service has an associated subscription and the event is generated" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.4.4", + "ETSI GS MEC 021 3.1.1, clause 8.9.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + subscriptionType indicating value any_value, // A valid subscription types + callbackReference indicating value CALLBACK_URI, + _links containing + self set to SUBSCRIPTION_HREF_VALUE ;, + subscriptionId set to SUBSCRIPTION_ID, + expiryDeadline set to EXPIRY_DEADLINE; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a expiry_notification_event containing + subscriptionId set to SUBSCRIPTION_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + notificationType indicating value "ExpiryNotification", + expiryDeadline set to EXPIRY_DEADLINE;; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_011_OK" + + Test objective + "Check that the AMS service returns information about this individual application mobility service" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_012_OK" + + Test objective + "Check that the AMS service modifies the individual application mobility service when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.4", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", + body containing + RegistrationInfo containing + serviceConsumerId containing + appInstanceId indicating value NEW_APP_INS_ID_NEW_1;;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value NEW_APP_INS_ID_NEW_1;;;; + to the AMS_CLIENT entity + } + } + } + + + Test Purpose { + 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 that represents the individual application mobility service" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.3", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content"; + to the AMS_CLIENT entity + } + } + } + + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID}/deregisterTask"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_OK_01" + + Test objective + "Check that the AMS service returns information about the registered application mobility services when requested" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_OK_02" + + Test objective + "Check that the AMS service returns information about the adjacent application instances when requested - filter" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(eq,appInstanceId,{APP_INSTANCE_ID_1})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_OK_03" + + Test objective + "Check that the AMS service returns information about a specified adjacent application instances when requested - filter" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_3, + appDId indicating value APP_ID_3;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(eq,appInstanceId,{APP_INSTANCE_ID_1})&filter(eq,appDId,{APP_ID_3})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_3, + appDId indicating value APP_ID_3;;;; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_OK_04" + + Test objective + "Check that the AMS service returns information about a specified adjacent application instances when requested - No adjacent application instances" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity not having a AdjacentAppInstanceInfoList + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status indicating value "200 OK", + body indicating value omit; + to the AMS_CLIENT entity + } + } + } } -- GitLab From 95675017785067a9916d613e23e760c8d6c84031 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Wed, 7 Jun 2023 16:11:06 +0200 Subject: [PATCH 27/70] TTF T024: Review MEC 030 --- Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 | 59 +- .../MEC030/SRV/V2XInformationService.tplan2 | 4945 +++++++++-------- 2 files changed, 2716 insertions(+), 2288 deletions(-) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 index 1a57ac2..f86a664 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 @@ -293,7 +293,7 @@ Package MEC_MEC021_SRV_AMS_BV { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/subscriptions/", + uri indicating value "/amsi/v1/subscriptions", query_parameters containing subscriptionType indicating value SUBSCRIPTION_TYPE;; // mobility_proc or adj_app_info from the MEC_SUB entity @@ -337,7 +337,7 @@ Package MEC_MEC021_SRV_AMS_BV { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/subscriptions/", + uri indicating value "/amsi/v1/subscriptions", body containing NotificationSubscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription @@ -950,4 +950,59 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_UETESTNOT_001_OK" + + Test objective + "Check that the IUT provides a test notification when requested by a MEC Application" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.6.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/subscriptions" + body containing + userLocationEventSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + userLocationEventSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, // FIXME: To be confirmed + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + testNotification containing + notificationType indicating value "TestNotification", + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + } diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 5a7d395..266fad9 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -5,2296 +5,2669 @@ Released under BSD 3-clause license. For more information visit https://forge.et Package MEC_MEC030_SRV_V2X { - import all from MEC_Common; - - - Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_001_OK_01" - - 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 - location_info indicating value LOCATION_INFO_ECGI - ; - } - - // 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_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 "200 OK" - body containing - uuUnicastProvisioningInfo set to any_value - ; - ; - to the MEC_APP entity - } - } - } - - - 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 - location_info indicating value LOCATION_INFO_LATITUDE - ; - } - - // 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 set to any_value - ; - ; - 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 - location_info indicating value LOCATION_INFO_LATITUDE - ; - } - - // 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 - location_info indicating value LOCATION_INFO_ECGI - ; - } - - // 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 - location_info indicating value LOCATION_INFO_ECGI - ; - } - - // 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 set to any_value - ; - ; - 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 set to any_value - ; - ; - 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 set to any_value - ; - ; - 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 set to any_value - ; - ; - 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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 - location_info indicating value LOCATION_INFO - ; - } - - // 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" - body containing - predictedQos containing - locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, - routes indicating value PREDICTED_ROUTES - ; - ; - ; - 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 containing - locationGranularity set to any_value, - routes set to any_value - ; - ; - ; - 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. - body containing - predictedQos containing - locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, - routes indicating value PREDICTED_ROUTES - ; - ; - ; - 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" - body containing - predictedQos containing - locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, - routes indicating value PREDICTED_UNKNOWN_ROUTES - ; - ; - ; - 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 - } - } - } - - - 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/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/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/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/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/{subscriptionType}", - query_parameters containing - // Wrong parameter name should trigger an error response. - subscriptionType indicating value ANY - ; - ; - 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_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 "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_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 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" - - 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/{subscriptionId}", - 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/{subscriptionId}", - 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/{subscriptionId}", - 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/{subscriptionId}", - 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/{subscriptionId}", - 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/{subscriptionId}", - query_parameters containing - 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 - } - } - } - - - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION, - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_UU_MBMS_SUBSCRIPTION, - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_PC5_SUBSCRIPTION, - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_V2XMSG_SUBSCRIPTION, - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_UU_UNI_SUBSCRIPTION, - 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/{subscriptionId}", - query_parameters containing - subscriptionId indicating value HREF_UU_UNI_UNKNOWN_SUBSCRIPTION, - 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 "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 removing 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/{subscriptionId}", - query_parameters containing - subscriptionId 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 "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 removing 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/{subscriptionId}", - query_parameters containing - subscriptionId 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 "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 removing 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/{subscriptionId}", - query_parameters containing - subscriptionId 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 "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 removing 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/{subscriptionId}", - query_parameters containing - subscriptionId 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 "204 No Content" - ; - 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 removing 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/{subscriptionId}", - query_parameters containing - subscriptionId 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 "404 Not Found" - ; - to the MEC_APP entity - } - } - } - - - 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", + import all from MEC_Common; + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_001_OK_01" + + 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 V3.1.1, clause 5.5.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.2", + "ETSI GS MEC 030 V3.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 uuUnicastProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_ECGI; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_unicast_provisioning_info" + query_parameters containing + locationInfo indicating value LOCATION_INFO_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 "200 OK" + body containing + uuUnicastProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_ECGI;;; + to the MEC_APP entity + } + } + } + + 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 V3.1.1, clause 5.5.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.2", + "ETSI GS MEC 030 V3.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 uuUnicastProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_LATITUDE; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_unicast_provisioning_info" + query_parameters containing + locationInfo 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 containing + locationInfo indicating value LOCATION_INFO_LATITUDE;;; + 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 V3.1.1, clause 5.5.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.2", + "ETSI GS MEC 030 V3.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 uuUnicastProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_LATITUDE; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_unicast_provisioning_info" + query_parameters containing + locationInfo indicating value LOCATION_INFO_LATITUDE_AND_ECGI;; // Wrong parameter: Either ecgi or geoArea shall be present, but not both + 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 V3.1.1, clause 5.5.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.2", + "ETSI GS MEC 030 V3.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 uuUnicastProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_ECGI ; + } + + // MEC 030 Clause 6.2.2 Type: UuUnicastProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_unicast_provisioning_info" + query_parameters containing + locationInfo 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 V3.1.1, clause 5.5.2", + "ETSI GS MEC 030 V3.1.1, clause 6.2.3", + "ETSI GS MEC 030 V3.1.1, clause 7.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 uuMbmsProvisioningInfo containing + locationInfo indicating value LOCATION_INFO_ECGI; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_mbms_provisioning_info" + query_parameters containing + locationInfo 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 containing + locationInfo indicating value LOCATION_INFO_ECGI;;; + 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 V3.1.1, clause 5.5.2", + "ETSI GS MEC 030 V3.1.1, clause 6.2.3", + "ETSI GS MEC 030 V3.1.1, clause 7.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 uuMbmsProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_mbms_provisioning_info" + query_parameters containing + locationInfo 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 containing + locationInfo indicating value LOCATION_INFO_LATITUDE;;; + 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 V3.1.1, clause 5.5.2", + "ETSI GS MEC 030 V3.1.1, clause 6.2.3", + "ETSI GS MEC 030 V3.1.1, clause 7.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 uuMbmsProvisioningInfo containing 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 - } - } - } - + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_mbms_provisioning_info" + query_parameters containing + locationInfo indicating value LOCATION_INFO_LATITUDE_AND_ECGI;; // Wrong parameter: Either ecgi or geoArea shall be present, but not both + 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 V3.1.1, clause 5.5.2", + "ETSI GS MEC 030 V3.1.1, clause 6.2.3", + "ETSI GS MEC 030 V3.1.1, clause 7.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 uuMbmsProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.3 Type: UuMbmsProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/uu_mbms_provisioning_info" + query_parameters containing + locationInfo 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 V3.1.1, clause 5.5.3", + "ETSI GS MEC 030 V3.1.1, clause 6.2.4", + "ETSI GS MEC 030 V3.1.1, clause 7.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 pc5ProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/pc5_provisioning_info" + query_parameters containing + locationInfo 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 containing + locationInfo indicating value LOCATION_INFO_ECGI;;; + 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 V3.1.1, clause 5.5.3", + "ETSI GS MEC 030 V3.1.1, clause 6.2.4", + "ETSI GS MEC 030 V3.1.1, clause 7.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 pc5ProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/pc5_provisioning_info" + query_parameters containing + locationInfo 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 set to any_value containing + locationInfo indicating value LOCATION_INFO_LATITUDE;;; + 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 V3.1.1, clause 5.5.3", + "ETSI GS MEC 030 V3.1.1, clause 6.2.4", + "ETSI GS MEC 030 V3.1.1, clause 7.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 pc5ProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/pc5_provisioning_info" + query_parameters containing + locationInfo indicating value LOCATION_INFO_LATITUDE_AND_ECGI;; // Wrong parameter: Either ecgi or geoArea shall be present, but not both + 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 V3.1.1, clause 5.5.3", + "ETSI GS MEC 030 V3.1.1, clause 6.2.4", + "ETSI GS MEC 030 V3.1.1, clause 7.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 pc5ProvisioningInfo containing + locationInfo indicating value LOCATION_INFO; + } + + // MEC 030 Clause 6.2.4 Type: Pc5ProvisioningInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/queries/pc5_provisioning_info" + query_parameters containing + locationInfo 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 processes properly a request to information of V2X Message Distribution servers" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.4", + "ETSI GS MEC 030 V3.1.1, clause 6.2.5", + "ETSI GS MEC 030 V3.1.1, clause 7.6.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 havingV2xMsgDistributionServerMqtt + } + + // MEC 030 Clause 6.2.5 Type: V2xMsgDistributionServerInfo + Expected behaviour + ensure that { + when { + the IUT entity sends a vPOST containing + uri indicating value "vis/v2/provide_v2x_msg_distribution_server_info", + body containing + V2xMsgDistributionServerInfo containing + v2xMsgDistributionServer containing + infoProtocol containing + msgProtocol indicating value 0;;, + not infoConnection;;; // MQTT v3.1.0 + 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 + V2xMsgDistributionServerInfo containing + v2xMsgDistributionServer containing + infoProtocol containing + msgProtocol indicating value 0;;, // MQTT v3.1.0 + infoConnection indicating value any_value;;; + 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 V3.1.1, clause 5.5.4", + "ETSI GS MEC 030 V3.1.1, clause 6.2.5", + "ETSI GS MEC 030 V3.1.1, clause 7.6.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 havingV2xMsgDistributionServerMqtt + } + + // MEC 030 Clause 6.2.5 Type: V2xMsgDistributionServerInfo + Expected behaviour + ensure that { + when { + the IUT entity sends a vPOST containing + uri indicating value "vis/v2/provide_v2x_msg_distribution_server_info", + body containing + V2xMsgDistributionServerInfo containing + v2xMsgDistributionServer containing + infoProtocol containing + msgProtocol indicating value 0;;, + infoConnection indicating value any_value;;; // Wrong field value: Shall only be included in the response + 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_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 V3.1.1, clause 5.5.4", + "ETSI GS MEC 030 V3.1.1, clause 6.2.5", + "ETSI GS MEC 030 V3.1.1, clause 7.6.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 havingV2xMsgDistributionServerMqtt + } + + // MEC 030 Clause 6.2.5 Type: V2xMsgDistributionServerInfo + Expected behaviour + ensure that { + when { + the IUT entity sends a vPOST containing + uri indicating value "vis/v2/provide_v2x_msg_distribution_server_info", + body containing + V2xMsgDistributionServerInfo containing + v2xMsgDistributionServer containing + infoProtocol containing + msgProtocol indicating value 0;;, + not infoConnection;;; + 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 "404 Not Found"; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_005_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 V3.1.1, clause 5.5.5", + "ETSI GS MEC 030 V3.1.1, clause 6.2.6", + "ETSI GS MEC 030 V3.1.1, clause 7.7.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 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/v2/provide_predicted_qos" + body containing + predictedQos containing + predictionTarget indicating value 1, // SINGLE_UE_PREDICTION + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_ROUTES, + not 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 containing + locationGranularity indicating value any_value, + routes indicating value any_value, + qos indicating value any_value;;; + 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 V3.1.1, clause 5.5.5", + "ETSI GS MEC 030 V3.1.1, clause 6.2.6", + "ETSI GS MEC 030 V3.1.1, clause 7.7.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 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/v2/provide_predicted_qos" + body containing + predictedQos containing + predictionTarget indicating value 1, // SINGLE_UE_PREDICTION + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_ROUTES, + qos indicating value any_value;;; // Wrong field value: Shall only be included in the 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_005_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 V3.1.1, clause 5.5.5", + "ETSI GS MEC 030 V3.1.1, clause 6.2.6", + "ETSI GS MEC 030 V3.1.1, clause 7.7.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 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/v2/provide_predicted_qos" + body containing + predictedQos containing + predictionTarget indicating value 1, // SINGLE_UE_PREDICTION + locationGranularity indicating value PREDICTED_LOCATION_GRANULARITY, + routes indicating value PREDICTED_UNKNOWN_ROUTES, + not qos;;; // Wrong field value: Shall only be included in the 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 + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_006_OK" + + Test objective + "Check that the IUT processes properly a request to publish a V2X message" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.10.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.7", + "ETSI GS MEC 030 V3.1.1, clause 7.8.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/publish_v2x_message" + body containing + V2xMsgPublication containing + msgPropertiesValues containing + stdOrganization indicating value "ETSI", + msgType indicating value 2, + msgProtocolVersion indicating value 3, // ETSI TS 102 894-2 + locationInfo indicating value any_value;, // ETSI ITS CAM, See ETSI TS 102 894-2 + msgRepresentationFormat 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_011_OK_03" + TP Id "TP_MEC_MEC030_SRV_V2X_006_BR" 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 - } - } - } - + "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 V3.1.1, clause 5.5.10.1", + "ETSI GS MEC 030 V3.1.1, clause 6.2.7", + "ETSI GS MEC 030 V3.1.1, clause 7.8.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v1/publish_v2x_message" + body containing + V2xMsgPublication containing + msgPropertiesValues containing + stdOrganization indicating value "UNKNOWN_ORGANIZATION", + msgType indicating value 2, + msgProtocolVersion indicating value 3, // ETSI TS 102 894-2 + locationInfo indicating value any_value;, // ETSI ITS CAM, See ETSI TS 102 894-2 + msgRepresentationFormat 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 "400 Bad Request"; + 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 list of subscription when queried by a MEC Application - prov_chg_uu_uni" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType 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 + _links containing + self indicating value HREF_SUBSCRIPTION_1, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_1, + subscriptionType indicating value "prov_chg_uu_uni";;;;;; + 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 list of subscription when queried by a MEC Application - prov_chg_uu_mbms" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType 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 + _links containing + self indicating value HREF_SUBSCRIPTION_2, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_2, + subscriptionType indicating value "prov_chg_uu_mbms";;;;;; + 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 list of subscription when queried by a MEC Application - prov_chg_pc5" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType 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 + _links containing + self indicating value HREF_SUBSCRIPTION_3, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_3, + subscriptionType indicating value "prov_chg_pc5";;;;;; + 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 list of subscription when queried by a MEC Application - v2x_msg" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType 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 + _links containing + self indicating value HREF_SUBSCRIPTION_4, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_4, + subscriptionType indicating value "v2x_msg";;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_05" + + Test objective + "Check that the IUT responds with the requested list of subscription when queried by a MEC Application - v2x_msg" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType indicating value "pred_qos";; + 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 + _links containing + self indicating value HREF_SUBSCRIPTION_5, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_5, + subscriptionType indicating value "pred_qos";;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { // FIXME Not clear of what could happen because _links.self shall be unique ??? + TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_05" + + Test objective + "Check that the IUT responds with the requested list of subscription when queried by a MEC Application" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 6.3.6", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions"; + 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 + _links containing + self indicating value TODO, + subscriptionList containing + subscriptions containing + href indicating value HREF_SUBSCRIPTION_1, + subscriptionType indicating value "prov_chg_uu_uni";, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_2, + subscriptionType indicating value "prov_chg_uu_mbms";, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_3, + subscriptionType indicating value "prov_chg_pc5";, + subscriptions containing + href indicating value HREF_SUBSCRIPTION_4, + subscriptionType indicating value "v2x_msg";;;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_007_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 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 6.3.6", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions", + query_parameters containing + subscriptionType indicating value "unknow_subscription";; // Wrong parameter value + 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_08_OK_01" + + Test objective + "Check that the IUT responds with the requested to create a subscription - ProvChgUuUniSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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_SUBSCRIPTION, + filterCriteria indicating value FILTER_CRITERIA, + _links containing + self indicating value HREF_SUBSCRIPTION;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_08_OK_02" + + Test objective + "Check that the IUT responds with the requested to create a subscription - ProvChgUuMbmsSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions", + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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_SUBSCRIPTION, + filterCriteria indicating value FILTER_CRITERIA, + _links containing + self indicating value HREF_SUBSCRIPTION;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_08_OK_03" + + Test objective + "Check that the IUT responds with the requested to create a subscription - ProvChgPc5Subscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions", + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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 "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_CRITERIA, + _links containing + self indicating value HREF_SUBSCRIPTION;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_08_OK_04" + + Test objective + "Check that the IUT responds with the requested to create a subscription - V2xMsgSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions", + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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_SUBSCRIPTION, + filterCriteria indicating value FILTER_CRITERIA, + _links containing + self indicating value HREF_SUBSCRIPTION;;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_08_OK_05" + + Test objective + "Check that the IUT responds with the requested to create a subscription - PredQosSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions", + body containing + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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 + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_CRITERIA, + _links containing + self indicating value HREF_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 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 6.3.6", + "ETSI GS MEC 030 V3.1.1, clause 6.3.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions" + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "InvalidProvChgUuMbmsSubscription", // Invalid SubscriptionType + callbackReference indicating value CALLBACK_SUBSCRIPTION, + filterCriteria indicating value FILTER_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_009_OK_01" + + Test objective + "Check that the IUT responds with the requested of subscription information when queried by a MEC Application - ProvChgUuUniSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_SUBSCRIPTION_1, + filterCriteria indicating value FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + 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 subscription information when queried by a MEC Application - ProvChgUuMbmsSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_2}"; + 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_SUBSCRIPTION_2, + filterCriteria indicating value FILTER_CRITERIA_2, + _links indicating value HREF_SUBSCRIPTION_2;;;; + 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 subscription information when queried by a MEC Application - ProvChgPc5Subscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_3}"; + 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_SUBSCRIPTION_3, + filterCriteria indicating value FILTER_CRITERIA_3, + _links indicating value HREF_SUBSCRIPTION_3;;;; + 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 subscription information when queried by a MEC Application - V2xMsgSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_4}"; + 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_SUBSCRIPTION_4, + filterCriteria indicating value FILTER_CRITERIA_4, + _links indicating value HREF_SUBSCRIPTION_4;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_OK_05" + + Test objective + "Check that the IUT responds with the requested of subscription information when queried by a MEC Application - PredQosSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_5}"; + 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 + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_5, + filterCriteria indicating value FILTER_CRITERIA_5, + _links indicating value HREF_SUBSCRIPTION_5;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_009_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 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subs/{HREF_SUBSCRIPTION_1}"; // Wrong URL + 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_009_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 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; and + the IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_2;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; and + the IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_3;, + subscriptionType indicating value "ProvChgPc5Subscription"; and + the IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_4;, + subscriptionType indicating value "V2xMsgSubscription"; and + the IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_5;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "vis/v2/subscription/{UNKNOWN_HREF_SUBSCRIPTION}"; // subscription id + 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 + } + } + } + + 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 - ProvChgUuUniSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + 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 - ProvChgUuMbmsSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + provChgUuMbmsSubscription containing + subscriptionType indicating value "ProvChgUuMbmsSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + 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 - ProvChgPc5Subscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgPc5Subscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + provChgPc5Subscription containing + subscriptionType indicating value "ProvChgPc5Subscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + 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 - V2xMsgSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "V2xMsgSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + v2xMsgSubscription containing + subscriptionType indicating value "V2xMsgSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_010_OK_05" + + Test objective + "Check that the IUT responds with the requested of updating subscription when queried by a MEC Application - PredQosSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.6", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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 + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;;; + 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 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity having a provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "UnknownSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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 V3.1.1, clause 5.5.6.3", + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 IUT entity not having a provChgUuUniSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}", + body containing + provChgUuUniSubscription containing + subscriptionType indicating value "ProvChgUuUniSubscription", + callbackReference indicating value CALLBACK_SUBSCRIPTION_1, + filterCriteria indicating value NEW_FILTER_CRITERIA_1, + _links indicating value HREF_SUBSCRIPTION_1;;; + 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_011_OK_01" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application - ProvChgUuUniSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 provChgUuUniSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuUniSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_011_OK_02" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application - ProvChgUuMbmsSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.3", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 provChgUuMbmsSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgUuMbmsSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_011_OK_03" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application - ProvChgPc5Subscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.4", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 provChgPc5Subscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "ProvChgPc5Subscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_011_OK_04" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application - V2xMsgSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 v2xMsgSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "V2xMsgSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_011_OK_05" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application - PredQosSubscription" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.5", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 predQosSubscription containing + _links containing + self indicating value HREF_SUBSCRIPTION_1;, + subscriptionType indicating value "PredQosSubscription"; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_SUBSCRIPTION_1}"; + 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_011_NF" + + Test objective + "Check that the IUT responds with the requested of removing subscription when queried by a MEC Application" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 5.5.6.4", + "ETSI GS MEC 030 V3.1.1, clause 6.3.2", + "ETSI GS MEC 030 V3.1.1, clause 7.10.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "vis/v2/subscriptions/{HREF_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_UETESTNOT_012_OK" + + Test objective + "Check that the IUT provides a test notification when requested by a MEC Application" + + Reference + "ETSI GS MEC 030 V3.1.1, clause 6.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 + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "vis/v2/subscriptions" + body containing + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, + address indicating value ACR_SOME_IP;;; + from the MEC_APP entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "201 Created" + body containing + predQosSubscription containing + subscriptionType indicating value "PredQosSubscription", + callbackReference indicating value CALLBACK_URL, + requestTestNotification indicating value true, // FIXME: To be confirmed + _links indicating value LINKS, + address indicating value ACR_SOME_IP;;; + to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + testNotification containing + notificationType indicating value "TestNotification", + _links indicating value LINKS;;; + to the MEC_APP entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC030_SRV_V2X_013_OK" + + 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 V3.1.1, clause 5.5.7", + "ETSI GS MEC 030 V3.1.1, clause 7.9.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 ProvChgUuUniSubscription containing + callbackReference indicating value CALLBACK_UU_UNI_URI; + } + + Expected behaviour + ensure that { + when { + the IUT entity isTriggeredToSend a ProvChgUuUniNotification + } + then { + the IUT entity generates a provChgUuUniNotification containing + notificationType indicating value "ProvChgUuUniNotification", + locationInfo indicating value LOCATION_INFO; + } + } + } } -- GitLab From 64ccf656e25d4117737e51571ba21105f6a60fa6 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Wed, 7 Jun 2023 16:11:34 +0200 Subject: [PATCH 28/70] TTF T024: Review MEC 030 --- Test Purposes/mec-common.tplan2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 1da5753..18cdf48 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -54,6 +54,7 @@ Package MEC_Common { - consume_services // component can use services - receives // component receives an HTTP request - sends // component sends an HTTP response + - isTriggeredToSend - being_in - having - is_registered @@ -89,6 +90,7 @@ Package MEC_Common { - adjacent_app_info_event - app_instance - grant + - havingV2xMsgDistributionServerMqtt ; } -- GitLab From 363047cddffd590d55c2e16f46e59128984e2489 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 7 Jul 2023 11:05:47 +0200 Subject: [PATCH 29/70] Review TPs for Notifcation and Notification expiry --- .../MEC030/SRV/V2XInformationService.tplan2 | 42 +++++++++++++++++++ Test Purposes/mec-common.tplan2 | 1 + 2 files changed, 43 insertions(+) diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 266fad9..6b8ccb4 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -1367,6 +1367,16 @@ Package MEC_MEC030_SRV_V2X { _links containing self indicating value HREF_SUBSCRIPTION;;;;; to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + provChgUuUniNotification containing + notificationType indicating value "ProvChgUuUniSubscription", + locationInfo indicating value any_value, + v2xApplicationServer indicating value any_value, + neighbourCellInfo indicating value any_value;;; + to the MEC_APP entity + and the IUT entity doNotSendNotificationAfterTimerExpiry } } } @@ -1413,6 +1423,16 @@ Package MEC_MEC030_SRV_V2X { _links containing self indicating value HREF_SUBSCRIPTION;;;;; to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + provChgUuMbmsNotification containing + notificationType indicating value "ProvChgUuMbmsNotification", + locationInfo indicating value any_value, + v2xServerUsd indicating value any_value, + neighbourCellInfo indicating value any_value;;; + to the MEC_APP entity + and the IUT entity doNotSendNotificationAfterTimerExpiry } } } @@ -1459,6 +1479,16 @@ Package MEC_MEC030_SRV_V2X { _links containing self indicating value HREF_SUBSCRIPTION;;;;; to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + provChgPc5Notification containing + notificationType indicating value "ProvChgPc5Notification", + locationInfo indicating value any_value, + dstLayer2Id indicating value any_value, + neighbourCellInfo indicating value any_value;;; + to the MEC_APP entity + and the IUT entity doNotSendNotificationAfterTimerExpiry } } } @@ -1505,6 +1535,18 @@ Package MEC_MEC030_SRV_V2X { _links containing self indicating value HREF_SUBSCRIPTION;;;;; to the MEC_APP entity + and the IUT entity sends a vPOST containing + Uri set to CALLBACK_URL + body containing + v2xMsgNotification containing + notificationType indicating value "V2xMsgNotification", + msgPropertiesValues indicating value any_value, + msgRepresentationFormat indicating value any_value, + msgContent indicating value any_value, + _links containing + self indicating value HREF_SUBSCRIPTION;;;; + to the MEC_APP entity + and the IUT entity doNotSendNotificationAfterTimerExpiry } } } diff --git a/Test Purposes/mec-common.tplan2 b/Test Purposes/mec-common.tplan2 index 18cdf48..c29bfea 100644 --- a/Test Purposes/mec-common.tplan2 +++ b/Test Purposes/mec-common.tplan2 @@ -91,6 +91,7 @@ Package MEC_Common { - app_instance - grant - havingV2xMsgDistributionServerMqtt + -doNotSendNotificationAfterTimerExpiry ; } -- GitLab From 817a356ba7a68cd9574be378d370f90e22a9e0b6 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 17 Jul 2023 16:30:52 +0200 Subject: [PATCH 30/70] Rename MEC011/SRV/LIV folder into MEC011/SRV/MSL --- Test Purposes/MEC011/SRV/{LIV => MSL}/Liveness.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Test Purposes/MEC011/SRV/{LIV => MSL}/Liveness.tplan2 (99%) diff --git a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 b/Test Purposes/MEC011/SRV/MSL/Liveness.tplan2 similarity index 99% rename from Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 rename to Test Purposes/MEC011/SRV/MSL/Liveness.tplan2 index 9e20fa7..1130dc9 100644 --- a/Test Purposes/MEC011/SRV/LIV/Liveness.tplan2 +++ b/Test Purposes/MEC011/SRV/MSL/Liveness.tplan2 @@ -16,7 +16,7 @@ Package MEC_MEC011_SRV_LIV { 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" + "Check that the IUT responds with the liveness of a MEC service instance when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.12", -- GitLab From 886dc92ace11c1b6d9d523aeac8c6222e94e9f66 Mon Sep 17 00:00:00 2001 From: piscione Date: Wed, 19 Jul 2023 15:17:28 +0200 Subject: [PATCH 31/70] Initial updates of TPs for MEC010p2 v3.1.1 --- Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 | 134 ++++++----- .../MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 | 216 +++++++++--------- .../MEPM/LCM/PlatformConfiguration.tplan2 | 19 +- .../MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 | 150 ++++++------ 4 files changed, 273 insertions(+), 246 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 index 88d43a8..5d3a65e 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 @@ -13,10 +13,9 @@ Package MEC_MEC010p2_MEO_GRANT { "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -40,7 +39,10 @@ Package MEC_MEC010p2_MEO_GRANT { appDId set to any_value, operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST, - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ;;; from the MEPM entity } @@ -48,14 +50,17 @@ Package MEC_MEC010p2_MEO_GRANT { the IUT entity sends a HTTP_RESPONSE containing status set to "201 Created", headers containing - Location indicating value "{GRANTING_ID}" + 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, addResources set to INST_RESOURCES_LIST, - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ; ; ;; @@ -71,10 +76,9 @@ Package MEC_MEC010p2_MEO_GRANT { "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 @@ -98,7 +102,10 @@ Package MEC_MEC010p2_MEO_GRANT { appDId set to any_value, operationERROR set to INSTANTIATE, not addResources, - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ; ; ; from the MEPM entity @@ -119,9 +126,9 @@ Package MEC_MEC010p2_MEO_GRANT { "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -144,7 +151,10 @@ Package MEC_MEC010p2_MEO_GRANT { appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ;;; from the MEPM entity } @@ -158,7 +168,10 @@ Package MEC_MEC010p2_MEO_GRANT { id set to any_value, appInstanceId set to APP_INSTANCE_ID, appLcmOpOccId set to any_value, - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ; ; ;; @@ -175,10 +188,9 @@ Package MEC_MEC010p2_MEO_GRANT { "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", - "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -202,7 +214,10 @@ Package MEC_MEC010p2_MEO_GRANT { appDId set to any_value, operation set to INSTANTIATE, addResources set to INST_RESOURCES_LIST, - _links set to H_LINK + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ; ; ; @@ -226,9 +241,9 @@ Package MEC_MEC010p2_MEO_GRANT { "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -251,10 +266,13 @@ Package MEC_MEC010p2_MEO_GRANT { appLcmOpOccId set to any_value, appDId set to any_value, operation set to OPERATION_TYPE, //Shall be one from - OPERATE - TERMINATE - _links set to H_LINK - ; + _links containing + appLcmOpOcc set to APP_LCM_OP_OCC_LINK, + appInstance set to APP_INSTANCE_LINK + ; ; ; + ; from the MEPM entity } then { @@ -267,23 +285,25 @@ Package MEC_MEC010p2_MEO_GRANT { } } } - - Test Purpose { + + + 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" + "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" + Reference + "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2", + "ETSI GS MEC 010-2 3.1.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; + id indicating value GRANTING_ID, + link indicating value H_LINK; } Expected behaviour @@ -296,33 +316,35 @@ Package MEC_MEC010p2_MEO_GRANT { } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to "/granting/v1/grants/{GRANTING_ID}" - ; + 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 set to H_LINK + ; + ; ; 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" + "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" + Reference + "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2" 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, - link indicating value H_LINK; + id indicating value GRANTING_ID; } Expected behaviour @@ -335,19 +357,17 @@ Package MEC_MEC010p2_MEO_GRANT { } 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 set to H_LINK - ; - ; + 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_NF" @@ -356,7 +376,7 @@ Package MEC_MEC010p2_MEO_GRANT { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2" Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index ea81165..9b8ef39 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -14,9 +14,11 @@ Package MEC_MEC010p2_MEO_PKGM { Test objective "Check that MEO creates a new App Package when requested" - 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 + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.2.2-1", // CreateAppPkg + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", // AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 - Note 1" // AppPkgInfo - Note 1 + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -51,16 +53,16 @@ Package MEC_MEC010p2_MEO_PKGM { appSoftwareVersion set to any_value, appDVersion set to APP_PKG_VERSION, checksum set to CHECKSUM, - softwareImages, + softwareImages set to SW_IMAGES, //See Note 1 onboardingState set to "CREATED", operationalState set to "ENABLED", usageState set to "NOT_IN_USE", - mecInfo + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing self set to any_value, appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + appPkgContent set to any_value + // No vnfPkgInfo See Note 3 ; ; ; @@ -76,8 +78,9 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.2.2-1" // CreateAppPkg + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -92,7 +95,7 @@ Package MEC_MEC010p2_MEO_PKGM { uri indicating value "/app_pkgm/v1/app_packages", body containing CreateAppPkg containing - appPkgName set to "", + appPkgNameERR set to APP_PKG_NAME, //Wrong parameter name appPkgVersion set to APP_PKG_VERSION, checksum set to CHECKSUM, appPkgPath set to APP_PKG_PATH @@ -115,9 +118,9 @@ Package MEC_MEC010p2_MEO_PKGM { "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", - "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -148,16 +151,16 @@ Package MEC_MEC010p2_MEO_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing self set to any_value, appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + appPkgContent set to any_value + // See Note 3 ; ; ; @@ -175,9 +178,9 @@ Package MEC_MEC010p2_MEO_PKGM { "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", - "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -208,16 +211,16 @@ Package MEC_MEC010p2_MEO_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", 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 + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, + _links containing + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -235,8 +238,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -250,7 +253,7 @@ Package MEC_MEC010p2_MEO_PKGM { 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 + operationalStatus indicating value any_value // the query parameter should be operationalState not operationalStatus ; ; from the MEC_OSS entity } @@ -269,9 +272,9 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -301,16 +304,16 @@ Package MEC_MEC010p2_MEO_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -327,9 +330,9 @@ Package MEC_MEC010p2_MEO_PKGM { "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", - "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -363,12 +366,16 @@ Package MEC_MEC010p2_MEO_PKGM { onboardingState, operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", + operationalState set to any_value, + usageState set to any_value, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -385,8 +392,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -417,7 +424,7 @@ Package MEC_MEC010p2_MEO_PKGM { Test objective "Check that MEO deletes an App Package when requested" - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.2.3.4" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -449,8 +456,7 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -481,8 +487,8 @@ Package MEC_MEC010p2_MEO_PKGM { 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" - + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -526,7 +532,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -566,8 +573,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -605,10 +612,10 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO 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" - + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.7", //Type: AppPkgSubscription + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4" //Type: AppPkgSubscriptionInfo + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -624,7 +631,7 @@ Package MEC_MEC010p2_MEO_PKGM { body containing AppPkgSubscription containing callbackUri set to URI, - subscriptionType set to SUBSCRIPTION_TYPE + subscriptionType set to SUBSCRIPTION_TYPE //It could be either AppPackageOnBoardingSubscription or AppPackageChangeSubscription or AppPackageDeletionSubscription ; ; ; @@ -636,7 +643,7 @@ Package MEC_MEC010p2_MEO_PKGM { body containing AppPkgSubscriptionInfo containing subscriptionId set to any_value, - subscriptionType set to SUBSCRIPTION_TYPE, + subscriptionType set to SUBSCRIPTION_TYPE, callbackUri set to URI, _links ; @@ -655,9 +662,9 @@ Package MEC_MEC010p2_MEO_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.7.2-1", //AppPkgSubscription + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -695,9 +702,8 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.5.2-1" //AppPkgSubscriptionLinkList Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -726,7 +732,8 @@ Package MEC_MEC010p2_MEO_PKGM { self indicating value any_value, subscriptions containing href set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}", - subscriptionType indicating value any_value + subscriptionType indicating value SUBSCRIPTION_TYPE //It must be either AppPackageOnBoardingSubscription or + //AppPackageChangeSubscription or AppPackageDeletionSubscription ; ; ; @@ -745,8 +752,8 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO service returns an Application Package Subscription when requested" 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 3.1.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -771,7 +778,7 @@ Package MEC_MEC010p2_MEO_PKGM { body containing AppPkgSubscriptionInfo containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to any_value, + subscriptionType indicating value SUBSCRIPTION_TYPE, //It must be either AppPackageOnBoardingSubscription or AppPackageChangeSubscription or AppPackageDeletionSubscription callbackUri set to any_value, _links containing self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" @@ -792,9 +799,8 @@ Package MEC_MEC010p2_MEO_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -830,7 +836,7 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO service deletes an Application Package Subscription when requested" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -866,9 +872,7 @@ Package MEC_MEC010p2_MEO_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.4" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -905,8 +909,8 @@ Package MEC_MEC010p2_MEO_PKGM { 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", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.3.6" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.5.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.6.2-1" //AppPkgNotification Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS @@ -914,9 +918,11 @@ Package MEC_MEC010p2_MEO_PKGM { Initial conditions with { the IUT entity having a Subscription containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, + subscriptionType set to AppPackageOnBoardingSubscription, callbackUri set to CALLBACK_URI, - _links + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; } @@ -932,7 +938,7 @@ Package MEC_MEC010p2_MEO_PKGM { body containing AppPkgNotification containing notificationId set to NOTIFICATION_ID, - notificationType indicating value any_value, + notificationType indicating value AppPackageOnBoarded, subscriptionId set to SUBSCRIPTION_ID, timeStamp set to any_value, appPkgId set to any_value, @@ -955,7 +961,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.1.2.2-1" //AppD Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -988,6 +995,8 @@ Package MEC_MEC010p2_MEO_PKGM { } } + + Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_NF" //Negative case 404 Not found @@ -995,8 +1004,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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 + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2" + Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1009,7 +1018,7 @@ Package MEC_MEC010p2_MEO_PKGM { Expected behaviour ensure that { when { - the IUT entity receives a vPUT containing + the IUT entity receives a vGET containing uri indicating value "/app_pkgm/v1/app_packages/{NON_EXISTENT_APP_PKG_ID}/appd" ; from the MEC_OSS entity } @@ -1021,6 +1030,7 @@ Package MEC_MEC010p2_MEO_PKGM { } } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_OK" @@ -1028,7 +1038,7 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1068,7 +1078,7 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1108,7 +1118,7 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO service sends an error when it receives a malformed request" - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1139,10 +1149,10 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_NF" Test objective - "Check that MEO service sends an error when it receives a request refering a wrong appPkgId" + "Check that MEO service sends an error when it receives a request referring a wrong appPkgId" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1176,10 +1186,10 @@ Package MEC_MEC010p2_MEO_PKGM { TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF" Test objective - "Check that MEO service sends an error when it receives a request refering a wrong on-boarded appPkgId" + "Check that MEO service sends an error when it receives a request referring a wrong on-boarded appPkgId" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1216,8 +1226,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.3", + "ETSI GS MEC 010-2 3.1.1, clause 6.2.1.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -1255,8 +1265,8 @@ Package MEC_MEC010p2_MEO_PKGM { "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", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.3", + "ETSI GS MEC 010-2 3.1.1, clause 6.2.1.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index bcd133d..d075377 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 @@ -13,8 +13,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { "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 + "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -34,7 +34,10 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { } then { the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted" + status set to "202 Accepted", + headers containing + Location set to "/app_lcm/v1/app_lcm_op_occs/APP_LCM_OP_OCC_ID" + ; ; to the MEO entity } @@ -49,8 +52,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { 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 + "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -86,8 +89,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { 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 + "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -105,7 +108,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { 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 + appServiceRequired set to some_values ; ; ; diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 index 1f8a765..ea1351d 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 @@ -13,9 +13,9 @@ Package MEC_MEC010p2_MEPM_PKGM { "Check that MEPM 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", - "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -46,16 +46,17 @@ Package MEC_MEC010p2_MEPM_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 + ; ; ; @@ -73,9 +74,9 @@ Package MEC_MEC010p2_MEPM_PKGM { "Check that MEPM returns the list of on-boarded App Packages when requested - Note 3" 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -106,16 +107,16 @@ Package MEC_MEC010p2_MEPM_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -134,9 +135,7 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -172,9 +171,9 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -204,16 +203,16 @@ Package MEC_MEC010p2_MEPM_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -230,9 +229,9 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -262,16 +261,16 @@ Package MEC_MEC010p2_MEPM_PKGM { appSoftwareVersion set to any_value, appDVersion set to any_value, checksum set to any_value, - softwareImages, - onboardingState, + softwareImages set to SW_IMAGES, //See Note 1 + onboardingState set to "CREATED", operationalState set to any_value, usageState set to any_value, - mecInfo, + mecInfo set to ARRAY_OF_MEC_INFO_COMPATIBLE_VERSIONS, _links containing - self set to any_value, - appD set to any_value, - appPkgContent set to any_value, - not vnfPkgInfo // See Note 3 + self set to app_pkgm/v1/app_packages/APP_PKG_ID, + appD set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID, + appPkgContent set to app_packages/APP_PKG_ID/onboarded_app_packages/ON_BOARDED_APPD_ID/package_content + // See Note 3 ; ; ; @@ -289,9 +288,7 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -326,9 +323,9 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.7.2-1", //AppPkgSubscription + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -368,6 +365,7 @@ Package MEC_MEC010p2_MEPM_PKGM { } } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEPM_PKGM_003_BR" @@ -375,7 +373,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -414,9 +412,8 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.5.2-1" //AppPkgSubscriptionLinkList Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -464,8 +461,8 @@ Package MEC_MEC010p2_MEPM_PKGM { "Check that MEPM service returns an Application Package Subscription when requested" 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 3.1.1, clause 7.3.4.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -511,9 +508,7 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -549,7 +544,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "Check that MEPM service deletes an Application Package Subscription when requested" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -585,9 +580,7 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -624,8 +617,8 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.5.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.6.2-1" //AppPkgNotification Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS @@ -633,9 +626,11 @@ Package MEC_MEC010p2_MEPM_PKGM { Initial conditions with { the IUT entity having a Subscription containing subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, + subscriptionType set to AppPackageOnBoardingSubscription, callbackUri set to CALLBACK_URI, - _links + _links containing + self set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; ; } @@ -650,7 +645,7 @@ Package MEC_MEC010p2_MEPM_PKGM { uri indicating value CALLBACK_URI, body containing notificationId set to NOTIFICATION_ID, - notificationType indicating value any_value, + notificationType indicating value AppPackageOnBoarded, subscriptionId set to SUBSCRIPTION_ID, timeStamp set to any_value, appPkgId set to any_value, @@ -673,7 +668,7 @@ Package MEC_MEC010p2_MEPM_PKGM { a POST request referring an application descriptor AppD" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.1" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.1" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -709,8 +704,8 @@ Package MEC_MEC010p2_MEPM_PKGM { "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", - "ETSI GS MEC 010-2 2.2.1, clause 6.2.1.2" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.1.2.2-1" //AppD Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -752,8 +747,7 @@ Package MEC_MEC010p2_MEPM_PKGM { 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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -789,7 +783,7 @@ Package MEC_MEC010p2_MEPM_PKGM { a PUT request referring an application descriptor AppD" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.3" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.3" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -826,7 +820,7 @@ Package MEC_MEC010p2_MEPM_PKGM { a DELETE request referring an application descriptor AppD" Reference - "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.4" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.4" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -862,7 +856,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -902,7 +896,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -942,7 +936,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -979,7 +973,7 @@ Package MEC_MEC010p2_MEPM_PKGM { "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" + "ETSI GS MEC 010-2 3.1.1, clause 7.3.7.3.2" Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT -- GitLab From 47752b4d49d582ee6a9951ad308ce6d9aef83855 Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 21 Jul 2023 09:07:40 +0200 Subject: [PATCH 32/70] Updated MEC010p2 TCs to v3.1.1 --- .../MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 | 1412 +++++++++++++++++ .../MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 | 631 -------- .../MEX/LCM/AppInstanceMgmt_BV.tplan2 | 763 --------- .../LCM/AppInstanceMgmt_notifications.tplan2 | 62 - 4 files changed, 1412 insertions(+), 1456 deletions(-) create mode 100644 Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 delete mode 100644 Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 delete mode 100644 Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 delete mode 100644 Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 new file mode 100644 index 0000000..d70bddc --- /dev/null +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 @@ -0,0 +1,1412 @@ +/* +Copyright (c) ETSI 2018-2023. +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_MEX_LCM_001_OK" // It applies for MM1 and MM3 on MEC10-2 + + Test objective + "Check that MEC API provider creates a new App Package when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDId set to APP_D_ID + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + AppInstanceInfo containing + id set to any_value, + appDId set to APP_D_ID, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to NOT_INSTANTIATED, + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}", + instantiate set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate" + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_001_BR" + + Test objective + "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 3.1.1, clause 7.4.1.3.1", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances", + body containing + CreateAppInstanceRequest containing + appDDDId set to APP_D_ID //Wrong parameter into the request body + ; + ; + ; 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_002_OK" + + Test objective + "Check that MEC API provider retrieves the list of App instances when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.1.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_instances" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInstanceInfoList containing + AppInstanceInfo containing + appInstanceId set to APP_INSTANCE_ID, + appDId set to any_value, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to any_value, + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_003_OK" + + Test objective + "Check that MEC API provider retrieves an App Package when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInstanceInfo containing + appInstanceId set to APP_INSTANCE_ID, + appDId set to any_value, + appProvider set to any_value, + appName set to any_value, + appSoftVersion set to any_value, + appDVersion set to any_value, + appPkgId set to any_value, + instantiationState set to any_value, + _links containing + self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; + ; + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_003_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API provider fails on retrieving an App Instance when requested using wrong appInstanceId" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.2", + "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_004_OK" + + Test objective + "Check that MEC API provider service deletes an App Instance when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_004_NF" // Wrong APP_INSTANCE_ID + + Test objective + "Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_005_OK" + + Test objective + "Check that MEC API provider service instantiates an App Instance when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + body containing + InstantiateAppRequest containing + selectedMECHostInfo set to SELECTED_MEC_HOST_INFO + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_005_BR" + + Test objective + "Check that MEC API provider service fails to instantiate an App Instance when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value NOT_INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", + body containing + InstantiateAppRequest containing + appERRORId set to APP_INSTANCE_ID //wrong name of the parameter + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad request" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_005_NF" // Wrong APP_INSTANCE_ID + + Test objective + "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 3.1.1, clause 7.4.6.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_006_OK" + + Test objective + "Check that MEC API provider service terminates an App Instance when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", + body containing + TerminateAppRequest containing + terminationType set to TERMINATION_TYPE //It must be either FORCEFUL or GRACEFUL + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_006_BR" + + Test objective + "Check that MEC API provider service fails to terminate an App Instance when it receives a malformed request" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", + body containing + TerminateAppRequest containing + terminationERRORType set to GRACEFUL //wrong parameter + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad request" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_006_NF" // Wrong APP_INSTANCE_ID + + Test objective + "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 3.1.1, clause 7.4.7.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + +Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_007_OK" + + Test objective + "Check that MEC API provider service changes the status of an App Instance" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID, + instantiationState indicating value INSTANTIATED, + operationalState indicating value INITIAL_STATE + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", + body containing + OperateAppRequest containing + changeStateTo set to STOPPED + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "202 Accepted", + headers containing + Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + ; + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_007_BR" + + Test objective + "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 3.1.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Instance containing + appInstanceId indicating value APP_INSTANCE_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", + body containing + OperateAppRequest containing + changeERRORStateTo set to any_value //wrong parameter + ; + ; + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad request" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_007_NF" // Wrong APP_INSTANCE_ID + + Test objective + "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 3.1.1, clause 7.4.8.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance containing + appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_008_OK" + + Test objective + "Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.9.3.2", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.13.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_lcm_op_occs" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppLcmOpOccList containing + AppInstanceLcmOpOcc containing + id set to APP_LCM_OP_OCC_ID, + operationState set to OPERATIONAL_STATE,//It must be either STARTING or PROCESSING or COMPLETED or FAILED or FAILED_TEMP + stateEnteredTime set to any_value, + startTime set to any_value, + lcmOperation set to LCM_OPERATION, //It must be either INSTANTIATE or OPERATE or TERMINATE + _links containing + self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + appInstance set to any_value + ; + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_009_OK" + + Test objective + "Check that MEC API provider service retrieves info about LCM Operation Occurrence on an App Instance when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.10.3.2", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1" // AppLcmOpOcc + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + AppInstanceLcmOpOcc containing + id set to APP_LCM_OP_OCC_ID, + operationState set to OPERATIONAL_STATE,//It must be either STARTING or PROCESSING or COMPLETED or FAILED or FAILED_TEMP + stateEnteredTime set to any_value, + startTime set to any_value, + lcmOperation set to LCM_OPERATION, //It must be either INSTANTIATE or OPERATE or TERMINATE + _links containing + self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + appInstance set to any_value + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_009_NF" + + Test objective + "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 3.1.1, clause 7.4.10.1.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Lcm_Op_Occ containing + appLcmOpOccId indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_LCM_OP_OCC_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_010_OK" + + Test objective + "Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can + have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/subscriptions" + body containing + AppInstSubscriptionRequest containing + callbackUri set to CALLBACK_URI, + subscriptionType set to SUBSCRIPTION_TYPE + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "201 Created", + body containing + AppInstSubscriptionRequest containing + subscriptionId set to any_value, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to CALLBACK_URI, + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_010_BR" + + Test objective + "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 3.1.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/app_lcm/v1/subscriptions" + body containing + AppInstSubscriptionRequest containing + callbackERRORUri set to CALLBACK_URI //wrong parameter + ; + ; + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_011_OK" + + Test objective + "Check that MEC API provider service sends the list of LCM Subscriptions when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.3.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID, + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value URI + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/subscriptions" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + SubscriptionInfoList containing + SubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to URI, + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + 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" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.4.3.2", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID, + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value URI + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + SubscriptionInfo containing + subscriptionId set to SUBSCRIPTION_ID, + subscriptionType set to SUBSCRIPTION_TYPE, + callbackUri set to URI, + _links containing + _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_012_NF" + + Test objective + "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 3.1.1, clause 7.4.3.3.2" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance_Subscription containing + subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" + + Test objective + "Check that MEC API provider service delete an existing LCM Subscription when requested" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.4.3.4" + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity having a Subscription containing + subscriptionId indicating value SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; + to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEX_LCM_013_NF" + + Test objective + "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 3.1.1, clause 7.4.3.3.4" + + Config Id Config_MEC_6 + + PICS Selection PIC_APP_LCM_MANAGEMENT + + Initial conditions with { + the IUT entity not having a App_Instance_Subscription containing + subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" + ; from the MEC_CONSUMER entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found" + ; to the MEC_CONSUMER entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_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 3.1.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 3.1.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 AppLcmOpOcc containing + id indicating value APP_LCM_OP_OCC_ID, + operationState indicating value PROCESSING, + stateEnteredTime indicating value any_value, + startTime indicating value any_value, + lcmOperation indicating value INSTANTIATE, + _links containing + _self set to "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + appInstance set to "/app_lcm/v1/app_instances/{APP_INSTANCE_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_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 3.1.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 3.1.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 3.1.1, clause 7.4.11.3.1", + "ETSI GS MEC 010-2 3.1.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_OK" + + Test objective + "Check that MEC API provider service makes failed an on going LCM Operation" + + Reference "ETSI GS MEC 010-2 3.1.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_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 3.1.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_OK" + + Test objective + "Check that MEC API provider service retries an on going LCM Operation" + + Reference "ETSI GS MEC 010-2 3.1.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 + } + } + } + + 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 3.1.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 + } + } + } + + Test Purpose { + 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" + + Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.5.3.1", + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.11.2-1", // AppInstNotification + "ETSI GS MEC 010-2 3.1.1, table 6.3.1.16.2-1", // AppLcmOpOccNotification + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.27.2-1", // AppInstanceIdentifierCreationNotification + "ETSI GS MEC 010-2 3.1.1, table 6.2.2.30.2-1" // AppInstanceIdentifierDeletionNotification + + + Config Id Config_MEC_6 + PICS Selection PIC_APP_LCM_NOTIFICATIONS + + Initial conditions with { + the IUT entity having a App_Instance_Subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackUri indicating value CALLBACK_URI, + _links containing + self indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity generates a application_lcm_change_event containing + notificationId set to NOTIFICATION_ID; + } + then { + the IUT entity sends a vPOST containing + uri indicating value CALLBACK_URI, + body containing + Notification containing + id set to NOTIFICATION_ID, + notificationType set to NOTIFICATION_TYPE, + subscriptionId set to SUBSCRIPTION_ID, + timeStamp set to any_value, + appInstanceId set to APP_INSTANCE_ID, + appDId set to any_value, + _links containing + subscription set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" + ; + ; + ; + ; to the MEC_SUB entity + } + } + } + +} diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 deleted file mode 100644 index 374dcb5..0000000 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BO-BI.tplan2 +++ /dev/null @@ -1,631 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -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_MEX_LCM_001_BR" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDDDId set to APP_D_ID //Wrong parameter into the request body - ; - ; - ; 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_003_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEC API provider fails on retrieving an App Instance when requested using wrong appInstanceId" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_004_NF" // Wrong APP_INSTANCE_ID - - Test objective - "Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_005_BR" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", - body containing - InstantiateAppRequest containing - appERRORId set to APP_INSTANCE_ID //wrong name of the parameter - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad request" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_005_NF" // Wrong APP_INSTANCE_ID - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/instantiate" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_006_BR" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", - body containing - TerminateAppRequest containing - terminationERRORType set to GRACEFUL //wrong parameter - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad request" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_006_NF" // Wrong APP_INSTANCE_ID - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/terminate" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_007_BR" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", - body containing - OperateAppRequest containing - changeERRORStateTo set to any_value //wrong parameter - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad request" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_007_NF" // Wrong APP_INSTANCE_ID - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance containing - appInstanceId indicating value NON_EXISTENT_APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{NON_EXISTENT_APP_INSTANCE_ID}/operate" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_009_NF" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value NON_EXISTENT_APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_LCM_OP_OCC_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_010_BR" - - Test objective - "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 - - 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_lcm/v1/subscriptions" - body containing - AppInstSubscriptionRequest containing - callbackERRORUri set to CALLBACK_URI //wrong parameter - ; - ; - ; - from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; - to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_012_NF" - - Test objective - "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.2.1, clause 7.4.3.3.2" - - Config Id Config_MEC_6 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance_Subscription containing - subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_013_NF" - - Test objective - "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.2.1, clause 7.4.3.3.4" - - Config Id Config_MEC_6 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity not having a App_Instance_Subscription containing - subscriptionId set to NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_lcm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_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 deleted file mode 100644 index 682728a..0000000 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_BV.tplan2 +++ /dev/null @@ -1,763 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_APP_INSTANCE_LCM { - - import all from MEC_Common; - - //All APP packages - - - Test Purpose { - 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" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances", - body containing - CreateAppInstanceRequest containing - appDId set to APP_D_ID - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - body containing - AppInstanceInfo containing - id set to any_value, - appDId set to APP_D_ID, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to NOT_INSTANTIATED, - _links containing - self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; - ; - ; - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_002_OK" - - Test objective - "Check that MEC API provider retrieves the list of App instances when requested" - - Reference "ETSI GS MEC 010-2 2.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_instances" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppInstanceInfoList containing // Definition of AppInstanceInfoList is missing. How to handle with arrays? - AppInstanceInfo containing - appInstanceId set to APP_INSTANCE_ID, - appDId set to any_value, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to any_value, - _links containing - self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; - ; - ; - ; - ; to the MEC_CONSUMER entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_003_OK" - - Test objective - "Check that MEC API provider retrieves an App Package when requested" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppInstanceInfo containing - appInstanceId set to APP_INSTANCE_ID, - appDId set to any_value, - appProvider set to any_value, - appName set to any_value, - appSoftVersion set to any_value, - appDVersion set to any_value, - appPkgId set to any_value, - instantiationState set to any_value, - _links containing - self set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; - ; - ; - ; to the MEC_CONSUMER entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_004_OK" - - Test objective - "Check that MEC API provider service deletes an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4" - - Config Id Config_MEC_6 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_005_OK" - - Test objective - "Check that MEC API provider service instantiates an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value NOT_INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/instantiate", - body containing - InstantiateAppRequest containing - selectedMECHostInfo set to SELECTED_MEC_HOST_INFO - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" - ; - ; to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_006_OK" - - Test objective - "Check that MEC API provider service terminates an App Instance when requested" - - Reference "ETSI GS MEC 010-2 2.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/terminate", - body containing - TerminateAppRequest containing - terminationType set to TERMINATION_TYPE - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to LOCATION_OF_APP_OP_OCC - ; - ; to the MEC_CONSUMER entity - } - } - } - - - - Test Purpose { - 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. - The following combinations INITIAL_STATE - FINAL_STATE are supported: - - STARTED/STOP - - STOPPED/START" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Instance containing - appInstanceId indicating value APP_INSTANCE_ID, - instantiationState indicating value INSTANTIATED, - operationalState indicating value INITIAL_STATE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}/operate", - body containing - OperateAppRequest containing - changeStateTo set to FINAL_STATE - ; - ; - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "202 Accepted", - headers containing - Location set to LOCATION_OF_APP_OP_OCC - ; - ; to the MEC_CONSUMER entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_008_OK" - - Test objective - "Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested" - - 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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_lcm_op_occs" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppLcmOpOccList containing - AppInstanceLcmOpOcc containing - 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, - _links containing - self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", - appInstance set to any_value - ; - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_009_OK" - - Test objective - "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.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 - - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a App_Lcm_Op_Occ containing - appLcmOpOccId indicating value APP_LCM_OP_OCC_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}" - ; from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - AppInstanceLcmOpOcc containing - 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, - _links containing - self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", - appInstance set to any_value - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_010_OK" - - Test objective - "Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can - have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" - - Reference "ETSI GS MEC 010-2 2.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 - - 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_lcm/v1/subscriptions" - body containing - AppInstSubscriptionRequest containing - callbackUri set to CALLBACK_URI, - subscriptionType set to SUBSCRIPTION_TYPE - ; - ; - ; - from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "201 Created", - body containing - AppInstSubscriptionRequest containing - subscriptionId set to any_value, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to CALLBACK_URI, - _links containing - _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - - - - Test Purpose { - 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" - - 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 - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID, - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value URI - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/subscriptions" - ; - from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - SubscriptionInfoList containing - SubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to URI, - _links containing - _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - 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" - - 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 - "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 - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID, - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value URI - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - SubscriptionInfo containing - subscriptionId set to SUBSCRIPTION_ID, - subscriptionType set to SUBSCRIPTION_TYPE, - callbackUri set to URI, - _links containing - _self set to "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; - to the MEC_CONSUMER entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC010p2_MEX_LCM_013_OK" - - Test objective - "Check that MEC API provider service delete an existing LCM Subscription when requested" - - Reference "ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.4" - - Config Id Config_MEC_6 - PICS Selection PIC_APP_LCM_MANAGEMENT - - Initial conditions with { - the IUT entity having a Subscription containing - subscriptionId indicating value SUBSCRIPTION_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_CONSUMER entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; - to the MEC_CONSUMER entity - } - } - } - - -Test Purpose { - TP Id "TP_MEC_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 - } - } - } - -} diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 deleted file mode 100644 index 1a27c29..0000000 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt_notifications.tplan2 +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ -Package MEC_MEC010p2_LCM_NOTIF { - - import all from MEC_Common; - - Test Purpose { - 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" - - 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 - PICS Selection PIC_APP_LCM_NOTIFICATIONS - - Initial conditions with { - the IUT entity having a App_Instance_Subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackUri indicating value CALLBACK_URI, - _links containing - self indicating value "/app_lcm/v1/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity generates a application_lcm_change_event containing - notificationId set to NOTIFICATION_ID; - } - then { - the IUT entity sends a vPOST containing - uri indicating value CALLBACK_URI, - body containing - Notification containing - id set to NOTIFICATION_ID, - notificationType set to NOTIFICATION_TYPE, - subscriptionId set to SUBSCRIPTION_ID, - timeStamp set to any_value, - appInstanceId set to APP_INSTANCE_ID, - appDId set to any_value, - _links containing - subscription set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" - ; - ; - ; - ; to the MEC_SUB entity - } - } - } - -} -- GitLab From 149ae9287964c4e370f15c8dd18a9d0480c77f27 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 31 Jul 2023 14:43:35 +0200 Subject: [PATCH 33/70] Updated TPs for MEC014 to version 3.1.1 --- .../MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index 1c3c03a..627f54b 100644 --- a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -29,9 +29,9 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT responds with the information on a UE Identity tag when queried by a MEC Application" - Reference "ETSI GS MEC 014 1.1.1, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/UeIdentityTagInfo" - + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.1", + "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -48,7 +48,7 @@ Package MEC_MEC014_SRV_UETAG { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "ui/v1/{APP_INSTANCE_ID}/ue_identity_tag_info", + uri indicating value "/ui/v1/{APP_INSTANCE_ID}/ue_identity_tag_info", query_parameters containing ueIdentityTag indicating value UE_IDENTITY_TAG ; @@ -63,7 +63,8 @@ Package MEC_MEC014_SRV_UETAG { UeIdentityTagInfo containing ueIdentityTagsList containing ueIdentityTags containing - ueIdentityTag set to UE_IDENTITY_TAG + ueIdentityTag set to UE_IDENTITY_TAG, + state set to REGISTERED ; ; ; @@ -82,7 +83,7 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 014 1.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -127,7 +128,7 @@ Package MEC_MEC014_SRV_UETAG { a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" - Reference "ETSI GS MEC 014 1.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -170,9 +171,9 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT registers a tag (representing a UE) or a list of tags when commanded by a MEC Application" - Reference "ETSI GS MEC 014 1.1.1, clause 7.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/UeIdentityTagInfo" - + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", + "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -231,9 +232,9 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application" - Reference "ETSI GS MEC 014 1.1.1, clause 7.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/ueIdentityTagsList" - + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", + "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -281,9 +282,7 @@ x if_match indicating value PROPER_ETAG, "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 014 1.1.1, clause 7.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/ueIdentityTagsList" - + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2" Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -331,9 +330,7 @@ x if_match indicating value PROPER_ETAG, "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 014 1.1.1, clause 7.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs014-ue-identity-api/blob/master/UEidentityAPI.yaml#/definitions/ueIdentityTagsList" - + Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2" Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES -- GitLab From 2003c8cf98c209dbe8d977f565a5b2d2773ddbe6 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 7 Aug 2023 17:03:42 +0200 Subject: [PATCH 34/70] TTF012: Updated TPs of MEC028 from v2.2.1 to v2.3.1 --- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 48 ++-- .../MEC028/SRV/WAI/ExistingSub.tplan2 | 40 +-- .../MEC028/SRV/WAI/Measurement.tplan2 | 259 +++++------------- .../SRV/WAI/NotificationCallback.tplan2 | 13 +- .../MEC028/SRV/WAI/StationInfo.tplan2 | 17 +- .../MEC028/SRV/WAI/Subscription.tplan2 | 36 ++- 6 files changed, 164 insertions(+), 249 deletions(-) diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index 2b14dd4..6d934b6 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -10,8 +10,9 @@ 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.2.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo" + Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258" Config Id Config_MEC_4 @@ -20,7 +21,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity having a ApInfo containing apId containing - macId indicating value MAC_ID + bssid indicating value BSSID ; ; } @@ -39,12 +40,14 @@ Package MEC_MEC028_SRV_WAI { 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 - ; - ; - ; + ApInfoList containing + ApInfo containing + apId containing + bssid set to BSSID + ; + ; + ; + ; ; to the MEC_APP entity } @@ -55,9 +58,12 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.3.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo" + "Check that the IUT responds with + the list of WLAN Access Point filtered by the bssid provided as query parameter" + Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258" + Config Id Config_MEC_4 @@ -66,7 +72,7 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity having a ApInfo containing apId containing - macId indicating value MAC_ID + bssid indicating value BSSID ; ; } @@ -78,7 +84,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v2/queries/ap/ap_information", query_parameters containing - macId indicating value MAC_ID + bssid indicating value BSSID ; ; from the MEC_APP entity @@ -88,12 +94,14 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing + ApInfoList containing ApInfo containing apId containing - macId set to MAC_ID - ; - ; - ; + bssid indicating value BSSID + ; + ; + ; + ; ; to the MEC_APP entity } @@ -106,7 +114,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.2.1, clause 7.3.3.1" + Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1" Config Id Config_MEC_4 @@ -124,7 +132,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v2/queries/ap/ap_information", query_parameters containing - mac indicating value MAC_ID + bss_id indicating value BSSID //Correct parameter is bssid w/o underscore ; ; from the MEC_APP entity diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 96f8687..5c7dbd1 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -10,8 +10,9 @@ 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.2.1, clause 7.6.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -42,7 +43,7 @@ Package MEC_MEC028_SRV_WAI { subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -56,8 +57,9 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.6.3.1" + "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.3.1, clause 7.6.3.1" Config Id Config_MEC_4 @@ -87,14 +89,15 @@ Package MEC_MEC028_SRV_WAI { } } } - - + Test Purpose { 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.2.1, clause 7.6.3.2" + Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.2", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -108,7 +111,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to URI_TO_RESOURCE, apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -127,7 +130,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to URI_TO_RESOURCE, apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -147,7 +150,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to "uri/to/resource", apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -161,8 +164,9 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.6.3.2" + "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.3.1, clause 7.6.3.2" Config Id Config_MEC_4 @@ -176,7 +180,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to URI_TO_RESOURCE, apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -196,7 +200,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to "uri/to/resource", apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -219,7 +223,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.2.1, clause 7.6.3.5" + Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.5" Config Id Config_MEC_4 @@ -233,7 +237,7 @@ Package MEC_MEC028_SRV_WAI { _links containing self set to URI_TO_RESOURCE, apId containing - macId set to MAC_ID + bssid indicating value BSSID ; ; ; @@ -263,7 +267,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.2.1, clause 7.6.3.5" + Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.5" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index 54def69..505e669 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -9,9 +9,11 @@ Package MEC_MEC028_SRV_WAI { 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" + "Check that the IUT responds with a list of measurement configurations available + from the WLAN Access Information Service" + Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.5-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1961" Config Id Config_MEC_4 @@ -19,8 +21,14 @@ Package MEC_MEC028_SRV_WAI { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity having a MeasurementConfig containing - measurementConfig set to ANY_VALUE + the IUT entity having a MeasurementConfigLinkList containing + _links containing + href indicating value "/wai/v2/queries/measurements/MEASUREMENT_ID", + measurementConfig containing + href set to ANY_VALUE, + measurementId set to MEASUREMENT_ID + ; + ; ; } // MEC 028, clause 5.2.7 @@ -39,99 +47,29 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfigLinkList containing - measurementConfig set to ANY_VALUE - ; - ; - ; + _links containing + href indicating value "/wai/v2/queries/measurements/MEASUREMENT_ID", + measurementConfig containing + href set to ANY_VALUE, + measurementId set to MEASUREMENT_ID + ; + ; + ; + ; + ; 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 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/MeasurementConfig" + Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.4", + "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 @@ -163,12 +101,12 @@ Package MEC_MEC028_SRV_WAI { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - MeasurementConfig containing - staId containing - macId set to MAC_ID - ;, + MeasurementConfig containing measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE + staId containing + macId set to MAC_ID + ; ; ; ; @@ -181,9 +119,10 @@ Package MEC_MEC028_SRV_WAI { 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" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.4", + "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" + Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -201,11 +140,11 @@ Package MEC_MEC028_SRV_WAI { // How to trigger an error response. body containing MeasurementConfig containing - statId containing //staId is misspelled - macId set to MAC_ID - ;, measurementId set to MEAS_ID, measurementInfo set to CONFIG_VALUE + statId containing //staId is misspelled + macId set to MAC_ID + ; ; ; ; @@ -220,58 +159,14 @@ Package MEC_MEC028_SRV_WAI { } } } -/* - Test Purpose { - TP Id "TP_MEC_MEC028_SRV_WAI_013_NF" - 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_INVALID_URI" - body containing - MeasurementConfig containing - links indicating value H_LINKS, - staId containing - macId set to MAC_ID - ;, - measurementId set to MEAS_ID, - measurementInfo 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 { + 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" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -300,11 +195,11 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfig containing - staId containing - macId set to MAC_ID - ;, measurementId set to MEASUREMENT_CONFIG_ID, measurementInfo set to CONFIG_VALUE + staId containing + macId set to MAC_ID + ; ; ; ; @@ -317,9 +212,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_014_NF" 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.8.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.1" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -328,7 +221,7 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity not having a MeasurementConfig containing measurementConfig containing - measurementId set to INVALID_MEASUREMENT_CONFIG_ID + measurementId set to MEASUREMENT_CONFIG_ID ; ; } @@ -338,7 +231,7 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing - uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}" + uri indicating value "/wai/v2/queries/measurements/{MEASUREMENT_CONFIG_ID}" ; from the MEC_APP entity } @@ -356,9 +249,10 @@ Package MEC_MEC028_SRV_WAI { 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" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.2", + "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" + Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -367,11 +261,11 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing + measurementId set to MEASUREMENT_CONFIG_ID, + measurementInfo set to CONFIG_VALUE staId containing macId set to MAC_ID - ;, - measurementId set to INVALID_MEASUREMENT_CONFIG_ID, - measurementInfo set to CONFIG_VALUE + ; ; ; } @@ -381,14 +275,14 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPUT containing - uri indicating value "/wai/v2/queries/measurements/{measurementConfigId}", + uri indicating value "/wai/v2/queries/measurements/{MEASUREMENT_CONFIG_ID}", body containing MeasurementConfig containing + measurementId set to MEASUREMENT_CONFIG_ID, + measurementInfo set to NEW_CONFIG_VALUE, staId containing macId set to MAC_ID - ;, - measurementId set to MEASUREMENT_CONFIG_ID, - measurementInfo set to NEW_CONFIG_VALUE + ; ; ; ; @@ -400,11 +294,11 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing MeasurementConfigLinkList containing + measurementId set to MEASUREMENT_CONFIG_ID, + measurementInfo set to NEW_CONFIG_VALUE, staId containing macId set to MAC_ID - ;, - measurementId set to MEASUREMENT_CONFIG_ID, - measurementInfo set to NEW_CONFIG_VALUE + ; ; ; ; @@ -417,9 +311,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_015_NF" 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.8.3.2", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.2" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -428,7 +320,7 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity not having a MeasurementConfig containing measurementConfig containing - measurementId set to INVALID_MEASUREMENT_CONFIG_ID + measurementId set to MEASUREMENT_CONFIG_ID ; ; } @@ -441,11 +333,11 @@ Package MEC_MEC028_SRV_WAI { uri indicating value "/wai/v2/queries/measurements/{INVALID_MEASUREMENT_CONFIG_ID}", body containing MeasurementConfigLinkList containing + measurementId set to MEASUREMENT_CONFIG_ID, + measurementInfo set to NEW_CONFIG_VALUE, staId containing macId set to MAC_ID - ;, - measurementId set to INVALID_MEASUREMENT_CONFIG_ID, - measurementInfo set to NEW_CONFIG_VALUE + ; ; ; ; @@ -464,10 +356,9 @@ Package MEC_MEC028_SRV_WAI { 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" - + "Check that the IUT responds with with 204 + when requested to delete the specified measurement configuration" + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.5" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -476,11 +367,11 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity having a MeasurementConfig containing measurementConfig containing + measurementId set to MEASUREMENT_CONFIG_ID, + measurementInfo set to NCONFIG_VALUE, staId containing macId set to MAC_ID - ;, - measurementId set to MEASUREMENT_CONFIG_ID, - measurementInfo set to NCONFIG_VALUE + ; ; ; } @@ -508,9 +399,7 @@ Package MEC_MEC028_SRV_WAI { TP Id "TP_MEC_MEC028_SRV_WAI_016_NF" 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.8.3.5", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/MeasurementConfigLinkList" - + Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.5" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT @@ -519,7 +408,7 @@ Package MEC_MEC028_SRV_WAI { the IUT entity being_in idle_state and the IUT entity not having a MeasurementConfig containing - measurementId set to INVALID_MEASUREMENT_CONFIG_ID + measurementId set to MEASUREMENT_CONFIG_ID ; } // MEC 028, clause 5.2.7 diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 6dd9872..89840e6 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -13,8 +13,11 @@ 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.2.1, clause 6.4.2", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml" + Reference "ETSI GS MEC 028 2.3.1, clause 6.4.2", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309", + "ETSI GS MEC 028 2.3.1, Table 6.4.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1292" Config Id Config_MEC_4 @@ -25,7 +28,7 @@ Package MEC_MEC028_SRV_WAI { subscriptionType indicating value "AssocStaSubscription", callbackReference indicating value CALLBACK_URI, apId containing - macId set to MAC_ID + bssid set to BSSID ; ; } @@ -42,8 +45,8 @@ Package MEC_MEC028_SRV_WAI { uri indicating value CALLBACK_URI, body containing notificationType indicating value "AssocStaNotification", - apId containing - macId set to MAC_ID + apId containing + bssid set to BSSID ; ; ; diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index b560c19..e54c31a 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -6,12 +6,13 @@ Released under BSD 3-clause license. For more information visit https://forge.et Package MEC_MEC028_SRV_WAI { import all from MEC_Common; - Test Purpose { + Test Purpose { 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.2.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo" + Reference "ETSI GS MEC 028 2.3.1, clause 7.4.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.3-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374" Config Id Config_MEC_4 @@ -56,9 +57,11 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.4.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo" + "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.3.1, clause 7.4.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.2.3-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374" Config Id Config_MEC_4 @@ -108,7 +111,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.2.1, clause 7.4.3.1" + Reference "ETSI GS MEC 028 2.3.1, clause 7.4.3.1" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index fe63021..e5fb39d 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -10,8 +10,9 @@ 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.2.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.3.4-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L2625" Config Id Config_MEC_4 @@ -63,9 +64,11 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + "Check that the IUT responds with the requested list of subscription + when the MEC Platform is queried using a filter on subscription type." + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -121,9 +124,9 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { 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.2.1, clause 7.5.3.1", - "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" + "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.3.1, clause 7.5.3.1" Config Id Config_MEC_4 @@ -162,7 +165,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.2.1, clause 7.5.3.1" + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1" Config Id Config_MEC_4 @@ -198,7 +201,10 @@ 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.2.1, clause 7.5.3.4" + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.4", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" + Config Id Config_MEC_4 @@ -219,7 +225,7 @@ Package MEC_MEC028_SRV_WAI { subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, apId containing - macId set to MAC_ID + bssid set to BSSID ; ; ; @@ -239,7 +245,7 @@ Package MEC_MEC028_SRV_WAI { self containing href set to "/wai/v2/subscriptions/{SUBSCRIPTION_ID}", apId containing - macId set to MAC_ID + bssid set to BSSID ; ; ; @@ -255,7 +261,9 @@ 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.2.1, clause 7.5.3.4" + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.4", + "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -297,7 +305,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.2.1, clause 7.5.3.1" + Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1" Config Id Config_MEC_4 -- GitLab From 1fb9ab80f56b5c2da3e7c46751c41eb3600a7fc8 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 8 Aug 2023 10:24:41 +0200 Subject: [PATCH 35/70] Review of MEC 040 TPs during implementation --- .../MEC040/SRV/FederationEnablement.tplan2 | 116 +++++++++--------- 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index cc03370..b7bcd47 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -13,8 +13,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator - No query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -76,8 +76,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -131,8 +131,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -192,8 +192,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemId query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -257,8 +257,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -373,8 +373,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -438,8 +438,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -554,8 +554,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -619,8 +619,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -681,8 +681,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when selection is not applicable - SystemId" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -727,8 +727,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when selection is not applicable - SystemName" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -773,8 +773,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when selection is not applicable - SystemProvider" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -810,17 +810,17 @@ Package MEC_MEC040_SRV_FED { to the MEC_FED entity } } - } // End of TP_MEC_MEC040_SRV_MEF_001_BR + } // End of TP_MEC_MEC040_SRV_MEF_001_NF_03 Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_001_NF_03" + TP Id "TP_MEC_MEC040_SRV_MEF_001_BR" Test objective "Check that the IUT responds with an error when request is malformed" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -860,8 +860,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT creates a new systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1" Config Id Config_MEC_7 @@ -915,8 +915,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error on creating an existing systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1" Config Id Config_MEC_7 @@ -938,7 +938,7 @@ Package MEC_MEC040_SRV_FED { uri indicating value "fed_enablement/v1/fed_resources/system_info", body containing systemInfo containing - systemId indicating value omit, // Shall be absent in POST request + systemId indicating value SYSTEM_ID_1, // Shall be absent in POST request systemName indicating value SYSTEM_NAME_2, systemProvider indicating value SYSTEM_PROV_2 ; @@ -963,8 +963,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error on providing inconsistent data" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1" Config Id Config_MEC_7 @@ -1011,8 +1011,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1" Config Id Config_MEC_7 @@ -1024,7 +1024,7 @@ Package MEC_MEC040_SRV_FED { the MEC_FED entity having a systemInfoList containing systemInfo1 indicating value SYSTEM_ID_1, systemInfo2 indicating value SYSTEM_ID_2, - systemInfo1 indicating value SYSTEM_ID_3 + systemInfo3 indicating value SYSTEM_ID_3 ; } @@ -1104,8 +1104,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" - Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1" Config Id Config_MEC_7 @@ -1147,8 +1147,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1203,8 +1203,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1360,10 +1360,10 @@ Package MEC_MEC040_SRV_FED { TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_01" Test objective - "Check that the IUT responds with an error when requested to update an unknown systemInfo" + "Check that the IUT responds with an error when requested to update with an inconsistant URI" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1382,7 +1382,7 @@ Package MEC_MEC040_SRV_FED { ensure that { when { the IUT entity receives a vPATCH containing - uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" + uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" // Wrong version body containing SystemInfoUpdate containing systemName indicating value omit, @@ -1409,8 +1409,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when requested to update with no data provided" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1456,8 +1456,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3" Config Id Config_MEC_7 @@ -1538,14 +1538,15 @@ Package MEC_MEC040_SRV_FED { } // End of TP_MEC_MEC040_SRV_MEF_005_NF - Test Purpose { +/*** Not applicable yet */ + /*Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_006_OK" Test objective "Check that the IUT accepts a MEC application instance query and forward the response" - Reference "ETSI GS MEC 040 V3.1.1, clause 5.2.2.3", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 5.2.2.3" Config Id Config_MEC_7 @@ -1586,8 +1587,8 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT accepts a Service Availability query and forward the response" - Reference "ETSI GS MEC 040 V3.1.1, clause 5.2.2.4", - "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" + Reference + "ETSI GS MEC 040 V3.1.1, clause 5.2.2.4" Config Id Config_MEC_7 @@ -1620,6 +1621,7 @@ Package MEC_MEC040_SRV_FED { } } } // End of TP_MEC_MEC040_SRV_MEF_007_OK +*/ } // End of Package MEC_MEC040_SRV -- GitLab From 332ba37d42a004a6aa76cba451c89c854c34de05 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Thu, 7 Sep 2023 12:59:50 +0200 Subject: [PATCH 36/70] fixed query -> queries typo --- Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index 25e7148..197e67a 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -69,7 +69,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/rnis/v2/query/rab_info", + uri indicating value "/rnis/v2/queries/rab_info", query_parameters containing cell_id indicating value CELL_ID ; @@ -141,7 +141,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/rnis/v2/query/plmn_info", + uri indicating value "/rnis/v2/queries/plmn_info", query_parameters containing appInstanceId indicating value NOT_EXISTENT_APP_INSTANCE_ID ; @@ -218,7 +218,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/rnis/v2/query/s1_bearer_info", + uri indicating value "/rnis/v2/queries/s1_bearer_info", query_parameters containing cell_id indicating value NOT_EXISTENT_CELL_ID ; @@ -294,7 +294,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/rnis/v2/query/layer2_meas", + uri indicating value "/rnis/v2/queries/layer2_meas", query_parameters containing cell_id indicating value NOT_EXISTENT_CELL_ID ; -- GitLab From b828aec30e0fc849ac89e3ca9b016fd13f16122f Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Thu, 7 Sep 2023 15:53:41 +0200 Subject: [PATCH 37/70] bumped version and check consistency of MEC12 v2.2.1 wrt MEC12 v2.1.1 --- .../RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 4 ++-- .../SRV/RNIS/RnisAllSubscriptions_BV.tplan2 | 4 ++-- .../MEC012/SRV/RNIS/RnisNotifications.tplan2 | 20 +++++++++---------- .../MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 | 16 +++++++-------- .../MEC012/SRV/RNIS/RnisQuery_BV.tplan2 | 8 ++++---- .../RnisSpecificSubscription_BO_BI.tplan2 | 8 ++++---- .../RNIS/RnisSpecificSubscription_BV.tplan2 | 6 +++--- 7 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 index b4395e8..5546c3a 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 @@ -13,7 +13,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BI { 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" - Reference "ETSI GS MEC 012 2.1.1, clause 7.6.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS @@ -49,7 +49,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BI { 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" - Reference "ETSI GS MEC 012 2.1.1, clause 7.6.3.4", + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.4", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" Config Id Config_MEC_1 PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 index e92870f..1f28c2c 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BV { - ca_reconf Carrier Aggregation Reconfig - s1_bearer S1 Bearer Notification " - Reference "ETSI GS MEC 012 2.1.1, clause 7.6.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/SubscriptionLinkList" Config Id Config_MEC_1 PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS @@ -77,7 +77,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BV { - S1BearerSubscription - NrMeasRepUeSubscription" - Reference "ETSI GS MEC 012 2.1.1, clause 7.6.3.4" + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.4" Config Id Config_MEC_1 PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index fcf2636..1c393d7 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 @@ -14,7 +14,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about cell change if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.2", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.2", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -60,7 +60,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about RAB establishment if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.3", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.3", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -108,7 +108,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about RAB modification if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.4", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.4", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -150,7 +150,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about RAB release if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.5", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.5", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -193,7 +193,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about UE measurement report if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.6", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.6", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -237,7 +237,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about UE timing advance if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.7", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.7", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -280,7 +280,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about UE carrier aggregation reconfiguration if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.8", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.8", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -323,7 +323,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about S1-U bearer if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.10", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.10", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -368,7 +368,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification about 5G NR UE measurement report if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.11", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.11", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS @@ -407,7 +407,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { "Check that the RNIS service sends an RNIS notification on subscription expiration if the RNIS service has an associated subscription and the event is generated" - Reference "ETSI GS MEC 012 2.1.1, clause 6.4.9", + Reference "ETSI GS MEC 012 2.2.1, clause 6.4.9", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 PICS Selection PIC_RNIS_NOTIFICATIONS diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 index 197e67a..d1a53dd 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 @@ -13,7 +13,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the RAB information is requested with a malformatted message" - Reference "ETSI GS MEC 012 2.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.3.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 @@ -51,7 +51,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the RAB information for a not existing element is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.3.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 @@ -89,7 +89,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the PLMN information is requested with a malformatted message" - Reference "ETSI GS MEC 012 2.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.4.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 @@ -125,7 +125,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the PLMN information for a not existing element is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.4.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 @@ -161,7 +161,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the S1 bearer information is requested with a malformatted message" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 @@ -200,7 +200,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the S1 bearer information for a not existing element is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 @@ -238,7 +238,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the L2 measurements information is requested with a malformatted message" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5a.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5a.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 @@ -276,7 +276,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { Test objective "Check that the RNIS service returns an error when the L2 measurements information for a not existing element is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5a.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5a.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later Config Id Config_MEC_1 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 index 4899064..eecac38 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 @@ -13,7 +13,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BV { Test objective "Check that the RNIS service returns the RAB information when requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.3.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.3.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" Config Id Config_MEC_1 @@ -62,7 +62,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BV { Test objective "Check that the RNIS service returns the PLMN information when requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.4.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.4.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" Config Id Config_MEC_1 @@ -104,7 +104,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BV { Test objective "Check that the RNIS service returns the S1 bearer information" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" Config Id Config_MEC_1 @@ -152,7 +152,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BV { Test objective "Check that the RNIS service returns the L2 measurements information" - Reference "ETSI GS MEC 012 2.1.1, clause 7.5a.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.5a.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later Config Id Config_MEC_1 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 index d44fd60..49dc025 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 @@ -12,7 +12,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { Test objective "Check that the RNIS service responds with error when a not existing RNIS subscription is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.1", + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.1", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 @@ -48,7 +48,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { Test objective "Check that the RNIS service sends an error when it receives a malformed modify request for a RNIS subscription" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.2", + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.2", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" Config Id Config_MEC_1 PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION @@ -92,7 +92,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { Test objective "Check that the RNIS service responds with error when a modification for a not existing RNIS subscription is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.2", + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.2", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 @@ -128,7 +128,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { Test objective "Check that the RNIS service responds with error when the deletion of a not existing RNIS subscription is requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.5", + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.5", "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 index 45abab9..0b44228 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BV { - S1BearerSubscription - NrMeasRepUeSubscription" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.1" + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.1" Config Id Config_MEC_1 PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION @@ -69,7 +69,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BV { Test objective "Check that the RNIS service modifies a RNIS subscription when requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.2" + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.2" Config Id Config_MEC_1 PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION @@ -125,7 +125,7 @@ Package MEC_MEC012_SRV_RNIS_SUB_BV { Test objective "Check that the RNIS service deletes a RNIS subscription when requested" - Reference "ETSI GS MEC 012 2.1.1, clause 7.8.3.5" + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.5" Config Id Config_MEC_1 PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION -- GitLab From 10bc93d460a63aac0d25c73af811f51f71111ec0 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Thu, 7 Sep 2023 16:31:00 +0200 Subject: [PATCH 38/70] bumped v2.2.1 to MEC29 and consistency check w/ v2.1.1 --- .../MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index 80ab6df..ef039e1 100644 --- a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 +++ b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 @@ -28,7 +28,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the current status of the fixed access information when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -68,7 +68,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -109,7 +109,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request for non-existing data is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.3.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -149,7 +149,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the current status of the device information when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.4.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.4.3.1" Config Id Config_MEC_1 @@ -189,7 +189,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.4.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.4.3.1" Config Id Config_MEC_1 @@ -230,7 +230,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request for non-existing data is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.4.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.4.3.1" Config Id Config_MEC_1 @@ -270,7 +270,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the current status of the cable line information when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.5.3.1" Config Id Config_MEC_1 @@ -310,7 +310,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.5.3.1" Config Id Config_MEC_1 @@ -351,7 +351,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request for non-existing data is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.5.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.5.3.1" Config Id Config_MEC_1 @@ -391,7 +391,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the current status of the optical network information when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.6.3.1" Config Id Config_MEC_1 @@ -431,7 +431,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.6.3.1" Config Id Config_MEC_1 @@ -472,7 +472,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request for non-existing data is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.6.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.6.3.1" Config Id Config_MEC_1 @@ -512,7 +512,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the subscriptions for fixed access information notifications when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.1" Config Id Config_MEC_1 @@ -552,7 +552,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.1" Config Id Config_MEC_1 @@ -593,7 +593,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request for non-existing data is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.1" Config Id Config_MEC_1 @@ -633,7 +633,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT acknowledges the subscription by a MEC Application to notifications on Optical Network Unit alarm events" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.4" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.4" Config Id Config_MEC_1 @@ -693,7 +693,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.4" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.4" Config Id Config_MEC_1 @@ -737,7 +737,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the information on a given subscription when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.8.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.1" Config Id Config_MEC_1 @@ -782,7 +782,7 @@ Package MEC_MEC029_SRV_FAIS { "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 029 2.1.1, clause 7.8.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.1" Config Id Config_MEC_1 @@ -822,7 +822,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT updates an existing subscription when commanded by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.8.3.2" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.2" Config Id Config_MEC_1 @@ -873,7 +873,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.8.3.2" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.2" Config Id Config_MEC_1 @@ -920,7 +920,7 @@ Package MEC_MEC029_SRV_FAIS { "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 029 2.1.1, clause 7.8.3.2" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.2" Config Id Config_MEC_1 @@ -966,7 +966,7 @@ Package MEC_MEC029_SRV_FAIS { "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 029 2.1.1, clause 7.8.3.2" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.2" Config Id Config_MEC_1 @@ -1012,7 +1012,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT cancels an existing subscription when commanded by a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.8.3.5" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.5" Config Id Config_MEC_1 @@ -1052,7 +1052,7 @@ Package MEC_MEC029_SRV_FAIS { "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 029 2.1.1, clause 7.8.3.5" + Reference "ETSI GS MEC 029 2.2.1, clause 7.8.3.5" Config Id Config_MEC_1 @@ -1092,7 +1092,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT sends notification on expiry of Fixed Access Information event subscription to a MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 7.7.3.4" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.4" Config Id Config_MEC_1 @@ -1155,7 +1155,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT sends notifications on Fixed Access Information events to a subscribed MEC Application" - Reference "ETSI GS MEC 029 2.1.1, clause 5.2.7" + Reference "ETSI GS MEC 029 2.2.1, clause 5.2.7" Config Id Config_MEC_1 -- GitLab From 7197225cf49a5fee525357c92571f9eb46c59dd4 Mon Sep 17 00:00:00 2001 From: piscione Date: Thu, 7 Sep 2023 17:07:21 +0200 Subject: [PATCH 39/70] Updated references to MEC010p2 data model using the corresponding clause instead of the table reference. --- Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 | 22 ++-- .../MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 | 45 ++++---- .../MEPM/LCM/PlatformConfiguration.tplan2 | 6 +- .../MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 | 24 ++-- .../MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 | 106 +++++++++--------- 5 files changed, 97 insertions(+), 106 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 index 5d3a65e..2a13fac 100644 --- a/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 +++ b/Test Purposes/MEC010p2/MEO/GRANT/Grant.tplan2 @@ -14,8 +14,8 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -77,8 +77,8 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" //Grant Config Id Config_MEC_3 @@ -127,8 +127,8 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -189,8 +189,8 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -242,8 +242,8 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.2.2-1", //GrantRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" //Grant + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2", //GrantRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" //Grant Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT @@ -295,7 +295,7 @@ Package MEC_MEC010p2_MEO_GRANT { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.4.4.2-1" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2" Config Id Config_MEC_3 PICS Selection PIC_GRANTS_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index 9b8ef39..f523a59 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -15,10 +15,8 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO creates a new App Package when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.2.2-1", // CreateAppPkg - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", // AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 - Note 1" // AppPkgInfo - Note 1 - + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.2.2", // CreateAppPkg + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" // AppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -79,7 +77,7 @@ Package MEC_MEC010p2_MEO_PKGM { a malformed request for creating a new App Package" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.2.2-1" // CreateAppPkg + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.2.2" // CreateAppPkg Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -119,8 +117,8 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2", + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -179,8 +177,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" //AppPkgInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -239,7 +236,7 @@ Package MEC_MEC010p2_MEO_PKGM { a malformed request for retrieving the list of existing App Packages" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -273,8 +270,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -331,8 +327,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -393,7 +388,7 @@ Package MEC_MEC010p2_MEO_PKGM { a request for retrieving a App Package referred with a wrong ID" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1" + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -488,7 +483,7 @@ Package MEC_MEC010p2_MEO_PKGM { "Check that MEO updates the operational state of an individual application package resource" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.8.2" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -533,7 +528,7 @@ Package MEC_MEC010p2_MEO_PKGM { the operational state of an application package" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.8.2" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -574,7 +569,7 @@ Package MEC_MEC010p2_MEO_PKGM { a request for updating an App Package referred with a wrong ID" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.5", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.8.2-1" //AppPkgInfoModifications + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.8.2" //AppPkgInfoModifications Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -663,8 +658,8 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.7.2-1", //AppPkgSubscription - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.7.2", //AppPkgSubscription + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4.2" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -703,7 +698,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.5.2-1" //AppPkgSubscriptionLinkList + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.5.2" //AppPkgSubscriptionLinkList Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -753,7 +748,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4.2" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -800,7 +795,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4.2" //AppPkgSubscriptionInfo Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -910,7 +905,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.5.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.6.2-1" //AppPkgNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.6.2" //AppPkgNotification Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS @@ -962,7 +957,7 @@ Package MEC_MEC010p2_MEO_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.1.2.2-1" //AppD + "ETSI GS MEC 010-2 3.1.1, clause 6.2.1.2.2" //AppD Config Id Config_MEC_2 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index d075377..8f8a948 100644 --- a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 @@ -14,7 +14,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.21.2" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -53,7 +53,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.21.2" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -90,7 +90,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.7.6.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.21.2-1" //ConfigPlatformForAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.21.2" //ConfigPlatformForAppRequest Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 index ea1351d..907ff28 100644 --- a/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEPM/PKGM/AppPkgMgt.tplan2 @@ -14,8 +14,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" //AppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -75,8 +74,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" //AppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -172,8 +170,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" //AppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -230,8 +227,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1", //AppPkgInfo - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.3.2-1 Note 3" //AppPkgInfo - Note 3 + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.3.2" //AppPkgInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -324,8 +320,8 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.7.2-1", //AppPkgSubscription - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.7.2", //AppPkgSubscription + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4.2" //AppPkgSubscriptionInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -413,7 +409,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.5.2-1" //AppPkgSubscriptionLinkList + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.5.2" //AppPkgSubscriptionLinkList Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -462,7 +458,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.4.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.4.2-1" //AppPkgSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.4.2" //AppPkgSubscriptionInfo Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT @@ -618,7 +614,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.5.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.3.6.2-1" //AppPkgNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.6.2" //AppPkgNotification Config Id Config_MEC_3 PICS Selection PIC_APP_PACKAGE_NOTIFICATIONS @@ -705,7 +701,7 @@ Package MEC_MEC010p2_MEPM_PKGM { Reference "ETSI GS MEC 010-2 3.1.1, clause 7.3.6.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.1.2.2-1" //AppD + "ETSI GS MEC 010-2 3.1.1, clause 6.2.1.2.2" //AppD Config Id Config_MEC_5 PICS Selection PIC_APP_PACKAGE_MANAGEMENT diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 index d70bddc..880236a 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 @@ -13,8 +13,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider creates a new App Package when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.3.2", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.4.2" //AppInstanceInfo Config Id Config_MEC_6 @@ -68,8 +68,8 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { for the creation of a new App Instance" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.1.3.1", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.3.2-1", //CreateAppInstanceRequest - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.3.2", //CreateAppInstanceRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.4.2" //AppInstanceInfo Config Id Config_MEC_6 @@ -106,7 +106,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider retrieves the list of App instances when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.1.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.4.2" //AppInstanceInfo Config Id Config_MEC_6 @@ -156,7 +156,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider retrieves an App Package when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.4.2" //AppInstanceInfo Config Id Config_MEC_6 @@ -204,7 +204,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider fails on retrieving an App Instance when requested using wrong appInstanceId" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.2.3.2", - "ETSI GS MEC 010-2 3.1.1, Table 6.2.2.4.2-1" //AppInstanceInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.4.2" //AppInstanceInfo Config Id Config_MEC_6 @@ -301,7 +301,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider service instantiates an App Instance when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.6.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.7.2" // InstantiateAppRequest Config Id Config_MEC_6 @@ -344,7 +344,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider service fails to instantiate an App Instance when it receives a malformed request" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.6.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.7.2" // InstantiateAppRequest Config Id Config_MEC_6 @@ -385,7 +385,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { related to a not existing App Instance" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.6.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.7.2-1" // InstantiateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.7.2" // InstantiateAppRequest Config Id Config_MEC_6 @@ -418,7 +418,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider service terminates an App Instance when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.7.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.9.2" // TerminateAppRequest Config Id Config_MEC_6 @@ -461,7 +461,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { "Check that MEC API provider service fails to terminate an App Instance when it receives a malformed request" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.7.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.9.2" // TerminateAppRequest Config Id Config_MEC_6 @@ -502,7 +502,7 @@ Package MEC_MEC010p2_APP_INSTANCE_LCM_BI { related to a not existing App Instance" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.7.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.9.2-1" // TerminateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.9.2" // TerminateAppRequest Config Id Config_MEC_6 @@ -535,7 +535,7 @@ Test Purpose { "Check that MEC API provider service changes the status of an App Instance" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.8.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.8.2" // OperateAppRequest Config Id Config_MEC_6 @@ -579,7 +579,7 @@ Test Purpose { "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 3.1.1, clause 7.4.8.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.8.2" // OperateAppRequest Config Id Config_MEC_6 @@ -619,7 +619,7 @@ Test Purpose { related to a not existing App Instance" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.8.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.8.2-1" // OperateAppRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.8.2" // OperateAppRequest Config Id Config_MEC_6 @@ -652,7 +652,7 @@ Test Purpose { "Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.9.3.2", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.13.2-1" // AppLcmOpOcc + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.13.2" // AppLcmOpOcc Config Id Config_MEC_6 @@ -702,7 +702,7 @@ Test Purpose { "Check that MEC API provider service retrieves info about LCM Operation Occurrence on an App Instance when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.10.3.2", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1" // AppLcmOpOcc + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.14.2" // AppLcmOpOcc Config Id Config_MEC_6 @@ -784,14 +784,14 @@ Test Purpose { have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.3.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.12.2", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.14.2", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.25.2", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.28.2", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.10.2", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.15.2", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.26.2", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.29.2" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -840,14 +840,14 @@ Test Purpose { "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 3.1.1, clause 7.4.3.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.12.2", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.14.2", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.25.2", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.28.2", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.10.2", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.15.2", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.26.2", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.29.2" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 @@ -886,14 +886,14 @@ Test Purpose { "Check that MEC API provider service sends the list of LCM Subscriptions when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.3.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.12.2-1", // AppInstSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.14.2-1", // AppLcmOpOccSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.25.2-1", // AppInstIdCreationSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.28.2-1", // AppInstIdDeletionSubscriptionRequest - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.12.2", // AppInstSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.14.2", // AppLcmOpOccSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.25.2", // AppInstIdCreationSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.28.2", // AppInstIdDeletionSubscriptionRequest + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.10.2", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.15.2", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.26.2", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.29.2" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -942,10 +942,10 @@ Test Purpose { "Check that MEC API provider service sends the information about an existing LCM subscription when requested" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.4.3.2", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.10.2-1", //AppInstSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.15.2-1", // AppLcmOpOccSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.26.2-1", // AppInstIdCreationSubscriptionInfo - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.29.2-1" // AppInstIdDeletionSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.10.2", //AppInstSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.15.2", // AppLcmOpOccSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.26.2", // AppInstIdCreationSubscriptionInfo + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.29.2" // AppInstIdDeletionSubscriptionInfo Config Id Config_MEC_6 PICS Selection PIC_APP_LCM_MANAGEMENT @@ -1093,7 +1093,7 @@ Test Purpose { "Check that MEC API provider service cancels an on going LCM Operation" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.11.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.32.2-1" // CancelMode + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.32.2" // CancelMode Config Id Config_MEC_6 @@ -1140,7 +1140,7 @@ Test Purpose { "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 3.1.1, clause 7.4.11.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.32.2-1" // CancelMode + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.32.2" // CancelMode Config Id Config_MEC_6 @@ -1179,7 +1179,7 @@ Test Purpose { related to a not existing application LCM Operation" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.11.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.32.2-1" // CancelMode + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.32.2" // CancelMode Config Id Config_MEC_6 @@ -1363,10 +1363,10 @@ Test Purpose { "Check that MEC API provider sends a notification to the subscriber when an application LCM change event occurs" Reference "ETSI GS MEC 010-2 3.1.1, clause 7.4.5.3.1", - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.11.2-1", // AppInstNotification - "ETSI GS MEC 010-2 3.1.1, table 6.3.1.16.2-1", // AppLcmOpOccNotification - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.27.2-1", // AppInstanceIdentifierCreationNotification - "ETSI GS MEC 010-2 3.1.1, table 6.2.2.30.2-1" // AppInstanceIdentifierDeletionNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.11.2", // AppInstNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.3.1.16.2", // AppLcmOpOccNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.27.2", // AppInstanceIdentifierCreationNotification + "ETSI GS MEC 010-2 3.1.1, clause 6.2.2.30.2" // AppInstanceIdentifierDeletionNotification Config Id Config_MEC_6 -- GitLab From b7dc30955bf6b0a09f37bca8d692bae18f1ed18c Mon Sep 17 00:00:00 2001 From: piscione Date: Thu, 7 Sep 2023 17:17:28 +0200 Subject: [PATCH 40/70] Updated references to MEC014 and MEC018 data models using the corresponding clause instead of the table reference. --- Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 6 +++--- Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 | 10 +++++----- .../MEC028/SRV/WAI/NotificationCallback.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 | 4 ++-- Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 | 8 ++++---- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index 627f54b..3106f9d 100644 --- a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -30,7 +30,7 @@ Package MEC_MEC014_SRV_UETAG { when queried by a MEC Application" Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.1", - "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + "ETSI GS MEC 014 3.1.1, clause 6.2.2" Config Id Config_MEC_1 @@ -172,7 +172,7 @@ Package MEC_MEC014_SRV_UETAG { when commanded by a MEC Application" Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", - "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + "ETSI GS MEC 014 3.1.1, clause 6.2.2" Config Id Config_MEC_1 @@ -233,7 +233,7 @@ Package MEC_MEC014_SRV_UETAG { an unauthorised request is sent by a MEC Application" Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", - "ETSI GS MEC 014 3.1.1, Table 6.2.2-1" + "ETSI GS MEC 014 3.1.1, clause 6.2.2" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 index 6d934b6..a44475c 100644 --- a/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 @@ -11,7 +11,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the list of WLAN Access Point" Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258" Config Id Config_MEC_4 @@ -61,7 +61,7 @@ Package MEC_MEC028_SRV_WAI { "Check that the IUT responds with the list of WLAN Access Point filtered by the bssid provided as query parameter" Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258" diff --git a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 index 5c7dbd1..68acf08 100644 --- a/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 @@ -11,7 +11,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the list of Subscription" Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -96,7 +96,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with a Notification Subscription when it is modified" Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.2", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 index 505e669..f02f716 100644 --- a/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Measurement.tplan2 @@ -12,7 +12,7 @@ Package MEC_MEC028_SRV_WAI { "Check that the IUT responds with a list of measurement configurations available from the WLAN Access Information Service" Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.5-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.5", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1961" Config Id Config_MEC_4 @@ -68,7 +68,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with a new measurement configuration" Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.4", - "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 @@ -120,7 +120,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when an invalid request is sent" Reference "ETSI GS MEC 028 2.3.1, clause 7.7.3.4", - "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 @@ -165,7 +165,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the specified measurement configuration" Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 @@ -250,7 +250,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the modified measurement configuration" Reference "ETSI GS MEC 028 2.3.1, clause 7.8.3.2", - "ETSI GS MEC 028 2.3.1, Table 6.2.4-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1941" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 index 89840e6..1bf51af 100644 --- a/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 @@ -14,9 +14,9 @@ Package MEC_MEC028_SRV_WAI { if the MEC service has an associated subscription and the event is generated" Reference "ETSI GS MEC 028 2.3.1, clause 6.4.2", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309", - "ETSI GS MEC 028 2.3.1, Table 6.4.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.4.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1292" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 index e54c31a..340c943 100644 --- a/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 @@ -11,7 +11,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the list of Station Point" Reference "ETSI GS MEC 028 2.3.1, clause 7.4.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.3-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.3", "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374" Config Id Config_MEC_4 @@ -60,7 +60,7 @@ Package MEC_MEC028_SRV_WAI { "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.3.1, clause 7.4.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.2.3-1", + "ETSI GS MEC 028 2.3.1, clause 6.2.3", "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374" Config Id Config_MEC_4 diff --git a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 index e5fb39d..0fece4b 100644 --- a/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +++ b/Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 @@ -11,7 +11,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.3.4-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.4", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L2625" Config Id Config_MEC_4 @@ -67,7 +67,7 @@ Package MEC_MEC028_SRV_WAI { "Check that the IUT responds with the requested list of subscription when the MEC Platform is queried using a filter on subscription type." Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.1", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 @@ -202,7 +202,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with a Notification Subscription" Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.4", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" @@ -262,7 +262,7 @@ Package MEC_MEC028_SRV_WAI { Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" Reference "ETSI GS MEC 028 2.3.1, clause 7.5.3.4", - "ETSI GS MEC 028 2.3.1, Table 6.3.2-1", + "ETSI GS MEC 028 2.3.1, clause 6.3.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309" Config Id Config_MEC_4 -- GitLab From 3fa5d8ca7ed50ee98578658b7663c69a83709796 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Fri, 8 Sep 2023 14:45:50 +0200 Subject: [PATCH 41/70] merged TPs in a single file --- ..._BV.tplan2 => RnisAllSubscriptions.tplan2} | 81 +++++++- .../RNIS/RnisAllSubscriptions_BO_BI.tplan2 | 84 -------- ...nisQuery_BO_BI.tplan2 => RnisQuery.tplan2} | 185 ++++++++++++++++- .../MEC012/SRV/RNIS/RnisQuery_BV.tplan2 | 193 ------------------ ...tplan2 => RnisSpecificSubscription.tplan2} | 148 +++++++++++++- .../RNIS/RnisSpecificSubscription_BV.tplan2 | 155 -------------- 6 files changed, 409 insertions(+), 437 deletions(-) rename Test Purposes/MEC012/SRV/RNIS/{RnisAllSubscriptions_BV.tplan2 => RnisAllSubscriptions.tplan2} (58%) delete mode 100644 Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 rename Test Purposes/MEC012/SRV/RNIS/{RnisQuery_BO_BI.tplan2 => RnisQuery.tplan2} (64%) delete mode 100644 Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 rename Test Purposes/MEC012/SRV/RNIS/{RnisSpecificSubscription_BO_BI.tplan2 => RnisSpecificSubscription.tplan2} (52%) delete mode 100644 Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 similarity index 58% rename from Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 index 1f28c2c..f2183c4 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BV.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 @@ -3,10 +3,84 @@ Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC012_SRV_RNIS_SUBS_BV { +Package MEC_MEC012_SRV_RNIS_SUBS { import all from MEC_Common; - + + Test Purpose { + 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" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.1", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS + + Initial conditions with { + the IUT entity having a RNIS_subscription containing + subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, + subscriptionType indicating value SUBSCRIPTION_TYPE + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/subscriptions", + query_parameters containing + subscriptionType indicating value "wrongSubscriptionType" //wrong subscription type + ; + ; from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; to the MEC_SUB entity + } + } + } + + Test Purpose { + 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" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.4", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS + + 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 "/rni/v2/subscriptions", + body containing + CellChangeSubscription containing + subscritionType indicating value "CelCangeSubscription", //wrong subscription type + callbackReference indicating value any_value, + attribute filterCriteriaAssocHo, + expiryDeadline set to any_value + ; + ; + ; from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request" + ; to the MEC_SUB entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC012_SRV_RNIS_011_OK" @@ -60,7 +134,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BV { } } } - + Test Purpose { TP Id "TP_MEC_MEC012_SRV_RNIS_012_OK" @@ -113,4 +187,5 @@ Package MEC_MEC012_SRV_RNIS_SUBS_BV { } } } + } diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 deleted file mode 100644 index 5546c3a..0000000 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions_BO_BI.tplan2 +++ /dev/null @@ -1,84 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC012_SRV_RNIS_SUBS_BI { - - import all from MEC_Common; - - Test Purpose { - 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" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionHref indicating value SUBSCRIPTION_HREF_VALUE, - subscriptionType indicating value SUBSCRIPTION_TYPE - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/subscriptions", - query_parameters containing - subscriptionType indicating value "wrongSubscriptionType" //wrong subscription type - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEC_SUB entity - } - } - } - - Test Purpose { - 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" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/CellChangeSubscription" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_ALL_SUBSCRIPTIONS - - 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 "/rni/v2/subscriptions", - body containing - CellChangeSubscription containing - subscritionType indicating value "CelCangeSubscription", //wrong subscription type - callbackReference indicating value any_value, - attribute filterCriteriaAssocHo, - expiryDeadline set to any_value - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the MEC_SUB entity - } - } - } - -} diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 similarity index 64% rename from Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 index d1a53dd..2fbbd87 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 @@ -3,7 +3,7 @@ Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC012_SRV_RNIS_QUERY_BI { +Package MEC_MEC012_SRV_RNIS_QUERY { import all from MEC_Common; @@ -307,5 +307,188 @@ Package MEC_MEC012_SRV_RNIS_QUERY_BI { } } } + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_016_OK" + + Test objective + "Check that the RNIS service returns the RAB information when requested" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.3.3.1", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_QUERY + + Initial conditions with { + the IUT entity having a RabInfo containing + cellUserInfo containing + ecgi indicating value CELL_ID + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/queries/rab_info", + query_parameters containing + cell_id indicating value CELL_ID + ; + ; from the RNIS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + RabInfo containing + appInstanceId set to any_value, + requestId set to any_value, + cellUserInfo containing + ecgi indicating value CELL_ID, + attribute ueInfo + ; + ; + ; + ; to the RNIS_CLIENT entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_017_OK" + + Test objective + "Check that the RNIS service returns the PLMN information when requested" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.4.3.1", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_QUERY + + Initial conditions with { + the IUT entity having a PlmnInfo containing + appInstanceId indicating value APP_INSTANCE_INFO + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/queries/plmn_info", + query_parameters containing + app_ins_id indicating value APP_INS_ID + ; + ; from the RNIS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + PlmnInfo containing + appInstanceId indicating value APP_INS_ID, + attribute plmn + ; + ; + ; to the RNIS_CLIENT entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_018_OK" + + Test objective + "Check that the RNIS service returns the S1 bearer information" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.5.3.1", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_QUERY + + Initial conditions with { + the IUT entity having a S1BearerInfo containing + s1UeInfo containing + ecgi indicating value CELL_ID + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/queries/s1_bearer_info", + query_parameters containing + cell_id indicating value CELL_ID + ; + ; from the RNIS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + S1BearerInfo containing + s1UeInfo containing + attribute tempUeId, + attribute associateId, + ecgi indicating value CELL_ID, + attribute s1BearerInfoDetailed + ; + ; + ; + ; to the RNIS_CLIENT entity + } + } + } + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_019_OK" + + Test objective + "Check that the RNIS service returns the L2 measurements information" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.5a.3.1", + "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_QUERY + + Initial conditions with { + the IUT entity having a L2_Meas_information containing + cellInfo containing + ecgi indicating value CELL_ID + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/queries/layer2_meas", + query_parameters containing + cell_id indicating value CELL_ID + ; + ; from the RNIS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + L2_Meas_information containing + cellInfo containing + ecgi indicating value CELL_ID + ; + ; + ; + ; to the RNIS_CLIENT entity + } + } + } } diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 deleted file mode 100644 index eecac38..0000000 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery_BV.tplan2 +++ /dev/null @@ -1,193 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC012_SRV_RNIS_QUERY_BV { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_016_OK" - - Test objective - "Check that the RNIS service returns the RAB information when requested" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a RabInfo containing - cellUserInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/queries/rab_info", - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - RabInfo containing - appInstanceId set to any_value, - requestId set to any_value, - cellUserInfo containing - ecgi indicating value CELL_ID, - attribute ueInfo - ; - ; - ; - ; to the RNIS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_017_OK" - - Test objective - "Check that the RNIS service returns the PLMN information when requested" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a PlmnInfo containing - appInstanceId indicating value APP_INSTANCE_INFO - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/queries/plmn_info", - query_parameters containing - app_ins_id indicating value APP_INS_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - PlmnInfo containing - appInstanceId indicating value APP_INS_ID, - attribute plmn - ; - ; - ; to the RNIS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_018_OK" - - Test objective - "Check that the RNIS service returns the S1 bearer information" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a S1BearerInfo containing - s1UeInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/queries/s1_bearer_info", - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - S1BearerInfo containing - s1UeInfo containing - attribute tempUeId, - attribute associateId, - ecgi indicating value CELL_ID, - attribute s1BearerInfoDetailed - ; - ; - ; - ; to the RNIS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_019_OK" - - Test objective - "Check that the RNIS service returns the L2 measurements information" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.5a.3.1", - "https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml" //TODO: not yet available in OpenAPI spec. To be added later - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_QUERY - - Initial conditions with { - the IUT entity having a L2_Meas_information containing - cellInfo containing - ecgi indicating value CELL_ID - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/queries/layer2_meas", - query_parameters containing - cell_id indicating value CELL_ID - ; - ; from the RNIS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - L2_Meas_information containing - cellInfo containing - ecgi indicating value CELL_ID - ; - ; - ; - ; to the RNIS_CLIENT entity - } - } - } -} diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 similarity index 52% rename from Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 rename to Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 index 49dc025..8c02669 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BO_BI.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC012_SRV_RNIS_SUB_BI { +Package MEC_MEC012_SRV_RNIS_SUB { import all from MEC_Common; @@ -156,5 +156,151 @@ Package MEC_MEC012_SRV_RNIS_SUB_BI { } } } + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_013_OK" + + Test objective + "Check that the RNIS service sends a RNIS subscription when requested. + Acceptable SUBSCRIPTION_TYPE are the following: + - CellChangeSubscription + - RabEstSubscription + - RabModSubscription + - RabRelSubscription + - MeasRepUeSubscription + - MeasTaSubscription + - CaReconfSubscription + - S1BearerSubscription + - NrMeasRepUeSubscription" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.1" + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION + + Initial conditions with { + the IUT entity having a RNIS_subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; to the MEC_SUB entity + } + } + } + + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_014_OK" + + Test objective + "Check that the RNIS service modifies a RNIS subscription when requested" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.2" + + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION + + Initial conditions with { + the IUT entity having a RNIS_subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}", + body containing + subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value NEW_CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "200 OK", + body containing + subscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, + callbackReference indicating value NEW_CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + ; + ; to the MEC_SUB entity + } + } + } + + + + Test Purpose { + TP Id "TP_MEC_MEC012_SRV_RNIS_015_OK" + + Test objective + "Check that the RNIS service deletes a RNIS subscription when requested" + + Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.5" + Config Id Config_MEC_1 + PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION + + Initial conditions with { + the IUT entity having a RNIS_subscription containing + callbackReference indicating value CALLBACK_URI, + _links containing + self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; + ; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" + ; from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "204 No Content" + ; to the MEC_SUB entity + } + } + } } diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 deleted file mode 100644 index 0b44228..0000000 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription_BV.tplan2 +++ /dev/null @@ -1,155 +0,0 @@ -/* -Copyright (c) ETSI 2018-2023. -Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters -*/ - -Package MEC_MEC012_SRV_RNIS_SUB_BV { - - import all from MEC_Common; - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_013_OK" - - Test objective - "Check that the RNIS service sends a RNIS subscription when requested. - Acceptable SUBSCRIPTION_TYPE are the following: - - CellChangeSubscription - - RabEstSubscription - - RabModSubscription - - RabRelSubscription - - MeasRepUeSubscription - - MeasTaSubscription - - CaReconfSubscription - - S1BearerSubscription - - NrMeasRepUeSubscription" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; to the MEC_SUB entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_014_OK" - - Test objective - "Check that the RNIS service modifies a RNIS subscription when requested" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}", - body containing - subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value NEW_CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "200 OK", - body containing - subscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, - callbackReference indicating value NEW_CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - ; - ; to the MEC_SUB entity - } - } - } - - - - Test Purpose { - TP Id "TP_MEC_MEC012_SRV_RNIS_015_OK" - - Test objective - "Check that the RNIS service deletes a RNIS subscription when requested" - - Reference "ETSI GS MEC 012 2.2.1, clause 7.8.3.5" - Config Id Config_MEC_1 - PICS Selection PIC_RNIS_SPECIFIC_SUBSCRIPTION - - Initial conditions with { - the IUT entity having a RNIS_subscription containing - callbackReference indicating value CALLBACK_URI, - _links containing - self set to "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/rni/v2/subscriptions/{SUBSCRIPTION_ID}" - ; from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "204 No Content" - ; to the MEC_SUB entity - } - } - } -} -- GitLab From a4e24e6d75cfcd0fada0e351557e6395e4180186 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 13 Sep 2023 08:15:46 +0200 Subject: [PATCH 42/70] Bug fixed in TP_MEC_MEC040_SRV_MEF_003_NF/BR --- Test Purposes/MEC040/SRV/FederationEnablement.tplan2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index b7bcd47..9891cc6 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -1099,10 +1099,10 @@ Package MEC_MEC040_SRV_FED { Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_003_NF" + TP Id "TP_MEC_MEC040_SRV_MEF_003_BR" Test objective - "Check that the IUT responds with an error when it receives a request for returning a systemInfo referred with a wrong systemId" + "Check that the IUT responds with an error when it receives a request with an inconsistant URI" Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.1, clause 5.2.2.1.1" @@ -1126,7 +1126,7 @@ Package MEC_MEC040_SRV_FED { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_4}" + uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_2}" // Inconsistant URI ; from the MEC_FED entity } -- GitLab From 6ce6048e02cb90b5c1fbba4a4dddb3ee40aa2b11 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 13 Nov 2023 09:26:31 +0100 Subject: [PATCH 43/70] TTF T027: Review MEC 010-2/MEPM/LCM - Rename duplicated Packages --- .../MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 | 49 ++++++++++++++++++- .../MEPM/LCM/PlatformConfiguration.tplan2 | 2 +- .../MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 | 2 +- 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 index f523a59..0422524 100644 --- a/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 +++ b/Test Purposes/MEC010p2/MEO/PKGM/AppPkgMgt.tplan2 @@ -691,7 +691,7 @@ Package MEC_MEC010p2_MEO_PKGM { } Test Purpose { - TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK" + TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK_01" Test objective "Check that MEO service returns the list of Application Package Subscriptions when requested" @@ -740,6 +740,53 @@ Package MEC_MEC010p2_MEO_PKGM { } } + Test Purpose { + TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_OK_02" + + Test objective + "Check that MEO service returns an empty list of Application Package Subscriptions when requested" + + Reference + "ETSI GS MEC 010-2 3.1.1, clause 7.3.3.3.2", + "ETSI GS MEC 010-2 3.1.1, clause 6.2.3.5.2" //AppPkgSubscriptionLinkList + + Config Id Config_MEC_2 + PICS Selection PIC_APP_PACKAGE_MANAGEMENT + + Initial conditions with { + the IUT entity not having a Subscription + } + + Expected behaviour + ensure that { + 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 + AppPkgSubscriptionLinkList containing + AppPkgSubscriptionInfo containing + links containing + self indicating value any_value, + subscriptions containing + href set to "/app_pkgm/v1/subscriptions/{SUBSCRIPTION_ID}", + subscriptionType set to omit + ; + ; + ; + ; + ; + ; + to the MEC_OSS entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_OK" diff --git a/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 b/Test Purposes/MEC010p2/MEPM/LCM/PlatformConfiguration.tplan2 index 8f8a948..3aaa7f4 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-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_APP_INSTANCE_LCM { +Package MEC_MEC010p2_MEPM_APP_INSTANCE_LCM { import all from MEC_Common; diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 index 880236a..26289af 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2023. 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_MEX_APP_INSTANCE_LCM_BI { import all from MEC_Common; -- GitLab From 49d37782448165d1bd5b60b9c0c64c5925f374d1 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 14 Nov 2023 10:54:22 +0100 Subject: [PATCH 44/70] Rename AppInstanceLcmOpOcc into AppLcmOpOcc as specified in ETSI GS MEC 010-2 V2.2.1 --- Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 index 26289af..898e90a 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 @@ -2,7 +2,7 @@ Copyright (c) ETSI 2018-2023. Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters */ -Package MEC_MEC010p2_MEX_APP_INSTANCE_LCM_BI { +Package MEC_MEC010p2_MEX_APP_INSTANCE_LCM { import all from MEC_Common; @@ -676,7 +676,7 @@ Test Purpose { status set to "200 OK", body containing AppLcmOpOccList containing - AppInstanceLcmOpOcc containing + AppLcmOpOcc containing id set to APP_LCM_OP_OCC_ID, operationState set to OPERATIONAL_STATE,//It must be either STARTING or PROCESSING or COMPLETED or FAILED or FAILED_TEMP stateEnteredTime set to any_value, @@ -725,7 +725,7 @@ Test Purpose { the IUT entity sends a HTTP_RESPONSE containing status set to "200 OK", body containing - AppInstanceLcmOpOcc containing + AppLcmOpOcc containing id set to APP_LCM_OP_OCC_ID, operationState set to OPERATIONAL_STATE,//It must be either STARTING or PROCESSING or COMPLETED or FAILED or FAILED_TEMP stateEnteredTime set to any_value, -- GitLab From 763cf36686a3860a0761e828e750a5c788b18b8e Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 14 Nov 2023 15:00:39 +0100 Subject: [PATCH 45/70] Rename /app_lcm/v1/app_instances/app_lcm_op_occs into /app_lcm/v1/app_lcm_op_occs as specified in ETSI GS MEC 010-2 V3.1.1 --- .../MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 index 898e90a..7bf5508 100644 --- a/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 +++ b/Test Purposes/MEC010p2/MEX/LCM/AppInstanceMgmt.tplan2 @@ -1107,7 +1107,7 @@ Test Purpose { startTime indicating value any_value, lcmOperation indicating value INSTANTIATE, _links containing - _self set to "/app_lcm/v1/app_instances/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", + _self set to "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}", appInstance set to "/app_lcm/v1/app_instances/{APP_INSTANCE_ID}" ; ; @@ -1117,7 +1117,7 @@ Test Purpose { 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" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/cancel" body containing CancelMode containing CancelMode set to GRACEFUL @@ -1194,7 +1194,7 @@ Test Purpose { 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" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/cancel" ; from the MEC_CONSUMER entity } then { @@ -1278,7 +1278,7 @@ Test Purpose { 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" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/fail" ; from the MEC_CONSUMER entity } @@ -1312,7 +1312,7 @@ Test Purpose { 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"; + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{APP_LCM_OP_OCC_ID}/retry"; from the MEC_CONSUMER entity } then { @@ -1345,7 +1345,7 @@ Test Purpose { 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" + uri indicating value "/app_lcm/v1/app_lcm_op_occs/{NON_EXISTENT_APP_INSTANCE_ID}/retry" ; from the MEC_CONSUMER entity } then { -- GitLab From b155ce6d749cb46e2b538c97bca7d311b5e37466 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 19 Dec 2023 16:13:09 +0100 Subject: [PATCH 46/70] TTF T027: TTCN-3 ATS MEC 013 review - TPs bugs fixed --- .../SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 | 26 ++++++++----------- .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 16 +++++------- .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 20 +++++++------- .../PlatUeLocationSubscription.tplan2 | 4 +-- .../UETESTNOT/PlatUeTestSubscription.tplan2 | 4 +-- .../UEZONESUB/PlatUeZoneSubscription.tplan2 | 2 +- 6 files changed, 31 insertions(+), 41 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 index eae4e7a..8b72c22 100644 --- a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 @@ -55,7 +55,7 @@ Package MEC_MEC013_SRV_UEAREALOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.16.3.4 + // MEC 013, clause 7.16.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -104,7 +104,7 @@ Package MEC_MEC013_SRV_UEAREALOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.16.3.4 + // MEC 013, clause 7.16.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -168,7 +168,7 @@ Package MEC_MEC013_SRV_UEAREALOOK { Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.8", "ETSI GS MEC 013 3.1.1 Clause 6.4.8", - "ETSI GS MEC 013 3.1.1 Clause 7.17.3.2" + "ETSI GS MEC 013 3.1.1 Clause 7.17.3.1" Config Id Config_MEC_1 @@ -189,19 +189,15 @@ Package MEC_MEC013_SRV_UEAREALOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.17.3.2 + // MEC 013, clause 7.17.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - userAreaSubscription containing - subscriptionType indicating value "UserAreaSubscription", - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - _links indicating value LINKS, - areaDefine indicating value AREA, - addressList containing - address indicating value ACR_SOME_IP;, - trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + userAreaNotification containing + notificationType indicating value "UserAreaNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value USER_LOCATION_EVENT, + _links indicating value LINKS;;; to the MEC_APP entity } } @@ -218,7 +214,7 @@ Package MEC_MEC013_SRV_UEAREALOOK { Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.8", "ETSI GS MEC 013 3.1.1 Clause 6.4.8", - "ETSI GS MEC 013 3.1.1 Clause 7.17.3.2" + "ETSI GS MEC 013 3.1.1 Clause 7.17.3.1" Config Id Config_MEC_1 @@ -238,7 +234,7 @@ Package MEC_MEC013_SRV_UEAREALOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.17.3.2 + // MEC 013, clause 7.17.3.1 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/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index d9779ff..05ac792 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -64,15 +64,11 @@ Package MEC_MEC013_SRV_UEAREASUB { the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" body containing - userAreaSubscription containing - subscriptionType indicating value "UserAreaSubscription", - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value CALLBACK_URL, - _links indicating value LINKS, - areaDefine indicating value AREA, - addressList containing - address indicating value ACR_SOME_IP;, - trackingAccuracy indicating value TRACKING_ACCURACY_THRESHOLD;;; + userAreaNotification containing + notificationType indicating value "UserAreaNotification", + address indicating value ACR_SOME_IP, + userLocationEvent indicating value USER_LOCATION_EVENT, + _links indicating value LINKS;;; to the MEC_APP entity // MEC 013, clause 5.3.4 and the IUT entity sends a vPOST containing @@ -109,7 +105,7 @@ Package MEC_MEC013_SRV_UEAREASUB { the IUT entity being_in idle_state } - // MEC 013, clause 5.3.5 + // MEC 013, clause 5.3.11 Expected behaviour ensure that { when { diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 06f6970..c1d2764 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -70,10 +70,10 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_BR" Test objective - "Check that the IUT responds with an error when a request with no subscription is 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 - Invalid filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -94,13 +94,13 @@ Package MEC_MEC013_SRV_UEDISTLOOK { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "location/v3/subscriptions/distance"; + uri indicating value "location/v3/subscriptions/distance&event"; from the MEC_APP entity } then { - // MEC 013, clause 7.3.9.2 + // MEC 013, clause 7.14.3.1 the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found"; + status_code set to "400 Bad Request"; to the MEC_APP entity } } @@ -116,7 +116,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { "ETSI GS MEC 013 3.1.1 Clause 5.3.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.9", "ETSI GS MEC 013 3.1.1 Clause 6.4.9", - "ETSI GS MEC 013 3.1.1 Clause 7.16.3.1" + "ETSI GS MEC 013 3.1.1 Clause 7.15.3.1" Config Id Config_MEC_1 @@ -140,7 +140,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.14.3.1 + // MEC 013, clause 7.15.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing @@ -164,13 +164,13 @@ Package MEC_MEC013_SRV_UEDISTLOOK { TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_002_NF" Test objective - "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + "" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", "ETSI GS MEC 013 3.1.1 Clause 6.3.9", "ETSI GS MEC 013 3.1.1 Clause 6.4.9", - "ETSI GS MEC 013 3.1.1 Clause 7.16.3.1" + "ETSI GS MEC 013 3.1.1 Clause 7.15.3.1" Config Id Config_MEC_1 @@ -191,7 +191,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { from the MEC_APP entity } then { - // MEC 013, clause 7.14.3.1 + // MEC 013, clause 7.15.3.1 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/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index c9f9c37..47a6cd7 100644 --- a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -450,7 +450,6 @@ Package MEC_MEC013_SRV_UELOCSUB { userLocationPeriodicSubscription containing subscriptionType indicating value "UserLocationPeriodicSubscription", clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value NEW_CALLBACK_URL, address indicating value ACR_SOME_IP, periodicEventInfo indicating value PERIODIC_EVENT_INFO;;; from the MEC_APP entity @@ -495,8 +494,7 @@ Package MEC_MEC013_SRV_UELOCSUB { body containing userLocationEventSubscription containing subscriptionType indicating value "UserLocationEventSubscription", - clientCorrelator indicating value CLIENT_ID, - callbackReference indicating value NEW_CALLBACK_URL, + clientCorrelator indicating value CLIENT_ID, address indicating value ACR_SOME_IP;;; from the MEC_APP entity } diff --git a/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 index a0e439d..53dd7b0 100644 --- a/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.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_UELOCSUB { +Package MEC_MEC013_SRV_UETESTNOT { import all from MEC_Common; @@ -146,7 +146,7 @@ Package MEC_MEC013_SRV_UELOCSUB { userLocationEvent indicating value any_value, _links indicating value LINKS;;; to the MEC_APP entity - and the IUT entity not sendsa vPOST after expiry_notification_event + and the IUT entity not sends a vPOST after expiry_notification_event } } } diff --git a/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 index 0dd9afb..a2833b5 100644 --- a/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC013_SRV_UEZONESUB { */ Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_01" + TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK" Test objective "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application" -- GitLab From 4d6968b1af2ece8b2b3c2d3583aa3a250dbfe024 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 3 Jan 2024 15:07:18 +0100 Subject: [PATCH 47/70] TTF T027: TTCN-3 ATS MEC 013 finalized --- Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 index be17dc4..bcd8971 100644 --- a/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC013_SRV_UEZONELOOK { */ Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_001_OK_01" + TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_001_OK" Test objective "Check that the IUT responds with a list zones when queried by a MEC Application" -- GitLab From da9a832d6a3ea3f599b087d6d3a96bf86b6fa06e Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 11 Jan 2024 08:11:53 +0100 Subject: [PATCH 48/70] TTF T027: Finalyze review MEC-015 --- .../MEC015/SRV/TM/TrafficManagement.tplan2 | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index b00144e..4aace3f 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -162,7 +162,7 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a bwInfo containing appInsId indicating value APP_INSTANCE_ID, - sessionId indicating value APP_SESSION_ID; + allocationId indicating value APP_ALLOCATION_ID; } // MEC 015 Clause 6.2.5 @@ -172,7 +172,7 @@ Package MEC_MEC015_SRV_TM { the IUT entity receives a vGET containing uri indicating value "bwm/v1/bw_allocations", query_parameters containing - session_id indicating value APP_SESSION_ID;; + session_id indicating value APP_ALLOCATION_ID;; from the MEC_APP entity } then { @@ -183,7 +183,8 @@ Package MEC_MEC015_SRV_TM { bwInfoList containing bwInfo containing appInsId set to APP_INSTANCE_ID, - appName indicating value APP_NAME;;;; + appName indicating value APP_NAME, + allocationId indicating value APP_ALLOCATION_ID;;;; to the MEC_APP entity } } @@ -235,8 +236,7 @@ Package MEC_MEC015_SRV_TM { TP Id "TP_MEC_MEC015_SRV_TM_001_NF_01" Test objective - "Check that the IUT responds with an error when - a request with an unknown resource URI is sent by a MEC Application" + "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - app_instance_id" Reference "ETSI GS MEC 015 V2.1.1, clause 6.2.5", @@ -265,7 +265,7 @@ Package MEC_MEC015_SRV_TM { from the MEC_APP entity } then { - // MEC 015 Clause 8.3.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found"; to the MEC_APP entity @@ -306,7 +306,7 @@ Package MEC_MEC015_SRV_TM { from the MEC_APP entity } then { - // MEC 015 Clause 8.3.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found"; to the MEC_APP entity @@ -334,7 +334,7 @@ Package MEC_MEC015_SRV_TM { the IUT entity being_in idle_state and the MEC_APP entity having a bwInfo containing appName indicating value APP_NAME, - sessionId indicating value SESSION_ID; + allocationId indicating value ALLOCATION_ID; } // MEC 015 Clause 6.2.5 @@ -344,11 +344,11 @@ Package MEC_MEC015_SRV_TM { the IUT entity receives a vGET containing uri indicating value "bwm/v1/bw_allocations", query_parameters containing - session_id indicating value APP_UNKNOWN_SESSION_ID;; + session_id indicating value APP_UNKNOWN_ALLOCATION_ID;; from the MEC_APP entity } then { - // MEC 015 Clause 8.3.3.1 + // MEC 015 Clause 8.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found"; to the MEC_APP entity @@ -462,7 +462,7 @@ Package MEC_MEC015_SRV_TM { TP Id "TP_MEC_MEC015_SRV_TM_002_BR_02" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application -sessionFilter shall be present" + "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" Reference "ETSI GS MEC 015 V2.1.1, clause 6.2.2", @@ -981,15 +981,15 @@ Package MEC_MEC015_SRV_TM { Initial conditions with { the IUT entity being_in idle_state and the MEC_APP entity having a bwInfo containing - allocationId indicating value ALLOCATION_ID; + allocationId indicating value ; } - // MEC 015 Clause 6.2.3 + // MEC 015 Clause 6.2.3ALLOCATION_ID Expected behaviour ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "bwm/v1/bw_allocations/{BW_UNKNOWN_ALLOCATION_ID}"; + uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}"; from the MEC_APP entity } then { -- GitLab From 1152dd5c61b3e7acb8ce97cb18a38a98278f322f Mon Sep 17 00:00:00 2001 From: garciay Date: Thu, 11 Jan 2024 15:52:31 +0100 Subject: [PATCH 49/70] TTF T027: Finalyze review MEC-015/MTS --- .../SRV/MTS/MultiAccessTrafficSteering.tplan2 | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 index b92e53b..57a4b98 100644 --- a/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 +++ b/Test Purposes/MEC015/SRV/MTS/MultiAccessTrafficSteering.tplan2 @@ -21,7 +21,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -61,7 +61,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -101,7 +101,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -124,9 +124,8 @@ Package MEC_MEC015_SRV_MTS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing - mtsSessionInfoList containing - mtsSessionInfo containing - appInsId indicating value APP_INSTANCE_ID;;;; + mtsSessionInfo containing + appInsId indicating value APP_INSTANCE_ID;;;; to the MEC_APP entity } } @@ -146,7 +145,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -193,7 +192,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -240,7 +239,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -281,7 +280,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -322,7 +321,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -376,7 +375,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -432,7 +431,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -480,7 +479,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -532,7 +531,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -576,7 +575,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -620,7 +619,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -673,7 +672,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -721,7 +720,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -768,7 +767,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and @@ -807,7 +806,7 @@ Package MEC_MEC015_SRV_MTS { Config Id Config_MEC_1 - PICS Selection PIC_MEC_PLAT and PIC_SERVICES + PICS Selection PIC_MEC_PLAT and PIC_SERVICES and PICS_MULTI_ACCESS_TRAFFIC_STEERING_API_SUPPORTED Initial conditions with { the IUT entity being_in idle_state and -- GitLab From 02dc3f0eadf8438acb5ecef5fad6b5f51648dabc Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 5 Feb 2024 18:27:27 +0100 Subject: [PATCH 50/70] TTF T027: Finalyze review MEC-030 & MEC-029 --- Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 | 4 ++-- Test Purposes/MEC030/SRV/V2XInformationService.tplan2 | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 index ef039e1..ca11838 100644 --- a/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 +++ b/Test Purposes/MEC029/SRV/FAIS/PlatFixedAcessInfo.tplan2 @@ -512,7 +512,7 @@ Package MEC_MEC029_SRV_FAIS { "Check that the IUT responds with the subscriptions for fixed access information notifications when queried by a MEC Application" - Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.1" + Reference "ETSI GS MEC 029 2.2.1, clause 7.7.3.8" Config Id Config_MEC_1 @@ -532,7 +532,7 @@ Package MEC_MEC029_SRV_FAIS { from the MEC_APP entity } then { - // MEC 029, clause 7.7.3.1 + // MEC 029, clause 7.7.3.8 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 6b8ccb4..ba69ca4 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -602,7 +602,7 @@ Package MEC_MEC030_SRV_V2X { } Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_004_BR" + 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" @@ -802,7 +802,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "vis/v1/publish_v2x_message" + uri indicating value "vis/v2/publish_v2x_message" body containing V2xMsgPublication containing msgPropertiesValues containing @@ -846,7 +846,7 @@ Package MEC_MEC030_SRV_V2X { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "vis/v1/publish_v2x_message" + uri indicating value "vis/v2/publish_v2x_message" body containing V2xMsgPublication containing msgPropertiesValues containing @@ -1128,7 +1128,7 @@ Package MEC_MEC030_SRV_V2X { TP Id "TP_MEC_MEC030_SRV_V2X_007_OK_05" Test objective - "Check that the IUT responds with the requested list of subscription when queried by a MEC Application - v2x_msg" + "Check that the IUT responds with the requested list of subscription when queried by a MEC Application - pred_qos" Reference "ETSI GS MEC 030 V3.1.1, clause 6.3.5", -- GitLab From 745eb34234483ab0559919bd571bd947444dbd11 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 7 Feb 2024 11:38:43 +0100 Subject: [PATCH 51/70] TTF T027: Finalyze review MEC-021 --- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index f7f0fa0..283dc1d 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -158,7 +158,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { uri indicating value "/amsi/v1/subscriptions/", body containing NotificationSubscription containing - subscriptionTyp indicating value "Subscription", // wrong parameter: ]MobilityProcedureSubscription or AdjacentAppInfoSubscription + subscriptionTyp indicating value "Subscription", // wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value CALLBACK_REFERENCE;;; from the AMS_CLIENT entity } -- GitLab From 325e1a4aed36a065dfa76b2868e1c75957de9e8d Mon Sep 17 00:00:00 2001 From: Yann Garcia Date: Fri, 9 Feb 2024 13:46:40 +0000 Subject: [PATCH 52/70] Update report bugs link --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index b30ce23..68795e7 100644 --- a/Readme.md +++ b/Readme.md @@ -17,7 +17,7 @@ For more information on ETSI TDL and the TOP Open Source project visit https://t ## How to report bugs or requests -Visit https://forge.etsi.org/bugzilla/describecomponents.cgi?product=MEC. +Visit https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues. ## Licensing information -- GitLab From 7cee8baaaa92915b38b9196a1b8d500824f5afc8 Mon Sep 17 00:00:00 2001 From: Gabriele Scivoletto Date: Mon, 12 Feb 2024 17:55:47 +0100 Subject: [PATCH 53/70] fixed typos in MEC021 and MEC030 --- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 2 +- Test Purposes/MEC030/SRV/V2XInformationService.tplan2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index f7f0fa0..43e2556 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -158,7 +158,7 @@ Package MEC_MEC021_SRV_AMS_BO_BI { uri indicating value "/amsi/v1/subscriptions/", body containing NotificationSubscription containing - subscriptionTyp indicating value "Subscription", // wrong parameter: ]MobilityProcedureSubscription or AdjacentAppInfoSubscription + subscriptionType indicating value "Subscription", // wrong parameter: ]MobilityProcedureSubscription or AdjacentAppInfoSubscription callbackReference indicating value CALLBACK_REFERENCE;;; from the AMS_CLIENT entity } diff --git a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 index 6b8ccb4..c6a0a3c 100644 --- a/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 +++ b/Test Purposes/MEC030/SRV/V2XInformationService.tplan2 @@ -526,7 +526,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity havingV2xMsgDistributionServerMqtt + the IUT entity having V2xMsgDistributionServerMqtt } // MEC 030 Clause 6.2.5 Type: V2xMsgDistributionServerInfo @@ -575,7 +575,7 @@ Package MEC_MEC030_SRV_V2X { Initial conditions with { the IUT entity being_in idle_state and - the IUT entity havingV2xMsgDistributionServerMqtt + the IUT entity having V2xMsgDistributionServerMqtt } // MEC 030 Clause 6.2.5 Type: V2xMsgDistributionServerInfo @@ -602,7 +602,7 @@ Package MEC_MEC030_SRV_V2X { } Test Purpose { - TP Id "TP_MEC_MEC030_SRV_V2X_004_BR" + 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" -- GitLab From 734dd850049a3ca9f5ed8c199ffd58fd7d260e8a Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 14 Feb 2024 08:25:45 +0100 Subject: [PATCH 54/70] Fix issue https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues/21 --- Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index 02c9879..aded5de 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -32,12 +32,6 @@ Package MEC_MEC021_SRV_AMS_BO_BI { PICS Selection PIC_AMS Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; } Expected behaviour -- GitLab From 2e986c82059c163ec89258cb03f099b20c70237a Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 14 Feb 2024 08:40:02 +0100 Subject: [PATCH 55/70] Fix issue https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues/20 --- .../SRV/AMS/{Ams_BV.tplan2 => Ams.tplan2} | 552 +++++++++++++++++ Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 | 553 ------------------ 2 files changed, 552 insertions(+), 553 deletions(-) rename Test Purposes/MEC021/SRV/AMS/{Ams_BV.tplan2 => Ams.tplan2} (65%) diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams.tplan2 similarity index 65% rename from Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 rename to Test Purposes/MEC021/SRV/AMS/Ams.tplan2 index f86a664..9584832 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams.tplan2 @@ -224,6 +224,38 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_001_BR" + + Test objective + "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services?filter=(appMobilityServiceId,eq,{APP_MOBILITY_SERVICE_ID_1})"; // Wrong filter arguments + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_002_OK" @@ -267,6 +299,43 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.2", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services", + body containing + RegistrationRequest containing + appMobilityServiceId indicating value any_value;;; // wrong field value: Shall be absent in POST requests, and present otherwise + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_003_OK" @@ -313,6 +382,45 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.4", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + subscriptionType indicating value SUBSCRIPTION_TYPE; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/subscriptions/", + query_parameters containing + subscriptionType indicating value "info_app_adj";; // Wrong parameter + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_SUB entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_004_OK" @@ -357,6 +465,45 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.6.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity being_in idle_state + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/subscriptions/", + body containing + NotificationSubscription containing + subscriptionType indicating value "Subscription", // wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value CALLBACK_REFERENCE;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_005_OK" @@ -400,6 +547,45 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_005_NF" + + Test objective + "Check that the AMS service returns an error when receives a query about a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.9", + "ETSI GS MEC 021 3.1.1, clause 7.4.2", + "ETSI GS MEC 021 3.1.1, clause 7.4.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_006_OK" @@ -437,6 +623,43 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_006_NF" + + Test objective + "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.7", + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_007_OK" @@ -482,6 +705,90 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" + + Test objective + "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value SUBSCRIPTION_HREF_VALUE, + body containing + NotificationSubscription containing + subscriptionType indicating value "Subscription", // Wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the MEC_SUB entity + } + } + } + + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_007_NF" + + Test objective + "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.3.2", + "ETSI GS MEC 021 3.1.1, clause 7.3.3", + "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AMS_subscription containing + _link containing + self indicating value SUBSCRIPTION_HREF_VALUE;, + callbackReference indicating value CALLBACK_REFERENCE, + subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE, + body containing + NotificationSubscription containing + subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription + callbackReference indicating value NEW_CALLBACK_REFERENCE;;; + from the MEC_SUB entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the MEC_SUB entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_008_OK" @@ -645,6 +952,44 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_012_OK" @@ -694,6 +1039,92 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.4", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", + body containing + RegistrationInfo containing + appMobilityServiceId indicating value omit;;; // Wrong field value: Shall be present + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.4", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPUT containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", + body containing + RegistrationInfo containing + serviceConsumerId containing + appInstanceId indicating value NEW_APP_INS_ID_NEW_1;;;; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_013_OK" @@ -735,6 +1166,46 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + 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 + that represents the individual application mobility service" + + Reference + "ETSI GS MEC 021 3.1.1, clause 6.3", + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vDELETE containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_014_OK" @@ -775,6 +1246,45 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + 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" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.2", + "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a RegistrationInfoList containing + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, + serviceConsumerId containing + appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, + RegistrationInfo containing + appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "404 Not Found"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_AMS_015_OK_01" @@ -950,6 +1460,48 @@ Package MEC_MEC021_SRV_AMS_BV { } } + Test Purpose { + TP Id "TP_MEC_MEC021_SRV_AMS_015_BR" + + Test objective + "Check that the AMS service sends an error about a specified adjacent application instances when request is inconsistent" + + Reference + "ETSI GS MEC 021 3.1.1, clause 7.2.3", + "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" + + Config Id Config_MEC_1 + + PICS Selection PIC_AMS + + Initial conditions with { + the IUT entity having a AdjacentAppInstanceInfoList containing + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_1, + appDId indicating value APP_ID_1;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_2, + appDId indicating value APP_ID_2;, + AdjacentAppInstanceInfo containing + appInstanceId indicating value APP_INSTANCE_ID_3, + appDId indicating value APP_ID_3;; + } + + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(appInstanceId,eq,{APP_INSTANCE_ID_1})"; + from the AMS_CLIENT entity + } + then { + the IUT entity sends a HTTP_RESPONSE containing + status set to "400 Bad Request"; + to the AMS_CLIENT entity + } + } + } + Test Purpose { TP Id "TP_MEC_MEC021_SRV_UETESTNOT_001_OK" diff --git a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 index aded5de..d152394 100644 --- a/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/MEC021/SRV/AMS/Ams_BO_BI.tplan2 @@ -17,558 +17,5 @@ Package MEC_MEC021_SRV_AMS_BO_BI { import all from MEC_Common; - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_001_BR" - Test objective - "Check that the AMS service returns an error when receives a query about a registered application mobility service with wrong parameters" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.3.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/app_mobility_services?filter=(appMobilityServiceId,eq,{APP_MOBILITY_SERVICE_ID_1})"; // Wrong filter arguments - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.2", - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.3.3.4" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/app_mobility_services", - body containing - RegistrationRequest containing - appMobilityServiceId indicating value any_value;;; // wrong field value: Shall be absent in POST requests, and present otherwise - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_003_BR" - - Test objective - "Check that the AMS service sends an error when it receives a malformed query about the available subscriptions" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.9", - "ETSI GS MEC 021 3.1.1, clause 7.3.4", - "ETSI GS MEC 021 3.1.1, clause 8.6.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE;, - subscriptionType indicating value SUBSCRIPTION_TYPE; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/subscriptions/", - query_parameters containing - subscriptionType indicating value "info_app_adj";; // Wrong parameter - from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_004_BR" - - Test objective - "Check that the AMS service sends an error when it receives a malformed request to create a notification subscription" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.9", - "ETSI GS MEC 021 3.1.1, clause 7.3.2", - "ETSI GS MEC 021 3.1.1, clause 7.3.3", - "ETSI GS MEC 021 3.1.1, clause 8.6.3.4" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity being_in idle_state - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/subscriptions/", - body containing - NotificationSubscription containing - subscriptionType indicating value "Subscription", // wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription - callbackReference indicating value CALLBACK_REFERENCE;;; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_005_NF" - - Test objective - "Check that the AMS service returns an error when receives a query about a not existing subscription" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.9", - "ETSI GS MEC 021 3.1.1, clause 7.4.2", - "ETSI GS MEC 021 3.1.1, clause 7.4.3", - "ETSI GS MEC 021 3.1.1, clause 8.7.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; - from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_006_NF" - - Test objective - "Check that the AMS service sends an error when it receives a delete request for a not existing subscription" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.7", - "ETSI GS MEC 021 3.1.1, clause 7.3.2", - "ETSI GS MEC 021 3.1.1, clause 7.3.3", - "ETSI GS MEC 021 3.1.1, clause 8.7.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE; - from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_007_BR" - - Test objective - "Check that the AMS service sends an error when it receives a malformed modify request for a given subscription" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.3.2", - "ETSI GS MEC 021 3.1.1, clause 7.3.3", - "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value SUBSCRIPTION_HREF_VALUE, - body containing - NotificationSubscription containing - subscriptionType indicating value "Subscription", // Wrong parameter: MobilityProcedureSubscription or AdjacentAppInfoSubscription - callbackReference indicating value NEW_CALLBACK_REFERENCE;;; - from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the MEC_SUB entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_007_NF" - - Test objective - "Check that the AMS service sends an error when it receives a modify request for a not existing subscription" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.3.2", - "ETSI GS MEC 021 3.1.1, clause 7.3.3", - "ETSI GS MEC 021 3.1.1, clause 8.7.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AMS_subscription containing - _link containing - self indicating value SUBSCRIPTION_HREF_VALUE;, - callbackReference indicating value CALLBACK_REFERENCE, - subscriptionType indicating value SUBSCRIPTION_TYPE; // MobilityProcedureSubscription or AdjacentAppInfoSubscription - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value UNKNOWN_SUBSCRIPTION_HREF_VALUE, - body containing - NotificationSubscription containing - subscriptionType indicating value SUBSCRIPTION_TYPE, // MobilityProcedureSubscription or AdjacentAppInfoSubscription - callbackReference indicating value NEW_CALLBACK_REFERENCE;;; - from the MEC_SUB entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the MEC_SUB entity - } - } - } - - Test Purpose { - 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" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.4.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId indicating value SERVICE_CONSUMER_ID_1;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}"; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.4", - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId containing - appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appInstanceId indicating value NEW_APP_INS_ID_NEW_1;;;; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.4", - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.4.3.2" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId containing - appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/app_mobility_services/{APP_MOBILITY_SERVICE_ID_1}", - body containing - RegistrationInfo containing - appMobilityServiceId indicating value omit;;; // Wrong field value: Shall be present - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - 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 - that represents the individual application mobility service" - - Reference - "ETSI GS MEC 021 3.1.1, clause 6.3", - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.4.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId containing - appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/amsi/v1/app_mobility_services/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}"; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - 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" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.2.2", - "ETSI GS MEC 021 3.1.1, clause 8.5.3.4" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a RegistrationInfoList containing - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_1, - serviceConsumerId containing - appInstanceId indicating value SERVICE_CONSUMER_ID_1;;, - RegistrationInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID_2;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/app_mobility_services/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask"; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found"; - to the AMS_CLIENT entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_MEC021_SRV_AMS_015_BR" - - Test objective - "Check that the AMS service sends an error about a specified adjacent application instances when request is inconsistent" - - Reference - "ETSI GS MEC 021 3.1.1, clause 7.2.3", - "ETSI GS MEC 021 3.1.1, clause 8.8.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AdjacentAppInstanceInfoList containing - AdjacentAppInstanceInfo containing - appInstanceId indicating value APP_INSTANCE_ID_1, - appDId indicating value APP_ID_1;, - AdjacentAppInstanceInfo containing - appInstanceId indicating value APP_INSTANCE_ID_2, - appDId indicating value APP_ID_2;, - AdjacentAppInstanceInfo containing - appInstanceId indicating value APP_INSTANCE_ID_3, - appDId indicating value APP_ID_3;; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/queries/adjacent_app_instances?filter(appInstanceId,eq,{APP_INSTANCE_ID_1})"; - from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request"; - to the AMS_CLIENT entity - } - } - } } -- GitLab From 0dcb0f0432bd2859703425a3b2e7091920eb9457 Mon Sep 17 00:00:00 2001 From: piscione Date: Tue, 12 Mar 2024 13:05:46 +0100 Subject: [PATCH 56/70] Minor fix of notificationType. --- Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 index eb93bb2..6239e79 100644 --- a/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 +++ b/Test Purposes/MEC011/SRV/APPSAQ/PlatAppServices.tplan2 @@ -137,7 +137,7 @@ Package MEC_MEC011_SRV_APPSAQ { to the MEC_APP_Registrant entity and the IUT entity sends a notification_message containing body containing - notificationType set to "SerAvailabilityNotification", + notificationType set to "SerAvailabilityNotificationSubscription", services containing serName set to SERVICE_NAME _links containing -- GitLab From c141a063ea10d7cf0e7c881da2adf024e1e55e4f Mon Sep 17 00:00:00 2001 From: piscione Date: Tue, 12 Mar 2024 16:02:47 +0100 Subject: [PATCH 57/70] Minor fix of REGAPPS TPs --- .../MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 index 3f1b0ef..9569138 100644 --- a/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 +++ b/Test Purposes/MEC011/SRV/REGAPPS/RegisterAppsServices.tplan2 @@ -9,7 +9,7 @@ Package MEC_MEC011_SRV_REGAPPS { /* - * Application Service Availability Query (APPSAQ) + * REGistration APPlicationS (REGAPPS) */ Test Purpose { TP Id "TP_MEC_MEC011_SRV_REGAPPS_001_OK_01" @@ -504,7 +504,7 @@ Package MEC_MEC011_SRV_REGAPPS { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + uri indicating value "/mec_app_support/v2/registrations/{NOT_EXISTING_APP_INSTANCE_ID}"; from the MEC_APP entity } then { @@ -589,7 +589,7 @@ Package MEC_MEC011_SRV_REGAPPS { ensure that { when { the IUT entity receives a vPUT containing - uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}", + uri indicating value "/mec_app_support/v2/registrations/{NOT_EXISTING_APP_INSTANCE_ID}", body containing AppInfo containing appName indicating value APP_NAME, @@ -674,7 +674,7 @@ Package MEC_MEC011_SRV_REGAPPS { ensure that { when { the IUT entity receives a vDELETE containing - uri indicating value "/mec_app_support/v2/registrations/{APP_INSTANCE_ID}"; + uri indicating value "/mec_app_support/v2/registrations/{NOT_EXISTING_APP_INSTANCE_ID}"; from the MEC_APP entity } then { -- GitLab From 3734040d7e4b189a7858128ba62eafd8e9df3644 Mon Sep 17 00:00:00 2001 From: piscione Date: Wed, 13 Mar 2024 16:55:11 +0100 Subject: [PATCH 58/70] Review of MEC012v2.1.1 TPs --- .../SRV/RNIS/RnisAllSubscriptions.tplan2 | 6 ++++-- .../MEC012/SRV/RNIS/RnisNotifications.tplan2 | 10 ++++++---- Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 | 18 +++++++++--------- .../SRV/RNIS/RnisSpecificSubscription.tplan2 | 5 +---- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 index f2183c4..44f81c5 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisAllSubscriptions.tplan2 @@ -67,7 +67,7 @@ Package MEC_MEC012_SRV_RNIS_SUBS { CellChangeSubscription containing subscritionType indicating value "CelCangeSubscription", //wrong subscription type callbackReference indicating value any_value, - attribute filterCriteriaAssocHo, + filterCriteriaAssocHo indicating value any_value, expiryDeadline set to any_value ; ; @@ -180,7 +180,9 @@ Package MEC_MEC012_SRV_RNIS_SUBS { CellChangeSubscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, callbackReference indicating value CALLBACK_URI, - attribute _links + _links containing + self indicating value URI_TO_SUBSCRIPTION + ; ; ; ; to the MEC_SUB entity diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 index 1c393d7..04d6bc5 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisNotifications.tplan2 @@ -11,7 +11,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { TP Id "TP_MEC_MEC012_SRV_RNIS_001_OK" Test objective - "Check that the RNIS service sends an RNIS notification about cell change + "Check that the RNIS service sends an RNIS notification about cell change if the RNIS service has an associated subscription and the event is generated" Reference "ETSI GS MEC 012 2.2.1, clause 6.4.2", @@ -92,7 +92,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { erabId set to any_value, erabQosParameters containing qci set to QCI, - attribute qosInformation + qosInformation set to any_value ; ; ; to the MEC_SUB entity @@ -377,7 +377,9 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { the IUT entity having a RNIS_subscription containing subscriptionType indicating value "NrMeasRepUeSubscription", callbackReference indicating value CALLBACK_URI, - filterCriteriaNrMrs indicating value FILTER_CRITERIA //the attributes of filterCriteriaNrMrs are FFS - ref. clause 6.3.11 + filterCriteriaNrMrs containing //the attributes of filterCriteriaNrMrs are FFS - ref. clause 6.3.11 + associateId indicating value ASSOCIATE_ID + ; ; } @@ -385,7 +387,7 @@ Package MEC_MEC012_SRV_RNIS_NOTIF_BV { ensure that { when { the IUT entity generates a nr_measurement_repost_event containing - associateId set to ASSOCIATE_ID; //TBD - how to link this with the filter criteria + associateId set to ASSOCIATE_ID; } then { the IUT entity sends a vPOST containing diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 index 2fbbd87..1d203f3 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisQuery.tplan2 @@ -71,7 +71,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY { the IUT entity receives a vGET containing uri indicating value "/rnis/v2/queries/rab_info", query_parameters containing - cell_id indicating value CELL_ID + cell_id indicating value NOT_EXISTING_CELL_ID ; ; from the RNIS_CLIENT entity } @@ -347,7 +347,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY { requestId set to any_value, cellUserInfo containing ecgi indicating value CELL_ID, - attribute ueInfo + ueInfo indicating value any_value ; ; ; @@ -371,7 +371,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY { Initial conditions with { the IUT entity having a PlmnInfo containing - appInstanceId indicating value APP_INSTANCE_INFO + appInstanceId indicating value APP_INSTANCE_ID ; } @@ -381,7 +381,7 @@ Package MEC_MEC012_SRV_RNIS_QUERY { the IUT entity receives a vGET containing uri indicating value "/rni/v2/queries/plmn_info", query_parameters containing - app_ins_id indicating value APP_INS_ID + app_ins_id indicating value APP_INSTANCE_ID ; ; from the RNIS_CLIENT entity } @@ -390,8 +390,8 @@ Package MEC_MEC012_SRV_RNIS_QUERY { status set to "200 OK", body containing PlmnInfo containing - appInstanceId indicating value APP_INS_ID, - attribute plmn + appInstanceId indicating value APP_INSTANCE_ID, + plmn indicating value any_value ; ; ; to the RNIS_CLIENT entity @@ -435,10 +435,10 @@ Package MEC_MEC012_SRV_RNIS_QUERY { body containing S1BearerInfo containing s1UeInfo containing - attribute tempUeId, - attribute associateId, + tempUeId indicating value any_value, + associateId indicating value any_value, ecgi indicating value CELL_ID, - attribute s1BearerInfoDetailed + s1BearerInfoDetailed indicating value any_value ; ; ; diff --git a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 index 8c02669..beb7d79 100644 --- a/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 +++ b/Test Purposes/MEC012/SRV/RNIS/RnisSpecificSubscription.tplan2 @@ -40,7 +40,7 @@ Package MEC_MEC012_SRV_RNIS_SUB { } } } - + Test Purpose { // Negative test: 400 Bad request TP Id "TP_MEC_MEC012_SRV_RNIS_014_BR" @@ -212,7 +212,6 @@ Package MEC_MEC012_SRV_RNIS_SUB { } } - Test Purpose { TP Id "TP_MEC_MEC012_SRV_RNIS_014_OK" @@ -267,8 +266,6 @@ Package MEC_MEC012_SRV_RNIS_SUB { } } - - Test Purpose { TP Id "TP_MEC_MEC012_SRV_RNIS_015_OK" -- GitLab From c4443aa6b286a40a4e073fc39965c957a04f4c3f Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 12 Apr 2024 14:43:29 +0200 Subject: [PATCH 59/70] Added missing TP TP_MEC_MEC011_SRV_TRAF_002_NF for MEC011 --- .../MEC011/SRV/TRAF/PlatTrafficRules.tplan2 | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 index 410c810..cb5b747 100644 --- a/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 +++ b/Test Purposes/MEC011/SRV/TRAF/PlatTrafficRules.tplan2 @@ -135,6 +135,49 @@ Package MEC_MEC011_SRV_TRAF { } + Test Purpose { + TP Id "TP_MEC_MEC011_SRV_TRAF_002_NF" + + Test objective + "Check that the IUT responds with an error when a request for an unknown traffic rule + when queried by a MEC Application" + + Reference + "ETSI GS MEC 011 3.2.1, clause 5.2.7", + "ETSI GS MEC 011 3.2.1, clause 7.1.2.2", + "ETSI GS MEC 011 3.2.1, clause 7.2.8.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 apps_instance containing + instance_id indicating value APP_INSTANCE_ID; and + the IUT entity having a traffic_rules containing + rule_id indicating value UNKNOWN_TRAFFIC_RULE_ID; + } + + // MEC 011 3.2.1, clause 5.2.7 + Expected behaviour + ensure that { + when { + the IUT entity receives a vGET containing + uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/traffic_rules/{UNKNOWN_TRAFFIC_RULE_ID}"; + from the MEC_APP entity + } + then { + // MEC 011 3.2.1, clause 7.2.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_MEC011_SRV_TRAF_003_OK" -- GitLab From 8cfd0ec219aced3a37f1e28414a86950ebdad943 Mon Sep 17 00:00:00 2001 From: piscione Date: Sat, 13 Apr 2024 11:20:21 +0200 Subject: [PATCH 60/70] Minor fixes on MEC014v3.1.1 TPs. --- .../MEC014/SRV/UETAG/PlatUeIdentity.tplan2 | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 index 3106f9d..f5a24b0 100644 --- a/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 +++ b/Test Purposes/MEC014/SRV/UETAG/PlatUeIdentity.tplan2 @@ -28,9 +28,9 @@ Package MEC_MEC014_SRV_UETAG { Test objective "Check that the IUT responds with the information on a UE Identity tag when queried by a MEC Application" - - Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.1", - "ETSI GS MEC 014 3.1.1, clause 6.2.2" + + Reference "ETSI GS MEC 014 3.1.1, clause 6.2.2", + "ETSI GS MEC 014 3.1.1, clause 7.3.3.1" Config Id Config_MEC_1 @@ -48,7 +48,7 @@ Package MEC_MEC014_SRV_UETAG { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "/ui/v1/{APP_INSTANCE_ID}/ue_identity_tag_info", + uri indicating value "ui/v1/{APP_INSTANCE_ID}/ue_identity_tag_info", query_parameters containing ueIdentityTag indicating value UE_IDENTITY_TAG ; @@ -104,7 +104,7 @@ Package MEC_MEC014_SRV_UETAG { uri indicating value "ui/v1/{APP_INSTANCE_ID}/ue_identity_tag_info", query_parameters containing // Wrong parameter name should trigger an error response. - ueTag indicating value UE_IDENTITY_TAG + ueTag indicating value UE_IDENTITY_TAG //The query param. should be ueIdentityTag and not ueTag ; ; from the MEC_APP entity @@ -171,9 +171,9 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT registers a tag (representing a UE) or a list of tags when commanded by a MEC Application" - Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", - "ETSI GS MEC 014 3.1.1, clause 6.2.2" - + Reference "ETSI GS MEC 014 3.1.1, clause 6.2.2", + "ETSI GS MEC 014 3.1.1, clause 7.3.3.2" + Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES @@ -232,8 +232,8 @@ Package MEC_MEC014_SRV_UETAG { "Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application" - Reference "ETSI GS MEC 014 3.1.1, clause 7.3.3.2", - "ETSI GS MEC 014 3.1.1, clause 6.2.2" + Reference "ETSI GS MEC 014 3.1.1, clause 6.2.2", + "ETSI GS MEC 014 3.1.1, clause 7.3.3.2" Config Id Config_MEC_1 -- GitLab From 11d9784bf7feea2c1f5afb62fff0be16192d5fd1 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 15 Apr 2024 10:30:48 +0200 Subject: [PATCH 61/70] Minor fixes on MEC013 TPs. --- .../SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 | 3 ++- .../SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 | 15 ++++++++++----- .../UEAREASUB/PlatUeAreaSubscription.tplan2 | 19 +++++++++++++------ .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 6 ++++-- .../PlatUeDistanceSubscription.tplan2 | 13 +++++++++---- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 4 ++-- 6 files changed, 40 insertions(+), 20 deletions(-) diff --git a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 index 9601d94..74b0022 100644 --- a/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 +++ b/Test Purposes/MEC013/SRV/RLOCLOOK/PlatRadioNodeLocation.tplan2 @@ -26,7 +26,8 @@ Package MEC_MEC013_SRV_RLOCLOOK { 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 + "Check that the IUT responds with the list of radio nodes + currently associated with the MEC host and the location of each radio node when queried by a MEC Application" Reference diff --git a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 index 8b72c22..f68b09c 100644 --- a/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREALOOK/PlatUeAreaLookup.tplan2 @@ -26,7 +26,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_01" Test objective - "Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - No filter" + "Check that the IUT responds with a list of UE area subscriptions + when queried by a MEC Application - No filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -74,7 +75,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_OK_02" Test objective - "Check that the IUT responds with a list of UE area subscriptions when queried by a MEC Application - Event filter" + "Check that the IUT responds with a list of UE area subscriptions + when queried by a MEC Application - event filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -123,7 +125,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_001_BR" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid filter" + "Check that the IUT responds with an error when a + request with incorrect parameters is sent by a MEC Application - Invalid filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -163,7 +166,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_002_OK" Test objective - "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the change of UE area subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.8", @@ -208,7 +212,8 @@ Package MEC_MEC013_SRV_UEAREALOOK { TP Id "TP_MEC_MEC013_SRV_UEAREALOOK_002_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 + "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 diff --git a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 index 05ac792..997c4ac 100644 --- a/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEAREASUB/PlatUeAreaSubscription.tplan2 @@ -26,7 +26,8 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_001_OK" Test objective - "Check that the IUT acknowledges the creation of UE area subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the creation of UE area subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -89,7 +90,9 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_001_BR" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + "Check that the IUT responds with an error + when a request with incorrect parameters is sent + by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -135,7 +138,8 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_002_OK" Test objective - "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the change of UE area subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.8", @@ -193,7 +197,8 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_002_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 + "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 @@ -241,7 +246,8 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_003_OK" Test objective - "Check that the IUT acknowledges the cancellation of UE area change notifications when commanded by a MEC Application" + "Check that the IUT acknowledges the cancellation of UE area change notifications + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.6", @@ -281,7 +287,8 @@ Package MEC_MEC013_SRV_UEAREASUB { TP Id "TP_MEC_MEC013_SRV_UEAREASUB_003_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 + "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 diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index c1d2764..d9fa6aa 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -25,7 +25,8 @@ Package MEC_MEC013_SRV_UEDISTLOOK { TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_OK" Test objective - "Check that the IUT responds with the list of UE distance subscriptions to a UE when queried by a MEC Application" + "Check that the IUT responds with the list of UE distance subscriptions + to a UE when queried by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -73,7 +74,8 @@ Package MEC_MEC013_SRV_UEDISTLOOK { TP Id "TP_MEC_MEC013_SRV_UEDISTLOOK_001_BR" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Invalid filter" + "Check that the IUT responds with an error + when a request with incorrect parameters is sent by a MEC Application - Invalid filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", diff --git a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 index 6845aff..bb967ed 100644 --- a/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTSUB/PlatUeDistanceSubscription.tplan2 @@ -27,7 +27,8 @@ Package MEC_MEC013_SRV_UEDISTSUB { Test objective "Check that the IUT acknowledges the UE distance subscription request when commanded by a - MEC Application and notifies it when (all) the requested UE(s) is (are) within the specified distance" + MEC Application and notifies it when (all) the requested UE(s) is (are) within + the specified distance" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -96,7 +97,9 @@ Package MEC_MEC013_SRV_UEDISTSUB { TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_001_BR" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + "Check that the IUT responds with an error + when a request with incorrect parameters is + sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -143,7 +146,8 @@ Package MEC_MEC013_SRV_UEDISTSUB { TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_OK" Test objective - "Check that the IUT acknowledges the cancellation of UE distance notifications when commanded by a MEC Application" + "Check that the IUT acknowledges the cancellation of UE distance notifications + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.6", @@ -181,7 +185,8 @@ Package MEC_MEC013_SRV_UEDISTSUB { TP Id "TP_MEC_MEC013_SRV_UEDISTSUB_002_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 + "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 diff --git a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 58a8822..5846f1c 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -129,8 +129,8 @@ Package MEC_MEC013_SRV_UEINFLOOK { the IUT entity being_in idle_state and the IUT entity having a ue_location containing address1 indicating value ACR_SOME_IP, - address2 indicating value ACR_SOME_IP, - address3 indicating value ACR_SOME_IP; + address2 indicating value ACR_IP_UE2, + address3 indicating value ACR_IP_UE3; } // MEC 013, clause 5.3.2 -- GitLab From 6bb9b845a85ebfb04f38f50f50f76655abbb23a1 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 13 May 2024 09:05:15 +0200 Subject: [PATCH 62/70] Minor on MEC013. --- .../UEINFOLOOK/PlatUeInformationLookup.tplan2 | 2 +- .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 27 ++++++++++----- .../PlatUeLocationSubscription.tplan2 | 33 ++++++++++++------- .../UETESTNOT/PlatUeTestSubscription.tplan2 | 8 ++--- .../SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 | 27 ++++++++++----- .../UEZONESUB/PlatUeZoneSubscription.tplan2 | 28 +++++++++++----- 6 files changed, 81 insertions(+), 44 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 5846f1c..198e2e6 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -27,7 +27,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location - when queried by a MEC Application - No Filter" + when queried by a MEC Application - No Filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", diff --git a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index c0dc3d1..a653b8a 100644 --- a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -25,7 +25,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { 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 when queried by a MEC Application" + "Check that the IUT responds with a list for the location of User Equipments + when queried by a MEC Application" Reference "ETSI GS MEC 013 3.1.1, clause 5.3.2", @@ -66,7 +67,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_01" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event" + "Check that the IUT responds with + the subscription when queried by a MEC Application - UE location Event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -121,7 +123,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_02" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Periodic" + "Check that the IUT responds with the subscription + when queried by a MEC Application - UE location Periodic" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -176,7 +179,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_OK_03" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event and address" + "Check that the IUT responds with the subscription + when queried by a MEC Application - UE location Event and address" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -238,7 +242,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_BR" Test objective - "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application - Invalid filter" + "Check that the IUT responds with an error + when inconsistent request was sent by a MEC Application - Invalid filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -287,7 +292,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_002_NF" Test objective - "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + "Check that the IUT responds with an error + when inconsistent request was sent by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -325,7 +331,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_01" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event" + "Check that the IUT responds with the subscription + when queried by a MEC Application - UE location Event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -374,7 +381,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_003_OK_02" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Periodoc" + "Check that the IUT responds with the subscription + when queried by a MEC Application - UE location Periodoc" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -425,7 +433,8 @@ Package MEC_MEC013_SRV_UELOCLOOK { TP Id "TP_MEC_MEC013_SRV_UELOCLOOK_003_NF" Test objective - "Check that the IUT responds with an error when the non existing subscription is queried by a MEC Application" + "Check that the IUT responds with an error + when the non existing subscription is queried by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", diff --git a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 index 47a6cd7..dfe504e 100644 --- a/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCSUB/PlatUeLocationSubscription.tplan2 @@ -25,7 +25,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK_01" Test objective - "Check that the IUT acknowledges the subscription by a MEC Application to notifications user location event" + "Check that the IUT acknowledges the subscription + by a MEC Application to notifications user location event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -87,7 +88,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_OK_02" Test objective - "Check that the IUT acknowledges the subscription by a MEC Application to notifications user location periodic" + "Check that the IUT acknowledges the subscription + by a MEC Application to notifications user location periodic" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -153,7 +155,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_BR_01" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + "Check that the IUT responds with an error + when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -196,7 +199,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_001_BR_02" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + "Check that the IUT responds with an error + when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -241,7 +245,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_OK" Test objective - "Check that the IUT acknowledges the cancellation of UE information change notifications when commanded by a MEC Application" + "Check that the IUT acknowledges the cancellation of UE information change notifications + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.6", @@ -279,7 +284,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_002_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" + "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 013 3.1.1 Clause 5.3.6", @@ -315,7 +321,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_OK_01" Test objective - "Check that the IUT acknowledges a request to modify an existing subscription by a MEC Application" + "Check that the IUT acknowledges a request to modify an existing subscription + by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.4", @@ -368,7 +375,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_OK_02" Test objective - "Check that the IUT acknowledges a request to modify an existing subscription by a MEC Application" + "Check that the IUT acknowledges a request to modify an existing subscription + by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -423,7 +431,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_BR_01" Test objective - "Check that the IUT responds with an error when received an inconsistent request" + "Check that the IUT responds with an error + when received an inconsistent request" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.4", @@ -468,7 +477,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_BR_02" Test objective - "Check that the IUT responds with an error when received an inconsistent request" + "Check that the IUT responds with an error + when received an inconsistent request" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.4", @@ -512,7 +522,8 @@ Package MEC_MEC013_SRV_UELOCSUB { TP Id "TP_MEC_MEC013_SRV_UELOCSUB_003_NF" Test objective - "Check that the IUT acknowledges a request to modify a not existing subscription by a MEC Application" + "Check that the IUT acknowledges a request to modify a not existing subscription + by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.4", diff --git a/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 index 53dd7b0..c6fc77e 100644 --- a/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UETESTNOT/PlatUeTestSubscription.tplan2 @@ -25,7 +25,8 @@ Package MEC_MEC013_SRV_UETESTNOT { TP Id "TP_MEC_MEC013_SRV_UETESTNOT_001_OK" Test objective - "Check that the IUT provides a test notification when requested by a MEC Application" + "Check that the IUT provides a test notification + when requested by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.4", @@ -65,7 +66,6 @@ Package MEC_MEC013_SRV_UETESTNOT { subscriptionType indicating value "UserLocationEventSubscription", clientCorrelator indicating value CLIENT_ID, callbackReference indicating value CALLBACK_URL, - requestTestNotification indicating value true, // FIXME: To be confirmed _links indicating value LINKS, address indicating value ACR_SOME_IP;;; to the MEC_APP entity @@ -150,6 +150,4 @@ Package MEC_MEC013_SRV_UETESTNOT { } } } - - -} +} \ No newline at end of file diff --git a/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 index bcd8971..65c42e0 100644 --- a/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEZONELOOK/PlatUeZoneLookup.tplan2 @@ -26,7 +26,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_001_OK" Test objective - "Check that the IUT responds with a list zones when queried by a MEC Application" + "Check that the IUT responds with a list zones + when queried by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -67,7 +68,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_01" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - Zone location Event" + "Check that the IUT responds with the subscription + when queried by a MEC Application - Zone location Event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -122,7 +124,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_02" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - Zone Status" + "Check that the IUT responds with the subscription + when queried by a MEC Application - Zone Status" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -177,7 +180,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_OK_03" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - UE location Event and address" + "Check that the IUT responds with the subscription + when queried by a MEC Application - UE location Event and address" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -239,7 +243,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_BR" Test objective - "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application - Invalid filter" + "Check that the IUT responds with an error + when inconsistent request was sent by a MEC Application - Invalid filter" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -288,7 +293,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_002_NF" Test objective - "Check that the IUT responds with an error when inconsistent request was sent by a MEC Application" + "Check that the IUT responds with an error + when inconsistent request was sent by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -326,7 +332,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_003_OK_01" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - Zone location Event" + "Check that the IUT responds with the subscription + when queried by a MEC Application - Zone location Event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -380,7 +387,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_003_OK_02" Test objective - "Check that the IUT responds with the subscription when queried by a MEC Application - Zone status Event" + "Check that the IUT responds with the subscription + when queried by a MEC Application - Zone status Event" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -434,7 +442,8 @@ Package MEC_MEC013_SRV_UEZONELOOK { TP Id "TP_MEC_MEC013_SRV_UEZONELOOK_003_NF" Test objective - "Check that the IUT responds with an error when the non existing subscription is queried by a MEC Application" + "Check that the IUT responds with an error + when the non existing subscription is queried by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 7.12.3.1" diff --git a/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 index a2833b5..0266991 100644 --- a/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 +++ b/Test Purposes/MEC013/SRV/UEZONESUB/PlatUeZoneSubscription.tplan2 @@ -26,7 +26,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK" Test objective - "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the creation of UE zone subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -92,7 +93,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02_01" Test objective - "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application - OperationStatus constraint" + "Check that the IUT acknowledges the creation of UE zone subscription request + when commanded by a MEC Application - OperationStatus constraint" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -157,7 +159,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_OK_02_02" Test objective - "Check that the IUT acknowledges the creation of UE zone subscription request when commanded by a MEC Application - UserNumEvent constraint" + "Check that the IUT acknowledges the creation of UE zone subscription request + when commanded by a MEC Application - UserNumEvent constraint" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -224,7 +227,9 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_001_BR" Test objective - "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" + "Check that the IUT responds with an error + when a request with incorrect parameters is + sent by a MEC Application - Neither callbackReference nor websockNotifConfig provided" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.11", @@ -269,7 +274,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_002_OK_01" Test objective - "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the change of UE area subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.6", @@ -326,7 +332,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_002_OK_02" Test objective - "Check that the IUT acknowledges the change of UE area subscription request when commanded by a MEC Application" + "Check that the IUT acknowledges the change of UE area subscription request + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 6.3.7", @@ -379,7 +386,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_002_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 + "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 @@ -427,7 +435,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_003_OK" Test objective - "Check that the IUT acknowledges the cancellation of UE area change notifications when commanded by a MEC Application" + "Check that the IUT acknowledges the cancellation of UE area change notifications + when commanded by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.6", @@ -467,7 +476,8 @@ Package MEC_MEC013_SRV_UEZONESUB { TP Id "TP_MEC_MEC013_SRV_UEZONESUB_003_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 + "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 -- GitLab From d9a8768b7428512b32938565917987e812fecd89 Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 17 May 2024 15:28:46 +0200 Subject: [PATCH 63/70] Minor fixes on MEC033 TPs. --- .../MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 index d8791e2..2f24c18 100644 --- a/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 +++ b/Test Purposes/MEC033/MEX/IOTS/IOTDEV/RegisteredDevices.tplan2 @@ -12,7 +12,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_01" Test objective - "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer" + "Check that the IUT responds with the list of registered IoT devices + when queried by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" @@ -68,7 +69,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_02" Test objective - "Check that the IUT responds with the list of registered IoT devices when queried using a filter by a Service Consumer" + "Check that the IUT responds with the list of registered IoT devices + when queried using a filter by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" @@ -122,7 +124,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_03" Test objective - "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering one field" + "Check that the IUT responds with the list of registered IoT devices + when queried by a Service Consumer filtering one field" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" @@ -172,7 +175,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_04" Test objective - "Check that the IUT responds with the list of registered IoT devices when queried by a Service Consumer filtering the number of fields and applying a + "Check that the IUT responds with the list of registered IoT devices + when queried by a Service Consumer filtering the number of fields and applying a filter to a specific field" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1" @@ -223,7 +227,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_002_OK" Test objective - "Check that the IUT registers the information of an IoT device when requested by a Service Consumer" + "Check that the IUT registers the information of an IoT device + when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -277,7 +282,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_002_BR" Test objective - "Check that the IUT returns an error when Service Consumer request to register an IoT device with incorrect parameters" + "Check that the IUT returns an error + when Service Consumer request to register an IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.4" @@ -327,7 +333,8 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_003_OK" Test objective - "Check that the IUT returns the IoT device information when requested by Service Consumer specifying the device identifier" + "Check that the IUT returns the IoT device information + when requested by Service Consumer specifying the device identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" @@ -379,7 +386,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_003_NF" Test objective - "Check that the IUT returns error when Service Consumer request to retrieve a not registered IoT device" + "Check that the IUT returns error + when Service Consumer request to retrieve a not registered IoT device" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.1" @@ -422,7 +430,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_OK" Test objective - "Check that the IUT updates the information about a registered IoT device when requested by a Service Consumer" + "Check that the IUT updates the information about a registered IoT device + when requested by a Service Consumer" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -503,7 +512,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_NF" Test objective - "Check that the IUT returns an error when a Service Consumer requests to update a not registered IoT device" + "Check that the IUT returns an error + when a Service Consumer requests to update a not registered IoT device" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -563,7 +573,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_004_BR" Test objective - "Check that the IUT returns an error when a Service Consumer requests to update an existing IoT device with incorrect parameters" + "Check that the IUT returns an error + when a Service Consumer requests to update an existing IoT device with incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.2" @@ -629,7 +640,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_005_OK" Test objective - "Check that the IUT deregisters an IoT device information when requested by a Service Consumer specifying the IoT registered device identifier" + "Check that the IUT deregisters an IoT device information + when requested by a Service Consumer specifying the IoT registered device identifier" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" @@ -672,7 +684,8 @@ Test Purpose { TP Id "TP_MEC_MEC033_IOTS_IOTDEV_005_NF" Test objective - "Check that the IUT returns an error when a Service Consumer requests to deregisters an IoT device using incorrect parameters" + "Check that the IUT returns an error + when a Service Consumer requests to deregisters an IoT device using incorrect parameters" Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5" -- GitLab From 58e4810638f21894add0419efb433aaad792c449 Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 17 May 2024 15:53:46 +0200 Subject: [PATCH 64/70] Created subdir for TPs. --- Test Purposes/MEC040/SRV/{ => MEF}/FederationEnablement.tplan2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename Test Purposes/MEC040/SRV/{ => MEF}/FederationEnablement.tplan2 (99%) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 similarity index 99% rename from Test Purposes/MEC040/SRV/FederationEnablement.tplan2 rename to Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 index 9891cc6..7ba3f29 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 @@ -11,7 +11,8 @@ Package MEC_MEC040_SRV_FED { TP Id "TP_MEC_MEC040_SRV_MEF_001_OK" Test objective - "Check that the IUT responds with a list of all available systemInfo when requested by a MEC Orchestrator - No query parameters" + "Check that the IUT responds with a list of all available systemInfo + when requested by a MEC Orchestrator - No query parameters" Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" -- GitLab From 13e5204fbf0c0ab7f913fd8e5cdd334a05f0161b Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 24 May 2024 07:28:13 +0200 Subject: [PATCH 65/70] Editorial changes --- .../UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 4 +- .../SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 | 1 + .../MEC015/SRV/TM/TrafficManagement.tplan2 | 138 +++++++++--------- 3 files changed, 72 insertions(+), 71 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index d9fa6aa..2340c85 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -75,7 +75,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Test objective "Check that the IUT responds with an error - when a request with incorrect parameters is sent by a MEC Application - Invalid filter" + when a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -96,7 +96,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "location/v3/subscriptions/distance&event"; + uri indicating value "location/v3/subscriptions/dist"; from the MEC_APP entity } then { diff --git a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 index a653b8a..1702f9b 100644 --- a/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UELOCLOOK/PlatUeLocationLookup.tplan2 @@ -30,6 +30,7 @@ Package MEC_MEC013_SRV_UELOCLOOK { Reference "ETSI GS MEC 013 3.1.1, clause 5.3.2", + "ETSI GS MEC 013 3.1.1, clause 6.3.4", "ETSI GS MEC 013 3.1.1, clause 7.5.3.1" Config Id Config_MEC_1 diff --git a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 index 4aace3f..b61487a 100644 --- a/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 +++ b/Test Purposes/MEC015/SRV/TM/TrafficManagement.tplan2 @@ -18,9 +18,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with the list of configured bandwidth allocations when queried by a MEC Application - none" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -58,9 +58,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - app_instance_id" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -103,9 +103,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - app_name" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -150,9 +150,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application - session_id" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -198,9 +198,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - app_instance_id" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -239,9 +239,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - app_instance_id" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -281,9 +281,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - app_name" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -322,9 +322,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application - session_id" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.1" Config Id Config_MEC_1 @@ -364,9 +364,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT acknowledges a creation of a bandwidthAllocation resource" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.2", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + "ETSI GS MEC 015 2.2.1, clause 6.2.2", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.4" Config Id Config_MEC_1 @@ -418,9 +418,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.2", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + "ETSI GS MEC 015 2.2.1, clause 6.2.2", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.4" Config Id Config_MEC_1 @@ -465,9 +465,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.2", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.4.3.4" + "ETSI GS MEC 015 2.2.1, clause 6.2.2", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.4.3.4" Config Id Config_MEC_1 @@ -512,9 +512,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.1" Config Id Config_MEC_1 @@ -554,9 +554,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.5", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.1" + "ETSI GS MEC 015 2.2.1, clause 6.2.5", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.1" Config Id Config_MEC_1 @@ -593,9 +593,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT updates the requested bandwidth requirements when commanded by a MEC Application" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -642,9 +642,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -689,9 +689,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -736,9 +736,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.2" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.2" Config Id Config_MEC_1 @@ -781,9 +781,9 @@ Package MEC_MEC015_SRV_TM { when commanded by a MEC Application" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -832,9 +832,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be omitted" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -879,9 +879,9 @@ Package MEC_MEC015_SRV_TM { "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application - sessionFilter shall be present" Reference - "ETSI GS MEC 015 V2.1.1, clause 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -926,9 +926,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.4", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.3" + "ETSI GS MEC 015 2.2.1, clause 6.2.4", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.3" Config Id Config_MEC_1 @@ -970,9 +970,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.3", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" + "ETSI GS MEC 015 2.2.1, clause 6.2.3", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.5" Config Id Config_MEC_1 @@ -1009,9 +1009,9 @@ Package MEC_MEC015_SRV_TM { "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 6.2.3", - "ETSI GS MEC 015 V2.1.1, clause 7.2.2", - "ETSI GS MEC 015 V2.1.1, clause 8.3.3.5" + "ETSI GS MEC 015 2.2.1, clause 6.2.3", + "ETSI GS MEC 015 2.2.1, clause 7.2.2", + "ETSI GS MEC 015 2.2.1, clause 8.3.3.5" Config Id Config_MEC_1 -- GitLab From adb5e3c24c0b0df07539459d1123b2aa5d3dc723 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 3 Jun 2024 07:31:35 +0200 Subject: [PATCH 66/70] Resolve bugs in TPs MEC 040 (https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues/23) --- .../MEC040/SRV/FederationEnablement.tplan2 | 109 ++---------------- 1 file changed, 8 insertions(+), 101 deletions(-) diff --git a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 index 9891cc6..7d51ca4 100644 --- a/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/FederationEnablement.tplan2 @@ -839,8 +839,10 @@ Package MEC_MEC040_SRV_FED { ensure that { when { the IUT entity receives a vGET containing - uri indicating value "fed_enablement/v10/fed_resources/system_info" - ; + uri indicating value "fed_enablement/v10/fed_resources/system_info", + query_parameters containing + system indicating value any_value // Wrong query parameter: system instead of systemId + ;; from the MEC_FED entity } then { @@ -910,7 +912,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_01" + TP Id "TP_MEC_MEC040_SRV_MEF_002_BR" Test objective "Check that the IUT responds with an error on creating an existing systemInfo" @@ -938,7 +940,7 @@ Package MEC_MEC040_SRV_FED { uri indicating value "fed_enablement/v1/fed_resources/system_info", body containing systemInfo containing - systemId indicating value SYSTEM_ID_1, // Shall be absent in POST request + systemId indicating value SYSTEM_ID_2, // Shall be absent in POST request systemName indicating value SYSTEM_NAME_2, systemProvider indicating value SYSTEM_PROV_2 ; @@ -957,54 +959,6 @@ Package MEC_MEC040_SRV_FED { } // End of TP_MEC_MEC040_SRV_MEF_002_BR_01 - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_02" - - Test objective - "Check that the IUT responds with an error on providing inconsistent data" - - Reference - "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity is_registered to the MEC_FED entity and - the MEC_FED entity having a systemInfoList containing - systemInfo2 indicating value SYSTEM_ID_2 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "fed_enablement/v1/fed_resources/system_info", - body containing - systemInfo containing - systemId indicating value SYSTEM_ID_1, // Shall be omit in the request - systemName indicating value SYSTEM_NAME_1, - systemProvider indicating value SYSTEM_PROV_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.3.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_MEF_002_BR_02 - - Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_003_OK" @@ -1357,54 +1311,7 @@ Package MEC_MEC040_SRV_FED { Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_01" - - Test objective - "Check that the IUT responds with an error when requested to update with an inconsistant URI" - - Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" - - Config Id Config_MEC_7 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity is_registered to the MEC_FED entity and - the MEC_FED entity having a systemInfoList containing - systemInfo1 indicating value SYSTEM_ID_1 - ; - } - - // MEC 040 Clause 6.2.2 Type: SystemInfo - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" // Wrong version - body containing - SystemInfoUpdate containing - systemName indicating value omit, - endpoint indicating value SYSTEM_NEW_ENDPOINT_1 - ; - ; - ; - from the MEC_FED entity - } - then { - // MEC 040 Clause 7.4.3.3 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "400 Bad Request" - ; - to the MEC_FED entity - } - } - } // End of TP_MEC_MEC040_SRV_MEF_004_BR_01 - - - Test Purpose { - TP Id "TP_MEC_MEC040_SRV_MEF_004_BR_02" + TP Id "TP_MEC_MEC040_SRV_MEF_004_BR" Test objective "Check that the IUT responds with an error when requested to update with no data provided" @@ -1431,7 +1338,7 @@ Package MEC_MEC040_SRV_FED { the IUT entity receives a vPATCH containing uri indicating value "fed_enablement/v10/fed_resources/system_info/{SYSTEM_ID_1}" body containing - SystemInfoUpdate containing + SystemInfoUpdate containing // At least one attribute shall exist systemName indicating value omit, endpoint indicating value omit ; -- GitLab From 8b708a74ea1e5920063df91078c7538bd6ee57d3 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 3 Jun 2024 07:44:11 +0200 Subject: [PATCH 67/70] Resolve bugs in TPs MEC 013 (https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues/22) --- .../MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 index 2340c85..2d4b5e8 100644 --- a/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEDISTLOOK/PlatUeDistanceLookup.tplan2 @@ -75,7 +75,7 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Test objective "Check that the IUT responds with an error - when a request with incorrect parameters is sent by a MEC Application" + when a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 013 3.1.1 Clause 5.3.2", @@ -95,8 +95,11 @@ Package MEC_MEC013_SRV_UEDISTLOOK { Expected behaviour ensure that { when { - the IUT entity receives a vGET containing - uri indicating value "location/v3/subscriptions/dist"; + the IUT entity receives a vGET containing // Wrong URL structure: no URI query parameters supported + uri indicating value "location/v3/subscriptions/distance", + query_parameters containing + subscriptionType indicating value any_value + ;; from the MEC_APP entity } then { -- GitLab From 3d3614786b6f2e986de1f8f091ca64aaca60070f Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 3 Jun 2024 10:29:09 +0200 Subject: [PATCH 68/70] Add missing TP --- .../SRV/MEF/FederationEnablement.tplan2 | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 index ac8c2fe..3b28d4d 100644 --- a/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 @@ -960,6 +960,54 @@ Package MEC_MEC040_SRV_FED { } // End of TP_MEC_MEC040_SRV_MEF_002_BR_01 + Test Purpose { + TP Id "TP_MEC_MEC040_SRV_MEF_002_BR_02" + + Test objective + "Check that the IUT responds with an error on providing inconsistent data" + + Reference + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.4, clause 5.2.2.1.1" + + Config Id Config_MEC_7 + + PICS Selection PIC_MEC_PLAT and PIC_SERVICES + + Initial conditions with { + the IUT entity being_in idle_state and + the IUT entity is_registered to the MEC_FED entity and + the MEC_FED entity having a systemInfoList containing + systemInfo2 indicating value SYSTEM_ID_2 + ; + } + + // MEC 040 Clause 6.2.2 Type: SystemInfo + Expected behaviour + ensure that { + when { + the IUT entity receives a vPOST containing + uri indicating value "fed_enablement/v1/fed_resources/system_info", + body containing + systemInfo containing + systemId indicating value SYSTEM_ID_1, // Shall be omit in the request + systemName indicating value SYSTEM_NAME_1, + systemProvider indicating value SYSTEM_PROV_1 + ; + ; + ; + from the MEC_FED entity + } + then { + // MEC 040 Clause 7.3.3.4 + the IUT entity sends a HTTP_RESPONSE containing + status_code set to "400 Bad Request" + ; + to the MEC_FED entity + } + } + } // End of TP_MEC_MEC040_SRV_MEF_002_BR_02 + + Test Purpose { TP Id "TP_MEC_MEC040_SRV_MEF_003_OK" -- GitLab From a37f4028ec954c9acc8430294ba72575825fcf37 Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 3 Jun 2024 10:30:36 +0200 Subject: [PATCH 69/70] Fixed typo in TP names --- .../SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 index 198e2e6..ebf8d3d 100644 --- a/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 +++ b/Test Purposes/MEC013/SRV/UEINFOLOOK/PlatUeInformationLookup.tplan2 @@ -23,7 +23,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { */ Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_01" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK_01" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -65,7 +65,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_02" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK_02" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -109,7 +109,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_03" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK_03" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -158,7 +158,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_OK_04" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_OK_04" Test objective "Check that the IUT responds with the information pertaining to one or more UEs in a particular location @@ -207,7 +207,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_BR" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_BR" Test objective "Check that the IUT responds with an error when @@ -250,7 +250,7 @@ Package MEC_MEC013_SRV_UEINFLOOK { Test Purpose { - TP Id "TP_MEC_MEC013_SRV_UEINFLOOK_001_NF" + TP Id "TP_MEC_MEC013_SRV_UEINFOLOOK_001_NF" Test objective "Check that the IUT responds with an error when -- GitLab From 109643951ced305b8dff601c20c0ad4242e3f760 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 11 Jun 2024 17:51:43 +0200 Subject: [PATCH 70/70] Big fixed: https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues/24 --- .../SRV/MEF/FederationEnablement.tplan2 | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 index 3b28d4d..939e9cb 100644 --- a/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 +++ b/Test Purposes/MEC040/SRV/MEF/FederationEnablement.tplan2 @@ -78,7 +78,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemId query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -133,7 +133,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemId query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -194,7 +194,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemId query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -259,7 +259,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - SystemName query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -313,7 +313,7 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple SystemName query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -375,7 +375,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty SystemName query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -440,7 +440,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - systemProvider query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -494,7 +494,7 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple systemProvider query parameters" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -556,7 +556,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Empty systemProvider query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -621,7 +621,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with a selection of all available systemInfo when requested by a MEC Orchestrator - Multiple query parameters" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -683,7 +683,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with an error when selection is not applicable - SystemId" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -729,7 +729,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with an error when selection is not applicable - SystemName" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -775,7 +775,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with an error when selection is not applicable - SystemProvider" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -821,7 +821,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with an error when request is malformed" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.3.3.1, clause 5.2.2.2" + "ETSI GS MEC 040 V3.1.1, clause 7.3.3.1, clause 5.2.2.2" Config Id Config_MEC_7 @@ -1151,7 +1151,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1207,7 +1207,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1262,7 +1262,7 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT updates the systemInfo when requested by a MEC Orchestrator" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1318,7 +1318,7 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when requested to update an unknown systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3, clause 5.2.2.1.2", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 @@ -1366,7 +1366,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT responds with an error when requested to update with no data provided" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.3, clause 5.2.2.1.2" + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.3, clause 5.2.2.1.2" Config Id Config_MEC_7 @@ -1413,7 +1413,7 @@ Package MEC_MEC040_SRV_FED { "Check that the IUT deletes the systemInfo when requested by a MEC Orchestrator" Reference - "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3" + "ETSI GS MEC 040 V3.1.1, clause 7.4.3.5, clause 5.2.2.1.3" Config Id Config_MEC_7 @@ -1459,7 +1459,7 @@ Package MEC_MEC040_SRV_FED { Test objective "Check that the IUT responds with an error when requested to delete an unknown systemInfo" - Reference "ETSI GS MEC 040 V3.1.1, clause clause 7.4.3.5, clause 5.2.2.1.3", + Reference "ETSI GS MEC 040 V3.1.1, clause 7.4.3.5, clause 5.2.2.1.3", "https://forge.etsi.org/rep/mec/gs040-fed-enablement-api" Config Id Config_MEC_7 -- GitLab