Loading Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +75 −21 Original line number Diff line number Diff line Loading @@ -16,20 +16,23 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; //Query without filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_OK" Test objective "Check that the IUT responds with the list of Access Point" "Check that the IUT responds with the list of WLAN Access Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a ApInfo containing apId containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.2 Expected behaviour Loading @@ -39,12 +42,60 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/ap/ap_information" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 the IUT entity sends a HTTP_RESPONSE containing the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ApInfo containing apId containing macId set to MAC_ID ; ; ; ; to the MEC_APP entity } } } //Query filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter " Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a ApInfo containing apId containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.2 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/ap/ap_information", query_parameters containing macId indicating value MAC_ID ; ; from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ApInfo containing Loading @@ -54,14 +105,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } //Bad request Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_BR" TP Id "MEC_MEC028_SRV_WAI_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Loading @@ -81,9 +132,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/dev_app/v1/app_list/?filter=INVALID_FILTER" uri indicating value "/wai/v1/queries/ap/ap_information", query_parameters containing mac indicating value MAC_ID ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 Loading @@ -91,7 +145,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Loading Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +26 −26 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "MEC_MEC028_SRV_WAI_005_OK" TP Id "MEC_MEC028_SRV_WAI_008_OK" Test objective "Check that the IUT responds with the list of Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", Loading @@ -26,10 +26,12 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state the IUT entity having a subscription containing subscriptionId indicating value SUBSCRIPTION_ID ; } Expected behaviour Loading @@ -39,7 +41,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.6.3.1 Loading @@ -56,14 +58,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_007_NF" TP Id "MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" Loading @@ -73,8 +75,7 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity "not" having a subscriptions containing the IUT entity "not" having a subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } Loading @@ -86,14 +87,14 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not found" ; to the Dev_App entity to the MEC_APP entity } } } Loading @@ -101,7 +102,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "MEC_MEC028_SRV_WAI_006_OK" TP Id "MEC_MEC028_SRV_WAI_009_OK" Test objective "Check that the IUT responds with a Notification Subscription when it is modified" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" Loading Loading @@ -133,7 +134,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, callbackReference set to NEW_CALLBACK_URI, _links containing self set to URI_TO_RESOURCE, apId containing Loading @@ -143,7 +144,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { Loading @@ -153,7 +154,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, callbackReference set to NEW_CALLBACK_URI, _links containing self set to "uri/to/resource", apId containing Loading @@ -163,13 +164,13 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_005_BR" TP Id "MEC_MEC028_SRV_WAI_009_BR" Test objective "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" Loading Loading @@ -212,21 +213,21 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_007_OK" TP Id "MEC_MEC028_SRV_WAI_010_OK" Test objective "Check that the IUT responds with 204 when an existing subscription is correctly deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" Loading Loading @@ -256,7 +257,7 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { Loading @@ -264,13 +265,13 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "204 No Content" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_008_NF" TP Id "MEC_MEC028_SRV_WAI_010_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" Loading @@ -280,7 +281,6 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity "not" having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; Loading @@ -293,14 +293,14 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Loading Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +4 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { TP Id "MEC_MEC028_SRV_WAI_008_OK" TP Id "MEC_MEC028_SRV_WAI_011_OK" Test objective "Check that the IUT sends a notification about WLAN event notification Loading @@ -25,7 +25,9 @@ Package MEC_MEC028_SRV_WAI { Reference "ETSI GS MEC 028 2.1.1, clause 6.4.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml" Config Id Config_MEC_4 PICS Selection PIC_NOTIFICATIONS Initial conditions with { Loading Loading @@ -55,7 +57,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Loading Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +66 −10 Original line number Diff line number Diff line Loading @@ -16,9 +16,8 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; //Query without filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_OK" TP Id "MEC_MEC028_SRV_WAI_003_OK" Test objective "Check that the IUT responds with the list of Station Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", Loading @@ -26,10 +25,14 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a StaInfo containing StaIdentity containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.3 Expected behaviour Loading @@ -39,7 +42,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 Loading @@ -54,14 +57,64 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } // Query with filters Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_OK" Test objective "Check that the IUT responds with the list of Station Point filtered by the macId provided as query parameter" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a StaInfo containing StaIdentity containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.3 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information", query_parameters containing macId set to MAC_ID ; ; from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing StaInfo containing StaIdentity containing macId set to MAC_ID ; ; ; ; to the MEC_APP entity } } } //Bad request Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_BR" TP Id "MEC_MEC028_SRV_WAI_004_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Loading @@ -81,9 +134,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information/?filter=INVALID_EXPRESSION" uri indicating value "/wai/v1/queries/sta/sta_information", query_parameters containing mac set to MAC_ID ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 Loading @@ -91,7 +147,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Loading Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +128 −44 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { TP Id "MEC_MEC028_SRV_WAI_003_OK" TP Id "MEC_MEC028_SRV_WAI_005_OK" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", Loading @@ -25,10 +25,16 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a AssocStaSubscription containing _link containing self containing href set to "uri/to/subscription" ; ; ; } //MEC 028, clause 5.2.4.1 Expected behaviour Loading @@ -36,9 +42,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/?subscription_type=assoc_sta" uri indicating value "/wai/v1/subscriptions" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -47,42 +53,110 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing SubscriptionLinkList containing assocStaSubscription containing _link containing LinkType set to "uri/to/subscription" self containing LinkType containing href set to "uri/to/subscription" ; ; ; ; ; to the Dev_App entity ; ; to the MEC_APP entity } } } // Query with filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_003_BR" TP Id "MEC_MEC028_SRV_WAI_006_OK" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a AssocStaSubscription containing _link containing self containing href set to "uri/to/subscription" ; ; ; } //MEC 028, clause 5.2.4.1 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions" query_parameters containing href indicating value "uri/to/subscription", subscription_type indicating value "assoc_sta" ; ; from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing SubscriptionLinkList containing assocStaSubscription containing _link containing self containing LinkType containing href set to "uri/to/subscription" ; ; ; ; ; ; ; to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_006_BR" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state } //MEC 028, clause 5.2.4.1 Expected behaviour // Invalid subscription_type should trigger an error response. ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/?subscription_type=INVALID_VALUE" uri indicating value "/wai/v1/subscriptions" query_parameters containing subscription_type indicating value "assocStaSub" ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -90,14 +164,14 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_NF" TP Id "MEC_MEC028_SRV_WAI_006_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" Loading @@ -116,9 +190,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/INVALID_URI" uri indicating value "/wai/v1/subscriptions_INVALID_URI" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -126,14 +200,15 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_OK" TP Id "MEC_MEC028_SRV_WAI_007_OK" Test objective "Check that the IUT responds with a Notification Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" Loading Loading @@ -162,14 +237,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" bbody containing body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, Loading @@ -182,14 +257,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_BR" TP Id "MEC_MEC028_SRV_WAI_007_BR" Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" Loading @@ -215,7 +290,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 Loading @@ -223,14 +298,14 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_NF" TP Id "MEC_MEC028_SRV_WAI_007_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" Loading @@ -249,9 +324,18 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing uri indicating value "/wai/v1/subscriptions/INVALID_URI" uri indicating value "/wai/v1/subscriptions_INVALID_URI", body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, apId containing macId set to MAC_ID ; ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -259,7 +343,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Loading Loading
Test Purposes/MEC028/SRV/WAI/ApInfo.tplan2 +75 −21 Original line number Diff line number Diff line Loading @@ -16,20 +16,23 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; //Query without filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_OK" Test objective "Check that the IUT responds with the list of Access Point" "Check that the IUT responds with the list of WLAN Access Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a ApInfo containing apId containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.2 Expected behaviour Loading @@ -39,12 +42,60 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/ap/ap_information" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 the IUT entity sends a HTTP_RESPONSE containing the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ApInfo containing apId containing macId set to MAC_ID ; ; ; ; to the MEC_APP entity } } } //Query filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_OK" Test objective "Check that the IUT responds with the list of WLAN Access Point filtered by the macId provided as query parameter " Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/ApInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a ApInfo containing apId containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.2 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/ap/ap_information", query_parameters containing macId indicating value MAC_ID ; ; from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing ApInfo containing Loading @@ -54,14 +105,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } //Bad request Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_BR" TP Id "MEC_MEC028_SRV_WAI_002_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Loading @@ -81,9 +132,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/dev_app/v1/app_list/?filter=INVALID_FILTER" uri indicating value "/wai/v1/queries/ap/ap_information", query_parameters containing mac indicating value MAC_ID ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.3.3.1 Loading @@ -91,7 +145,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Loading
Test Purposes/MEC028/SRV/WAI/ExistingSub.tplan2 +26 −26 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "MEC_MEC028_SRV_WAI_005_OK" TP Id "MEC_MEC028_SRV_WAI_008_OK" Test objective "Check that the IUT responds with the list of Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1", Loading @@ -26,10 +26,12 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state the IUT entity having a subscription containing subscriptionId indicating value SUBSCRIPTION_ID ; } Expected behaviour Loading @@ -39,7 +41,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.6.3.1 Loading @@ -56,14 +58,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_007_NF" TP Id "MEC_MEC028_SRV_WAI_008_NF" Test objective "Check that the IUT responds with an error when a request for existing subscription with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.1" Loading @@ -73,8 +75,7 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity "not" having a subscriptions containing the IUT entity "not" having a subscription containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; } Loading @@ -86,14 +87,14 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not found" ; to the Dev_App entity to the MEC_APP entity } } } Loading @@ -101,7 +102,7 @@ Package MEC_MEC028_SRV_WAI { Test Purpose { TP Id "MEC_MEC028_SRV_WAI_006_OK" TP Id "MEC_MEC028_SRV_WAI_009_OK" Test objective "Check that the IUT responds with a Notification Subscription when it is modified" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" Loading Loading @@ -133,7 +134,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, callbackReference set to NEW_CALLBACK_URI, _links containing self set to URI_TO_RESOURCE, apId containing Loading @@ -143,7 +144,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { Loading @@ -153,7 +154,7 @@ Package MEC_MEC028_SRV_WAI { body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, callbackReference set to NEW_CALLBACK_URI, _links containing self set to "uri/to/resource", apId containing Loading @@ -163,13 +164,13 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_005_BR" TP Id "MEC_MEC028_SRV_WAI_009_BR" Test objective "Check that the IUT responds with an error when an invalid field is set in the subscription modification request" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.2" Loading Loading @@ -212,21 +213,21 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_007_OK" TP Id "MEC_MEC028_SRV_WAI_010_OK" Test objective "Check that the IUT responds with 204 when an existing subscription is correctly deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" Loading Loading @@ -256,7 +257,7 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { Loading @@ -264,13 +265,13 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "204 No Content" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_008_NF" TP Id "MEC_MEC028_SRV_WAI_010_NF" Test objective "Check that the IUT responds with an error when an not existing subscription cannot be deleted" Reference "ETSI GS MEC 028 2.1.1, clause 7.6.3.5" Loading @@ -280,7 +281,6 @@ Package MEC_MEC028_SRV_WAI { PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES Initial conditions with { the IUT entity being_in idle_state and the IUT entity "not" having a subscriptions containing subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID ; Loading @@ -293,14 +293,14 @@ Package MEC_MEC028_SRV_WAI { a vDELETE containing uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}" ; from the Dev_App entity from the MEC_APP entity } then { the IUT entity sends a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Loading
Test Purposes/MEC028/SRV/WAI/NotificationCallback.tplan2 +4 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { TP Id "MEC_MEC028_SRV_WAI_008_OK" TP Id "MEC_MEC028_SRV_WAI_011_OK" Test objective "Check that the IUT sends a notification about WLAN event notification Loading @@ -25,7 +25,9 @@ Package MEC_MEC028_SRV_WAI { Reference "ETSI GS MEC 028 2.1.1, clause 6.4.2", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml" Config Id Config_MEC_4 PICS Selection PIC_NOTIFICATIONS Initial conditions with { Loading Loading @@ -55,7 +57,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Loading
Test Purposes/MEC028/SRV/WAI/StationInfo.tplan2 +66 −10 Original line number Diff line number Diff line Loading @@ -16,9 +16,8 @@ file and shall not imply any sub-license right. Package MEC_MEC028_SRV_WAI { import all from MEC_Common; //Query without filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_OK" TP Id "MEC_MEC028_SRV_WAI_003_OK" Test objective "Check that the IUT responds with the list of Station Point" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", Loading @@ -26,10 +25,14 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a StaInfo containing StaIdentity containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.3 Expected behaviour Loading @@ -39,7 +42,7 @@ Package MEC_MEC028_SRV_WAI { a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 Loading @@ -54,14 +57,64 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } // Query with filters Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_OK" Test objective "Check that the IUT responds with the list of Station Point filtered by the macId provided as query parameter" Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a StaInfo containing StaIdentity containing macId indicating value MAC_ID ; ; } // MEC 028, clause 5.2.3 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information", query_parameters containing macId set to MAC_ID ; ; from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing StaInfo containing StaIdentity containing macId set to MAC_ID ; ; ; ; to the MEC_APP entity } } } //Bad request Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_BR" TP Id "MEC_MEC028_SRV_WAI_004_BR" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application" Loading @@ -81,9 +134,12 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/queries/sta/sta_information/?filter=INVALID_EXPRESSION" uri indicating value "/wai/v1/queries/sta/sta_information", query_parameters containing mac set to MAC_ID ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.4.3.1 Loading @@ -91,7 +147,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Loading
Test Purposes/MEC028/SRV/WAI/Subscription.tplan2 +128 −44 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ Package MEC_MEC028_SRV_WAI { import all from MEC_Common; Test Purpose { TP Id "MEC_MEC028_SRV_WAI_003_OK" TP Id "MEC_MEC028_SRV_WAI_005_OK" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", Loading @@ -25,10 +25,16 @@ Package MEC_MEC028_SRV_WAI { Config Id Config_MEC_4 PICS Selection PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state the IUT entity having a AssocStaSubscription containing _link containing self containing href set to "uri/to/subscription" ; ; ; } //MEC 028, clause 5.2.4.1 Expected behaviour Loading @@ -36,9 +42,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/?subscription_type=assoc_sta" uri indicating value "/wai/v1/subscriptions" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -47,42 +53,110 @@ Package MEC_MEC028_SRV_WAI { status_code set to "200 OK" body containing SubscriptionLinkList containing assocStaSubscription containing _link containing LinkType set to "uri/to/subscription" self containing LinkType containing href set to "uri/to/subscription" ; ; ; ; ; to the Dev_App entity ; ; to the MEC_APP entity } } } // Query with filter Test Purpose { TP Id "MEC_MEC028_SRV_WAI_003_BR" TP Id "MEC_MEC028_SRV_WAI_006_OK" Test objective "Check that the IUT responds with an error when a request with incorrect parameters is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1" "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 PICS Selection PIC_MEC_SYSTEM and PIC_SERVICES PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity having a AssocStaSubscription containing _link containing self containing href set to "uri/to/subscription" ; ; ; } //MEC 028, clause 5.2.4.1 Expected behaviour ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions" query_parameters containing href indicating value "uri/to/subscription", subscription_type indicating value "assoc_sta" ; ; from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 the IUT entity sends a HTTP_RESPONSE containing status_code set to "200 OK" body containing SubscriptionLinkList containing assocStaSubscription containing _link containing self containing LinkType containing href set to "uri/to/subscription" ; ; ; ; ; ; ; to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_006_BR" Test objective "Check that the IUT responds with the requested list of subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.1", "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription" Config Id Config_MEC_4 PICS Selection PIC_SERVICES and PIC_MEC_PLAT Initial conditions with { the IUT entity being_in idle_state } //MEC 028, clause 5.2.4.1 Expected behaviour // Invalid subscription_type should trigger an error response. ensure that { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/?subscription_type=INVALID_VALUE" uri indicating value "/wai/v1/subscriptions" query_parameters containing subscription_type indicating value "assocStaSub" ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -90,14 +164,14 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_001_NF" TP Id "MEC_MEC028_SRV_WAI_006_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" Loading @@ -116,9 +190,9 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vGET containing uri indicating value "/wai/v1/subscriptions/INVALID_URI" uri indicating value "/wai/v1/subscriptions_INVALID_URI" ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -126,14 +200,15 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_OK" TP Id "MEC_MEC028_SRV_WAI_007_OK" Test objective "Check that the IUT responds with a Notification Subscription" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" Loading Loading @@ -162,14 +237,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 the IUT entity sends a HTTP_RESPONSE containing status_code set to "201 Created" bbody containing body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, Loading @@ -182,14 +257,14 @@ Package MEC_MEC028_SRV_WAI { ; ; ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_004_BR" TP Id "MEC_MEC028_SRV_WAI_007_BR" Test objective "Check that the IUT responds with an error when an invalid Subscription request is sent" Reference "ETSI GS MEC 028 2.1.1, clause 7.5.3.4" Loading @@ -215,7 +290,7 @@ Package MEC_MEC028_SRV_WAI { ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.4 Loading @@ -223,14 +298,14 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "400 Bad Request" ; to the Dev_App entity to the MEC_APP entity } } } Test Purpose { TP Id "MEC_MEC028_SRV_WAI_002_NF" TP Id "MEC_MEC028_SRV_WAI_007_NF" Test objective "Check that the IUT responds with an error when a request with not existing parameters is sent" Loading @@ -249,9 +324,18 @@ Package MEC_MEC028_SRV_WAI { when { the IUT entity receives a vPOST containing uri indicating value "/wai/v1/subscriptions/INVALID_URI" uri indicating value "/wai/v1/subscriptions_INVALID_URI", body containing AssocStaSubscription containing subscriptionType set to "AssocStaSubscription", callbackReference set to CALLBACK_URI, apId containing macId set to MAC_ID ; ; ; ; from the Dev_App entity from the MEC_APP entity } then { // MEC 028, clause 7.5.3.1 Loading @@ -259,7 +343,7 @@ Package MEC_MEC028_SRV_WAI { a HTTP_RESPONSE containing status_code set to "404 Not Found" ; to the Dev_App entity to the MEC_APP entity } } } Loading