Loading Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +33 −40 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_OK" Test objective "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services" ; uri indicating value"/mec_service_mgmt/v2/services"; from the MEC_APP entity } then { Loading @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ServiceInfo set to any_value // @TODO: It should be a list of ServiceInfos. How to express it in TDL? ; ; ServiceInfo set to any_value;; // @TODO: It should be a list of ServiceInfos. How to express it in TDL? to the MEC_APP entity } } Loading @@ -56,10 +55,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_BR" Test objective "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -76,17 +78,13 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services" query_parameters containing // Wrong parameter name should trigger an error response. instance_id indicating value any_value ; ; instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; status_code set to "400 Bad Request"; to the MEC_APP entity } } Loading @@ -97,10 +95,12 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_OK" Test objective "Check that the IUT responds with the information on a specific service when queried by a MEC Application" "Check that the IUT responds with the information on a specific service when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -110,8 +110,7 @@ Package MEC_MEC011_SRV_SAQ { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a services_running containing service_id indicating value SERVICE_ID ; service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 Loading @@ -119,8 +118,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}" ; uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}"; from the MEC_APP entity } then { Loading @@ -132,11 +130,7 @@ Package MEC_MEC011_SRV_SAQ { serInstanceId set to SERVICE_ID, _links containing self set to "link/to/resource", liveness set to "ACTIVE" ; ; ; ; liveness set to "ACTIVE";;;; to the MEC_APP entity } } Loading @@ -147,11 +141,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_NF" Test objective "Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -160,8 +156,7 @@ Package MEC_MEC011_SRV_SAQ { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a services_running containing service_id indicating value NON_EXISTENT_SERVICE_ID ; service_id indicating value NON_EXISTENT_SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 Loading @@ -169,15 +164,13 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}" ; uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +7 −8 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_TRANS { TP Id "TP_MEC_MEC011_SRV_TRANS_001_OK" Test objective "Check that the IUT responds with a list of available transports when queried by a MEC Application" "Check that the IUT responds with a list of available transports when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.9", "ETSI GS MEC 011 3.2.1, clause 8.1.2.3", "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/definitions/TransportInfo" //Outdated Config Id Config_MEC_1 Loading @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_TRANS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_service_mgmt/v1/transports" ; uri indicating value "/mec_service_mgmt/v2/transports"; from the MEC_APP entity } then { Loading @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_TRANS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing TransportInfo set to any_value // @TODOL Should be a TransportInfo list. How to express this in TDL? ; ; TransportInfo set to any_value;; // @TODOL Should be a TransportInfo list. How to express this in TDL? to the MEC_APP entity } } Loading Loading
Test Purposes/MEC011/SRV/SAQ/PlatServices.tplan2 +33 −40 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_OK" Test objective "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" "Check that the IUT responds with a list of available MEC services when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services" ; uri indicating value"/mec_service_mgmt/v2/services"; from the MEC_APP entity } then { Loading @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ServiceInfo set to any_value // @TODO: It should be a list of ServiceInfos. How to express it in TDL? ; ; ServiceInfo set to any_value;; // @TODO: It should be a list of ServiceInfos. How to express it in TDL? to the MEC_APP entity } } Loading @@ -56,10 +55,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_001_BR" Test objective "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" "Check that the IUT responds with an error when incorrect parameters were sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.3.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -76,17 +78,13 @@ Package MEC_MEC011_SRV_SAQ { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services" query_parameters containing // Wrong parameter name should trigger an error response. instance_id indicating value any_value ; ; instance_id indicating value any_value;; // Wrong parameter name should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; status_code set to "400 Bad Request"; to the MEC_APP entity } } Loading @@ -97,10 +95,12 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_OK" Test objective "Check that the IUT responds with the information on a specific service when queried by a MEC Application" "Check that the IUT responds with the information on a specific service when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -110,8 +110,7 @@ Package MEC_MEC011_SRV_SAQ { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a services_running containing service_id indicating value SERVICE_ID ; service_id indicating value SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 Loading @@ -119,8 +118,7 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}" ; uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}"; from the MEC_APP entity } then { Loading @@ -132,11 +130,7 @@ Package MEC_MEC011_SRV_SAQ { serInstanceId set to SERVICE_ID, _links containing self set to "link/to/resource", liveness set to "ACTIVE" ; ; ; ; liveness set to "ACTIVE";;;; to the MEC_APP entity } } Loading @@ -147,11 +141,13 @@ Package MEC_MEC011_SRV_SAQ { TP Id "TP_MEC_MEC011_SRV_SAQ_002_NF" Test objective "Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an URI that cannot be mapped to a valid resource URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.5", "ETSI GS MEC 011 3.2.1, clause 8.1.2.2", "ETSI GS MEC 011 3.2.1, clause 8.2.4.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L722#/definitions/ServiceInfo" //Outdated Config Id Config_MEC_1 Loading @@ -160,8 +156,7 @@ Package MEC_MEC011_SRV_SAQ { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a services_running containing service_id indicating value NON_EXISTENT_SERVICE_ID ; service_id indicating value NON_EXISTENT_SERVICE_ID; } // MEC 011 3.2.1, clause 5.2.5 Loading @@ -169,15 +164,13 @@ Package MEC_MEC011_SRV_SAQ { ensure that { when { the IUT entity receives a vGET containing uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}" ; uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 8.2.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading
Test Purposes/MEC011/SRV/TRANS/PlatTransport.tplan2 +7 −8 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_TRANS { TP Id "TP_MEC_MEC011_SRV_TRANS_001_OK" Test objective "Check that the IUT responds with a list of available transports when queried by a MEC Application" "Check that the IUT responds with a list of available transports when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.9", "ETSI GS MEC 011 3.2.1, clause 8.1.2.3", "ETSI GS MEC 011 3.2.1, clause 8.2.5.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecServiceMgmtApi.yaml#L783#/definitions/TransportInfo" //Outdated Config Id Config_MEC_1 Loading @@ -34,8 +36,7 @@ Package MEC_MEC011_SRV_TRANS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_service_mgmt/v1/transports" ; uri indicating value "/mec_service_mgmt/v2/transports"; from the MEC_APP entity } then { Loading @@ -43,9 +44,7 @@ Package MEC_MEC011_SRV_TRANS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing TransportInfo set to any_value // @TODOL Should be a TransportInfo list. How to express this in TDL? ; ; TransportInfo set to any_value;; // @TODOL Should be a TransportInfo list. How to express this in TDL? to the MEC_APP entity } } Loading