From 010fd85cb76cb34103273a46d9a0a968763ac0fc Mon Sep 17 00:00:00 2001 From: fcferreira Date: Wed, 3 Jul 2019 15:27:30 +0100 Subject: [PATCH] Remove old folders. --- .../SRV/Bandwidth/PlatBandwidthManager.tplan2 | 1076 ----------------- .../SRV/DnsRules/PlatDnsRules.tplan2 | 451 ------- .../Notifications/PlatAppSubscriptions.tplan2 | 557 --------- .../Notifications/PlatSrvSubscriptions.tplan2 | 557 --------- .../RadioNode/PlatRadioNodeLocation.tplan2 | 72 -- Test Purposes/SRV/Timing/PlatTiming.tplan2 | 178 --- .../SRV/TrafficRules/PlatTrafficRules.tplan2 | 448 ------- .../SRV/Transport/PlatTransport.tplan2 | 102 -- .../PlatUeAreaSubscription.tplan2 | 127 -- .../PlatUeDistanceLookup.tplan2 | 68 -- .../PlatUeDistanceSubscription.tplan2 | 129 -- .../PlatUeInformationLookup.tplan2 | 72 -- .../PlatUeInformationSubscription.tplan2 | 127 -- .../PlatUeLocationLookup.tplan2 | 72 -- .../PlatUeLocationSubscription.tplan2 | 127 -- .../PlatUeTrackingSubscription.tplan2 | 128 -- 16 files changed, 4291 deletions(-) delete mode 100644 Test Purposes/SRV/Bandwidth/PlatBandwidthManager.tplan2 delete mode 100644 Test Purposes/SRV/DnsRules/PlatDnsRules.tplan2 delete mode 100644 Test Purposes/SRV/Notifications/PlatAppSubscriptions.tplan2 delete mode 100644 Test Purposes/SRV/Notifications/PlatSrvSubscriptions.tplan2 delete mode 100644 Test Purposes/SRV/RadioNode/PlatRadioNodeLocation.tplan2 delete mode 100644 Test Purposes/SRV/Timing/PlatTiming.tplan2 delete mode 100644 Test Purposes/SRV/TrafficRules/PlatTrafficRules.tplan2 delete mode 100644 Test Purposes/SRV/Transport/PlatTransport.tplan2 delete mode 100644 Test Purposes/SRV/UeAreaSubscription/PlatUeAreaSubscription.tplan2 delete mode 100644 Test Purposes/SRV/UeDistanceLookup/PlatUeDistanceLookup.tplan2 delete mode 100644 Test Purposes/SRV/UeDistanceSubscription/PlatUeDistanceSubscription.tplan2 delete mode 100644 Test Purposes/SRV/UeInformationLookup/PlatUeInformationLookup.tplan2 delete mode 100644 Test Purposes/SRV/UeInformationSubscription/PlatUeInformationSubscription.tplan2 delete mode 100644 Test Purposes/SRV/UeLocationLookup/PlatUeLocationLookup.tplan2 delete mode 100644 Test Purposes/SRV/UeLocationSubscription/PlatUeLocationSubscription.tplan2 delete mode 100644 Test Purposes/SRV/UeTrackingSubscription/PlatUeTrackingSubscription.tplan2 diff --git a/Test Purposes/SRV/Bandwidth/PlatBandwidthManager.tplan2 b/Test Purposes/SRV/Bandwidth/PlatBandwidthManager.tplan2 deleted file mode 100644 index ebd5cf0..0000000 --- a/Test Purposes/SRV/Bandwidth/PlatBandwidthManager.tplan2 +++ /dev/null @@ -1,1076 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_bandwidth_manager { - - import all from MEC_Common; - - - /* - * Bandwidth Allocations (BWA) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_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 V1.1.1, clause 8.4.3.1", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config 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 - bwInfo containing - appInsId set to APP_INSTANCE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_002_OK" - - Test objective - "Check that the IUT responds with a registration and initialisation approval - for the requested bandwidth requirements sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config 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 - 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.4.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK", - Location set to LOCATION, - 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_PLAT_BWA_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 V1.1.1, clause 8.3.3.1", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "bwm/v1/bw_allocations/{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_PLAT_BWA_004_OK" - - Test objective - "Check that the IUT updates the requested bandwidth requirements - when commanded by a MEC Application" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body 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 "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_PLAT_BWA_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 V1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body 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 "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_PLAT_BWA_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 V1.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 allocation_instance 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/{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_PLAT_BWA_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 015 V1.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 - // Wrong parameter name should trigger an error response. - app_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 "400 Bad Request" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_002_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.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 GET 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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_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 V1.1.1, clause 8.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config 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 - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - requestType indicating value INVALID_BW_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_PLAT_BWA_004_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.4.3.4", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config 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 POST containing - uri indicating value "bwm/v1/bw_allocations", - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - requestType indicating value SOME_TYPE - ; - ; - 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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_005_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.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 app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "bwm/v1/bw_allocations/{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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_006_NF" - - Test objective - "Check that the IUT responds with an error when - a request for an unknown URI is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.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 app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_ALLOCATION_ID - ; - } - - // 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/{NON_EXISTENT_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 - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_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 015 V1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value INVALID_DIRECTION - ; - ; - from the MEC_APP entity - } - then { - // MEC 015, clause 8.3.3.2 - 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_PLAT_BWA_008_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value INVALID_DIRECTION - ; - ; - 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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_009_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 V1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_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/{NON_EXISTENT_ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - 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_PLAT_BWA_010_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.3.3.2", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value INVALID_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - from the MEC_APP entity - } - then { - // MEC 015, clause 8.3.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_011_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 V1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - requestType indicating value INVALID_TYPE, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - 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_PLAT_BWA_012_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a PATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - 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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_013_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 V1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_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/{NON_EXISTENT_ALLOCATION_ID}", - if_match indicating value PROPER_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - 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_PLAT_BWA_014_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 015 V1.1.1, clause 8.3.3.3", - "https://forge.etsi.org/gitlab/mec/gs015-bandwith-mgmt-api/blob/master/BwManagementApi.yaml#/definitions/BwInfoDeltas" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the MEC_APP entity having a app_instance containing - appInsId indicating value APP_INSTANCE_ID - ; and - the MEC_APP entity having a allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.4 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPATCH containing - uri indicating value "bwm/v1/bw_allocations/{ALLOCATION_ID}", - if_match indicating value INVALID_ETAG, - body containing - appInsId indicating value APP_INSTANCE_ID, - fixedAllocation indicating value SOME_ALLOCATION, - allocationDirection indicating value SOME_DIRECTION - ; - ; - from the MEC_APP entity - } - then { - // MEC 015, clause 8.3.3.3 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_015_OK" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 015 V1.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 allocation_instance containing - allocationId indicating value ALLOCATION_ID - ; - } - - // MEC 015, clause 6.2.3 - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "bwm/v1/bw_allocations/{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 "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_BWA_016_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 V1.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 "not" having a allocation_instance containing - allocationId indicating value NON_EXISTENT_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/{NON_EXISTENT_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 - } - } - } -} diff --git a/Test Purposes/SRV/DnsRules/PlatDnsRules.tplan2 b/Test Purposes/SRV/DnsRules/PlatDnsRules.tplan2 deleted file mode 100644 index 0278fd6..0000000 --- a/Test Purposes/SRV/DnsRules/PlatDnsRules.tplan2 +++ /dev/null @@ -1,451 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_dns_rules { - - import all from MEC_Common; - - - /* - * DNS rules (DNS) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_DNS_001_OK" - - 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 V2.0.9, clause 7.12.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.12.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - DnsRuleList containing - DnsRule set to any_value - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_DNS_002_OK" - - Test objective - "Check that the IUT responds with the information on a specific DNS rule - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" - - Config 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 dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - DnsRule containing - dnsRuleId set to DNS_RULE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_DNS_003_OK" - - Test objective - "Check that the IUT updates a specific DNS rule - when commanded by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule" - - Config 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 dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}", - if_match indicating value PROPER_ETAG - body containing - dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - DnsRule containing - dnsRuleId set to DNS_RULE_NAME, - ipAddress set to SOME_IP_ADDRESS - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_DNS_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.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 dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_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" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.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 "not" having a dns_rules containing - rule_id indicating value NON_EXISTENT_DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.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_PLAT_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" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}", - 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 - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.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_PLAT_DNS_004_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}", - if_match indicating value PROPER_ETAG - body containing - dnsRuleId indicating value DNS_RULE_NAME, - state indicating value STATE_VALUE - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_DNS_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 011 V2.0.9, clause 7.13.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 apps_instance containing - 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 - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}", - if_match indicating value PROPER_ETAG - body containing - dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.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_PLAT_DNS_006_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a dns_rules containing - rule_id indicating value DNS_RULE_ID - ; - } - - // MEC 011, clause 5.2.8 - Expected behaviour - 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}", - if_match indicating value INVALID_ETAG - body containing - dnsRuleId indicating value DNS_RULE_NAME, - ipAddress indicating value SOME_IP_ADDRESS - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.13.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/Notifications/PlatAppSubscriptions.tplan2 b/Test Purposes/SRV/Notifications/PlatAppSubscriptions.tplan2 deleted file mode 100644 index a8e74c6..0000000 --- a/Test Purposes/SRV/Notifications/PlatAppSubscriptions.tplan2 +++ /dev/null @@ -1,557 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_app_subscriptions { - - import all from MEC_Common; - - - /* - * Application Subscriptions (APPSUB) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_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" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - SubscriptionLinkList set to any_value - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the subscription by a MEC Application - to notifications on service availability events" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - body containing - AppTerminationNotificationSubscription containing - subscriptionType indicating value "AppTerminationNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.4 - 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 - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_003_OK" - - Test objective - "Check that the IUT responds with the information on a specific subscription - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - AppTerminationNotificationSubscription containing - subscriptionType set to "AppTerminationNotificationSubscription" - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_004_OK" - - Test objective - "Check that the IUT acknowledges the unsubscribe from service availability event notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.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_PLAT_APPSUB_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_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" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.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_PLAT_APPSUB_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 011 V2.0.9, 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 having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - body containing - AppTerminationNotificationSubscription containing - // Unknown value should trigger an error response. - subscriptionType indicating value INVALID_SUBSCRIPTION, - callbackReference indicating value some_uri - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, 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_PLAT_APPSUB_004_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a POST containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions" - body containing - subscriptionType indicating value "SerAvailabilityNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_005_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_006_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 V2.0.9, clause 7.5.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 "not" having a subscriptions containing - subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, 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_PLAT_APPSUB_007_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_APPSUB_008_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 V2.0.9, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 - the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/Notifications/PlatSrvSubscriptions.tplan2 b/Test Purposes/SRV/Notifications/PlatSrvSubscriptions.tplan2 deleted file mode 100644 index 7a47dc2..0000000 --- a/Test Purposes/SRV/Notifications/PlatSrvSubscriptions.tplan2 +++ /dev/null @@ -1,557 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_service_subscriptions { - - import all from MEC_Common; - - - /* - * Service Subscriptions (SRVSUB) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_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" - - Reference "ETSI GS MEC 011 V2.0.4, clause7.2.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.2.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - SubscriptionLinkList set to any_value - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_002_OK" - - Test objective - "Check that the IUT acknowledges the subscription by a MEC Application - to notifications on service availability events" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" - body containing - SerAvailabilityNotificationSubscription containing - subscriptionType indicating value "SerAvailabilityNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "201 Created", - Location set to LOCATION, - body containing - SerAvailabilityNotificationSubscription containing - subscriptionType set to "SerAvailabilityNotificationSubscription", - callbackReference set to some_uri - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_003_OK" - - Test objective - "Check that the IUT responds with the information on a specific subscription - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - SerAvailabilityNotificationSubscription containing - subscriptionType set to "SerAvailabilityNotificationSubscription" - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_004_OK" - - Test objective - "Check that the IUT acknowledges the unsubscribe from service availability event notifications - when commanded by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.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_PLAT_SRVSUB_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_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" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.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_PLAT_SRVSUB_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 011 V2.0.4, 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 having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "mec_service_mgmt/v1/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 - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, 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_PLAT_SRVSUB_004_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.4", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.6.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a POST containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions" - body containing - subscriptionType indicating value "SerAvailabilityNotificationSubscription", - callbackReference indicating value some_uri - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.6.3.4 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_005_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_006_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 V2.0.4, clause 7.5.3.1" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 "not" having a subscriptions containing - subscription_id indicating value NON_EXISTENT_SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, 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_PLAT_SRVSUB_007_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a DELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_SRVSUB_008_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 V2.0.4, clause 7.5.3.5" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_NOTIFICATIONS - - 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 - the IUT entity having a subscriptions containing - subscription_id indicating value SUBSCRIPTION_ID - ; - } - - // MEC 011, clause 5.2.6 - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.5.3.5 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "404 Not Found" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/RadioNode/PlatRadioNodeLocation.tplan2 b/Test Purposes/SRV/RadioNode/PlatRadioNodeLocation.tplan2 deleted file mode 100644 index e66e6aa..0000000 --- a/Test Purposes/SRV/RadioNode/PlatRadioNodeLocation.tplan2 +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_radio_node_location_lookup { - - import all from MEC_Common; - - - /* - * Radio Node Location Lookup (RLOC) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_RLOC_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 V1.5.0, 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 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/v2/zones/{ZONE_ID}/accessPoints", - query_parameters containing - zoneId indicating value ZONE_ID - ; - ; - from 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 - } - } - } - -} diff --git a/Test Purposes/SRV/Timing/PlatTiming.tplan2 b/Test Purposes/SRV/Timing/PlatTiming.tplan2 deleted file mode 100644 index e32bb02..0000000 --- a/Test Purposes/SRV/Timing/PlatTiming.tplan2 +++ /dev/null @@ -1,178 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_timing { - - import all from MEC_Common; - - - /* - * Timing capabilities (TIME) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_TIME_001_OK" - - Test objective - "Check that the IUT responds with timing capabilities - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.7.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TimingCaps" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 011, clause 5.2.10.3 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/timing/timing_caps" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.7.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - TimingCaps set to any_value - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TIME_002_OK" - - Test objective - "Check that the IUT responds with current time - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.8.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/CurrentTime" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 011, clause 5.2.10.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/timing/current_time" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.8.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - CurrentTime set to any_value - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TIME_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.7.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 - } - - // MEC 011, clause 5.2.10.3 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/timing/timing_caps" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.7.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TIME_002_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.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 - } - - // MEC 011, clause 5.2.10.2 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/timing/current_time" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.8.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/TrafficRules/PlatTrafficRules.tplan2 b/Test Purposes/SRV/TrafficRules/PlatTrafficRules.tplan2 deleted file mode 100644 index c755ecd..0000000 --- a/Test Purposes/SRV/TrafficRules/PlatTrafficRules.tplan2 +++ /dev/null @@ -1,448 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_traffic_rules { - - import all from MEC_Common; - - - /* - * Traffic rules (TFR) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_001_OK" - - Test objective - "Check that the IUT responds with a list of available traffic rules - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.10.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state and - the IUT entity having a apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.10.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - TrafficRuleList containing - TrafficRule set to any_value - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_002_OK" - - Test objective - "Check that the IUT responds with the information on a specific traffic rule - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" - - Config 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 TRAFFIC_RULE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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}" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - TrafficRule containing - trafficRuleId set to TRAFFIC_RULE_ID - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_003_OK" - - Test objective - "Check that the IUT updates a specific traffic rule - when commanded by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule" - - Config 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 TRAFFIC_RULE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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}", - if_match indicating value PROPER_ETAG - body containing - TrafficRule containing - action indicating value "DROP" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - TrafficRule containing - trafficRuleId set to TRAFFIC_RULE_ID, - action set to "DROP" - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, 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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.10.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_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" - - Reference "ETSI GS MEC 011 V2.0.9, 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 apps_instance containing - instance_id indicating value NON_EXISTENT_APP_INSTANCE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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" - ; - from the MEC_APP entity - } - then { - // MEC 011, 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 - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_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 011 V2.0.9, clause 7.11.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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}", - if_match indicating value PROPER_ETAG - body containing - TrafficRule containing - // Invalid parameter value should trigger an error response. - action indicating value UNKNOWN_VALUE - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.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_PLAT_TFR_004_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - ensure that { - when { - the IUT entity receives a PUT containing - uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/traffic_rules/{TRAFFIC_RULE_ID}", - if_match indicating value PROPER_ETAG - body containing - action indicating value "DROP" - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TFR_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 011 V2.0.9, clause 7.11.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 apps_instance containing - 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 - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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}", - if_match indicating value PROPER_ETAG - body containing - TrafficRule containing - action indicating value "DROP" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.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_PLAT_TFR_006_PF" - - Test objective - "Check that the IUT responds with an error when - a request sent by a MEC Application doesn't comply with a required condition" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.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 apps_instance containing - instance_id indicating value APP_INSTANCE_ID - ; and - the IUT entity having a traffic_rules containing - rule_id indicating value TRAFFIC_RULE_ID - ; - } - - // MEC 011, clause 5.2.7 - Expected behaviour - 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}", - if_match indicating value INVALID_ETAG - body containing - TrafficRule containing - action indicating value "DROP" - ; - ; - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.11.3.2 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "412 Precondition Failed" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/Transport/PlatTransport.tplan2 b/Test Purposes/SRV/Transport/PlatTransport.tplan2 deleted file mode 100644 index a61a1c5..0000000 --- a/Test Purposes/SRV/Transport/PlatTransport.tplan2 +++ /dev/null @@ -1,102 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_transport { - - import all from MEC_Common; - - - /* - * Transport (TRP) - */ - Test Purpose { - TP Id "TP_MEC_PLAT_TRP_001_OK" - - Test objective - "Check that the IUT responds with a list of available transports - when queried by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, clause 7.9.3.1", - "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TransportInfo" - - Config Id Config_MEC_1 - - PICS Selection PIC_MEC_PLAT and PIC_SERVICES - - Initial conditions with { - the IUT entity being_in idle_state - } - - // MEC 011, clause 5.2.9 - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "mec_service_mgmt/v1/transports" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.9.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "200 OK" - body containing - TransportInfoList containing - TransportInfo set to any_value - ; - ; - ; - to the MEC_APP entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_PLAT_TRP_001_BI" - - Test objective - "Check that the IUT responds with an error when - an unauthorised request is sent by a MEC Application" - - Reference "ETSI GS MEC 011 V2.0.9, 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 - } - - // MEC 011, clause 5.2.9 - Expected behaviour - ensure that { - when { - the IUT entity receives a GET containing - uri indicating value "mec_service_mgmt/v1/transports" - ; - from the MEC_APP entity - } - then { - // MEC 011, clause 7.9.3.1 - the IUT entity sends a HTTP_RESPONSE containing - status_code set to "403 Forbidden" - ; - to the MEC_APP entity - } - } - } -} diff --git a/Test Purposes/SRV/UeAreaSubscription/PlatUeAreaSubscription.tplan2 b/Test Purposes/SRV/UeAreaSubscription/PlatUeAreaSubscription.tplan2 deleted file mode 100644 index 19e8530..0000000 --- a/Test Purposes/SRV/UeAreaSubscription/PlatUeAreaSubscription.tplan2 +++ /dev/null @@ -1,127 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_area_subscription { - - import all from MEC_Common; - - - /* - * UE Area Subscribe (AREASUB) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_AREASUB_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 V2.0.3, 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 Purpose { - TP Id "TP_MEC_PLAT_AREASUB_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 V2.0.3, 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 - } - 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeDistanceLookup/PlatUeDistanceLookup.tplan2 b/Test Purposes/SRV/UeDistanceLookup/PlatUeDistanceLookup.tplan2 deleted file mode 100644 index f64b939..0000000 --- a/Test Purposes/SRV/UeDistanceLookup/PlatUeDistanceLookup.tplan2 +++ /dev/null @@ -1,68 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_distance_lookup { - - import all from MEC_Common; - - /* - * UE Distance Lookup (DISTLOOK) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_DISTLOOK_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 V2.0.3, 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 - } - 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeDistanceSubscription/PlatUeDistanceSubscription.tplan2 b/Test Purposes/SRV/UeDistanceSubscription/PlatUeDistanceSubscription.tplan2 deleted file mode 100644 index 3392817..0000000 --- a/Test Purposes/SRV/UeDistanceSubscription/PlatUeDistanceSubscription.tplan2 +++ /dev/null @@ -1,129 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_distance_subscription { - - import all from MEC_Common; - - - /* - * UE Distance Subscribe (DISTSUB) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_DISTSUB_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 V2.0.3, 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 - } - } - } - - Test Purpose { - TP Id "TP_MEC_PLAT_DISTSUB_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 V2.0.3, 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeInformationLookup/PlatUeInformationLookup.tplan2 b/Test Purposes/SRV/UeInformationLookup/PlatUeInformationLookup.tplan2 deleted file mode 100644 index 9264f53..0000000 --- a/Test Purposes/SRV/UeInformationLookup/PlatUeInformationLookup.tplan2 +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_information_lookup { - - import all from MEC_Common; - - - /* - * UE Information Lookup (INFLOOK) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_INFLOOK_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 V2.0.3, 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 - 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 - } - 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeInformationSubscription/PlatUeInformationSubscription.tplan2 b/Test Purposes/SRV/UeInformationSubscription/PlatUeInformationSubscription.tplan2 deleted file mode 100644 index c5a3006..0000000 --- a/Test Purposes/SRV/UeInformationSubscription/PlatUeInformationSubscription.tplan2 +++ /dev/null @@ -1,127 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_information_subscription { - - import all from MEC_Common; - - /* - * UE Information Subscription (INFSUB) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_INFSUB_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 V2.0.3, 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_PLAT_INFSUB_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 V2.0.3, 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeLocationLookup/PlatUeLocationLookup.tplan2 b/Test Purposes/SRV/UeLocationLookup/PlatUeLocationLookup.tplan2 deleted file mode 100644 index 0cd290c..0000000 --- a/Test Purposes/SRV/UeLocationLookup/PlatUeLocationLookup.tplan2 +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_location_lookup { - - import all from MEC_Common; - - /* - * UE Location Lookup (LOC) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_LOC_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 V2.0.3, 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 - } - 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeLocationSubscription/PlatUeLocationSubscription.tplan2 b/Test Purposes/SRV/UeLocationSubscription/PlatUeLocationSubscription.tplan2 deleted file mode 100644 index 1aefbba..0000000 --- a/Test Purposes/SRV/UeLocationSubscription/PlatUeLocationSubscription.tplan2 +++ /dev/null @@ -1,127 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_location_subscription { - - import all from MEC_Common; - - /* - * UE Location Subscription (LOCSUB) - */ - - Test Purpose { - TP Id "TP_MEC_PLAT_LOCSUB_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 V2.0.3, 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 - } - 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_PLAT_LOCSUB_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 V2.0.3, 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 - } - 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 - } - } - } - -} diff --git a/Test Purposes/SRV/UeTrackingSubscription/PlatUeTrackingSubscription.tplan2 b/Test Purposes/SRV/UeTrackingSubscription/PlatUeTrackingSubscription.tplan2 deleted file mode 100644 index 4b5c3e4..0000000 --- a/Test Purposes/SRV/UeTrackingSubscription/PlatUeTrackingSubscription.tplan2 +++ /dev/null @@ -1,128 +0,0 @@ -/* -Copyright (c) ETSI 2018. - -This software is subject to copyrights owned by ETSI. Non-exclusive permission -is hereby granted, free of charge, to copy, reproduce and amend this file -under the following conditions: It is provided "as is", without warranty of any -kind, expressed or implied. - -ETSI shall never be liable for any claim, damages, or other liability arising -from its use or inability of use.This permission does not apply to any documentation -associated with this file for which ETSI keeps all rights reserved. The present -copyright notice shall be included in all copies of whole or part of this -file and shall not imply any sub-license right. -*/ - -Package plat_ue_tracking_subscription { - - import all from MEC_Common; - - - /* - * UE Tracking Subscribe (TRACKSUB) - */ - - - Test Purpose { - TP Id "TP_MEC_PLAT_TRACKSUB_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 V2.0.3, 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/v2/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_PLAT_TRACKSUB_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 V2.0.3, 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/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 - } - } - } - -} -- GitLab