From 2e27ceb015abe6601a2e16e646f83d62b21e64f0 Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Mon, 30 Sep 2019 16:53:50 +0200 Subject: [PATCH 1/3] Fix on 8.5 Clause endpoints --- Test Purposes/SRV/AMS/Ams_BV.tplan2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test Purposes/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/SRV/AMS/Ams_BV.tplan2 index b34bf20..9e58cb4 100644 --- a/Test Purposes/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/SRV/AMS/Ams_BV.tplan2 @@ -753,7 +753,7 @@ Package MEC021_SRV_AMS_BV { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}" + uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}/deregisterTask" ; from the AMS_CLIENT entity } then { @@ -786,7 +786,7 @@ Package MEC021_SRV_AMS_BV { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}" + uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask" ; from the AMS_CLIENT entity } then { -- GitLab From a5b13a95595d9c2a2baad955b1700ad83661f9ac Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Mon, 30 Sep 2019 16:55:43 +0200 Subject: [PATCH 2/3] Fix on 8.5 Clause endpoints --- Test Purposes/SRV/AMS/Ams_BV.tplan2 | 181 ---------------------------- 1 file changed, 181 deletions(-) diff --git a/Test Purposes/SRV/AMS/Ams_BV.tplan2 b/Test Purposes/SRV/AMS/Ams_BV.tplan2 index 9e58cb4..ffd01ae 100644 --- a/Test Purposes/SRV/AMS/Ams_BV.tplan2 +++ b/Test Purposes/SRV/AMS/Ams_BV.tplan2 @@ -499,41 +499,6 @@ Package MEC021_SRV_AMS_BV { } } - - - Test Purpose { - TP Id "TP_MEC_SRV_AMS_011_NF" - - Test objective - "Check that the AMS service sends an error when receives a query about a not existing individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.1" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vGET containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - Test Purpose { TP Id "TP_MEC_SRV_AMS_012_OK" @@ -584,87 +549,6 @@ Package MEC021_SRV_AMS_BV { } - Test Purpose { - TP Id "TP_MEC_SRV_AMS_012_NF" - - Test objective - "Check that the AMS service sends an error when receives a request to modify a not existing individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appInstanceId set to APP_INS_ID - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { - TP Id "TP_MEC_SRV_AMS_012_BR" - - Test objective - "Check that the AMS service sends an error when receives a request to modify a individual application mobility service using bad parameters" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.2" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vPUT containing - uri indicating value "/amsi/v1/appMobilityServices/{APP_MOBILITY_SERVICE_ID}", - body containing - RegistrationInfo containing - serviceConsumerId containing - appId set to APP_INS_ID //Should be appInstanteId not appId - ; - ; - ; - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "400 Bad Request" - ; to the AMS_CLIENT entity - } - } - } - - - Test Purpose { TP Id "TP_MEC_SRV_AMS_013_OK" @@ -699,39 +583,6 @@ Package MEC021_SRV_AMS_BV { } - Test Purpose { - TP Id "TP_MEC_SRV_AMS_013_NF" - - Test objective - "Check that the AMS service sends an error when is requested to delete the resource - that represents the individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.4.3.5" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_ESISTENT_APP_MOBILITY_SERVICE_ID - ; - } - - Expected behaviour - ensure that { - when { - the IUT entity receives a vDELETE containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_ESISTENT_APP_MOBILITY_SERVICE_ID}" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - Test Purpose { TP Id "TP_MEC_SRV_AMS_014_OK" @@ -764,37 +615,5 @@ Package MEC021_SRV_AMS_BV { } } - - Test Purpose { - TP Id "TP_MEC_SRV_AMS_014_NF" - - Test objective - "Check that the AMS service send an error when is requested to deregister a not existent individual application mobility service" - - Reference "ETSI GS MEC 021 2.0.10, clause 8.5.3.4" - - Config Id Config_MEC_1 - PICS Selection PIC_AMS - - Initial conditions with { - the IUT entity "not" having a AppMobilityServiceInfo containing - appMobilityServiceId indicating value NON_EXISTENT_APP_MOBILITY_SERVICE_ID - ; - } - Expected behaviour - ensure that { - when { - the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask" - ; from the AMS_CLIENT entity - } - then { - the IUT entity sends a HTTP_RESPONSE containing - status set to "404 Not Found" - ; to the AMS_CLIENT entity - } - } - } - } -- GitLab From 74fb9fa4c891d8fc28907db263e85033a64849fa Mon Sep 17 00:00:00 2001 From: Elian Kraja Date: Tue, 1 Oct 2019 17:37:07 +0200 Subject: [PATCH 3/3] Bug Fix on AMS --- Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 b/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 index 0bd3040..bf45adb 100644 --- a/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 +++ b/Test Purposes/SRV/AMS/Ams_BO_BI.tplan2 @@ -485,7 +485,7 @@ Package MEC021_SRV_AMS_BO_BI { ensure that { when { the IUT entity receives a vPOST containing - uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}" + uri indicating value "/amsi/v1/appMobilityServices/{NON_EXISTENT_APP_MOBILITY_SERVICE_ID}/deregisterTask" ; from the AMS_CLIENT entity } then { -- GitLab