Loading Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +34 −42 Original line number Diff line number Diff line Loading @@ -19,7 +19,10 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that it has completed the application level termination" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/AppTerminationConfirmation" //Outdated Config Id Config_MEC_1 Loading @@ -29,8 +32,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.3 Loading @@ -41,17 +43,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" ; ; ; operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.11.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; status_code set to "204 No Content"; to the MEC_APP entity } } Loading @@ -62,10 +60,13 @@ Package MEC_MEC011_SRV_CONFTASK { TP Id "TP_MEC_MEC011_SRV_CONFTASK_001_NF" Test objective "Check that the IUT responds with an error when a request for an operationAction is sent to an unknown application" "Check that the IUT responds with an error when a request for an operationAction is sent to an unknown application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/AppTerminationConfirmation" //Outdated Config Id Config_MEC_1 Loading @@ -74,8 +75,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -86,17 +86,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" ; ; ; operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -108,8 +104,11 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that the MEC application is up and running" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L311#/definitions/AppReadyConfirmation" //Outdated Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 Loading @@ -118,8 +117,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.2 Loading @@ -130,17 +128,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" ; ; ; indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; status_code set to "204 No Content"; to the MEC_APP entity } } Loading @@ -151,10 +145,13 @@ Package MEC_MEC011_SRV_CONFTASK { TP Id "TP_MEC_MEC011_SRV_CONFTASK_002_NF" Test objective "Check that the IUT responds with an error when a request for an indication is sent to an unknown application" "Check that the IUT responds with an error when a request for an indication is sent to an unknown application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 Loading @@ -163,8 +160,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -175,17 +171,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" ; ; ; indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +107 −88 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_001_OK" Test objective "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -28,8 +30,7 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -37,8 +38,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules"; from the MEC_APP entity } then { Loading @@ -46,9 +46,47 @@ Package MEC_MEC011_SRV_DNS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing DnsRule set to any_value //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? ; ; DnsRule set to any_value;; //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_001_NF" Test objective "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTANT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{NON_EXISTANT_APP_INSTANCE_ID}/dns_rules"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -59,10 +97,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_OK" Test objective "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -72,11 +112,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -84,8 +122,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}"; from the MEC_APP entity } then { Loading @@ -94,10 +131,7 @@ Package MEC_MEC011_SRV_DNS { status_code set to "200 OK" body containing DnsRule containing dnsRuleId set to DNS_RULE_ID ; ; ; dnsRuleId set to DNS_RULE_ID;;; to the MEC_APP entity } } Loading @@ -108,10 +142,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -120,11 +157,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -132,15 +167,13 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -151,10 +184,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_OK" Test objective "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -164,11 +199,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -180,9 +213,7 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { Loading @@ -192,10 +223,7 @@ Package MEC_MEC011_SRV_DNS { body containing DnsRule containing dnsRuleId set to DNS_RULE_NAME, ipAddress set to SOME_IP_ADDRESS ; ; ; ipAddress set to SOME_IP_ADDRESS;;; to the MEC_APP entity } } Loading @@ -206,10 +234,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -218,11 +249,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID ; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -234,17 +263,13 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, // Unknown parameter value should trigger an error response. state indicating value UNKNOWN_VALUE ; ; state indicating value UNKNOWN_VALUE;; // Unknown parameter value should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; status_code set to "400 Bad Request"; to the MEC_APP entity } } Loading @@ -255,10 +280,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -267,11 +295,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -283,31 +309,29 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } } /* * @TODO: Removed cause the ETag is not a mandatory header attribute Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_003_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -316,11 +340,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -332,19 +354,16 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value INVALID_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; status_code set to "412 Precondition Failed"; to the MEC_APP entity } } } */ } Loading
Test Purposes/MEC011/SRV/CONFTASK/ConfirmTasks.tplan2 +34 −42 Original line number Diff line number Diff line Loading @@ -19,7 +19,10 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that it has completed the application level termination" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/AppTerminationConfirmation" //Outdated Config Id Config_MEC_1 Loading @@ -29,8 +32,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.3 Loading @@ -41,17 +43,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" ; ; ; operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.11.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; status_code set to "204 No Content"; to the MEC_APP entity } } Loading @@ -62,10 +60,13 @@ Package MEC_MEC011_SRV_CONFTASK { TP Id "TP_MEC_MEC011_SRV_CONFTASK_001_NF" Test objective "Check that the IUT responds with an error when a request for an operationAction is sent to an unknown application" "Check that the IUT responds with an error when a request for an operationAction is sent to an unknown application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/AppTerminationConfirmation" //Outdated Config Id Config_MEC_1 Loading @@ -74,8 +75,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -86,17 +86,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_termination" body containing AppTerminationConfirmation containing operationAction indicating value "TERMINATING" ; ; ; operationAction indicating value "TERMINATING";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -108,8 +104,11 @@ Package MEC_MEC011_SRV_CONFTASK { Test objective "Check that the IUT responds that the MEC application is up and running" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L311#/definitions/AppReadyConfirmation" //Outdated Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 Loading @@ -118,8 +117,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.2 Loading @@ -130,17 +128,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" ; ; ; indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "204 No Content" ; status_code set to "204 No Content"; to the MEC_APP entity } } Loading @@ -151,10 +145,13 @@ Package MEC_MEC011_SRV_CONFTASK { TP Id "TP_MEC_MEC011_SRV_CONFTASK_002_NF" Test objective "Check that the IUT responds with an error when a request for an indication is sent to an unknown application" "Check that the IUT responds with an error when a request for an indication is sent to an unknown application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.3", "ETSI GS MEC 011 3.2.1, clause 7.1.4.3", "ETSI GS MEC 011 3.2.1, clause 7.2.12.3.4", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L320#/definitions/ConfirmReady" //Outdated Config Id Config_MEC_1 Loading @@ -163,8 +160,7 @@ Package MEC_MEC011_SRV_CONFTASK { Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID ; instance_id indicating value NON_EXSITENT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -175,17 +171,13 @@ Package MEC_MEC011_SRV_CONFTASK { uri indicating value "mec_app_support/v2/applications/{NON_EXSITENT_APP_INSTANCE_ID}/confirm_ready" body containing AppReadyConfirmation containing indication indicating value "READY" ; ; ; indication indicating value "READY";;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.12.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading
Test Purposes/MEC011/SRV/DNS/PlatDnsRules.tplan2 +107 −88 Original line number Diff line number Diff line Loading @@ -15,10 +15,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_001_OK" Test objective "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -28,8 +30,7 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; instance_id indicating value APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -37,8 +38,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules"; from the MEC_APP entity } then { Loading @@ -46,9 +46,47 @@ Package MEC_MEC011_SRV_DNS { the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing DnsRule set to any_value //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? ; ; DnsRule set to any_value;; //@TODO: Should be a list of DnsRules. How can this be expressed in TDL? to the MEC_APP entity } } } Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_001_NF" Test objective "Check that the IUT responds with a list of active DNS rules when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.9.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 PICS Selection PIC_MEC_PLAT and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity not having a apps_instance containing instance_id indicating value NON_EXISTANT_APP_INSTANCE_ID; } // MEC 011 3.2.1, clause 5.2.8 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{NON_EXISTANT_APP_INSTANCE_ID}/dns_rules"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.9.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -59,10 +97,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_OK" Test objective "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" "Check that the IUT responds with the information on a specific DNS rule when queried by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -72,11 +112,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -84,8 +122,7 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{DNS_RULE_ID}"; from the MEC_APP entity } then { Loading @@ -94,10 +131,7 @@ Package MEC_MEC011_SRV_DNS { status_code set to "200 OK" body containing DnsRule containing dnsRuleId set to DNS_RULE_ID ; ; ; dnsRuleId set to DNS_RULE_ID;;; to the MEC_APP entity } } Loading @@ -108,10 +142,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_002_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.1", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -120,11 +157,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -132,15 +167,13 @@ Package MEC_MEC011_SRV_DNS { ensure that { when { the IUT entity receives a vGET containing uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}" ; uri indicating value "mec_app_support/v2/applications/{APP_INSTANCE_ID}/dns_rules/{NON_EXISTENT_DNS_RULE_ID}"; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } Loading @@ -151,10 +184,12 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_OK" Test objective "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" "Check that the IUT updates a specific DNS rule when commanded by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -164,11 +199,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -180,9 +213,7 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { Loading @@ -192,10 +223,7 @@ Package MEC_MEC011_SRV_DNS { body containing DnsRule containing dnsRuleId set to DNS_RULE_NAME, ipAddress set to SOME_IP_ADDRESS ; ; ; ipAddress set to SOME_IP_ADDRESS;;; to the MEC_APP entity } } Loading @@ -206,10 +234,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -218,11 +249,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID ; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -234,17 +263,13 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, // Unknown parameter value should trigger an error response. state indicating value UNKNOWN_VALUE ; ; state indicating value UNKNOWN_VALUE;; // Unknown parameter value should trigger an error response. from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; status_code set to "400 Bad Request"; to the MEC_APP entity } } Loading @@ -255,10 +280,13 @@ Package MEC_MEC011_SRV_DNS { TP Id "TP_MEC_MEC011_SRV_DNS_003_NF" Test objective "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" "Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -267,11 +295,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity not having a dns_rules containing rule_id indicating value NON_EXISTENT_DNS_RULE_ID ; rule_id indicating value NON_EXISTENT_DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -283,31 +309,29 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value PROPER_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; status_code set to "404 Not Found"; to the MEC_APP entity } } } /* * @TODO: Removed cause the ETag is not a mandatory header attribute Test Purpose { TP Id "TP_MEC_MEC011_SRV_DNS_003_PF" Test objective "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" "Check that the IUT responds with an error when a request sent by a MEC Application doesn't comply with a required condition" Reference "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2" Reference "ETSI GS MEC 011 3.2.1, clause 5.2.8", "ETSI GS MEC 011 3.2.1, clause 7.1.2.3", "ETSI GS MEC 011 3.2.1, clause 7.2.10.3.2", "https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#L507#/definitions/DnsRule" //Outdated Config Id Config_MEC_1 Loading @@ -316,11 +340,9 @@ Package MEC_MEC011_SRV_DNS { Initial conditions with { the IUT entity being_in idle_state and the IUT entity having a apps_instance containing instance_id indicating value APP_INSTANCE_ID ; and instance_id indicating value APP_INSTANCE_ID; and the IUT entity having a dns_rules containing rule_id indicating value DNS_RULE_ID ; rule_id indicating value DNS_RULE_ID; } // MEC 011 3.2.1, clause 5.2.8 Loading @@ -332,19 +354,16 @@ Package MEC_MEC011_SRV_DNS { if_match indicating value INVALID_ETAG body containing dnsRuleId indicating value DNS_RULE_NAME, ipAddress indicating value SOME_IP_ADDRESS ; ; ipAddress indicating value SOME_IP_ADDRESS;; from the MEC_APP entity } then { // MEC 011 3.2.1, clause 7.2.10.3.2 the IUT entity sends a HTTP_RESPONSE containing status_code set to "412 Precondition Failed" ; status_code set to "412 Precondition Failed"; to the MEC_APP entity } } } */ }