Commit 331bca40 authored by Yann Garcia's avatar Yann Garcia
Browse files

Add new TPs for MEC028 v2.2.1

parent 439a8f57
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_MEC_MEC028_SRV_WAI_001_OK"
			Test objective
		      "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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo"
   
    	Config Id Config_MEC_4
   
@@ -30,7 +30,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/ap/ap_information"
							uri indicating value "/wai/v2/queries/ap/ap_information"
						;
					from the MEC_APP entity
				}
@@ -56,8 +56,8 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo"
   
    	Config Id Config_MEC_4
   
@@ -76,7 +76,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/ap/ap_information",
							uri indicating value "/wai/v2/queries/ap/ap_information",
							query_parameters containing 
                  				macId indicating value MAC_ID
                  			;
@@ -106,7 +106,7 @@ Package MEC_MEC028_SRV_WAI {
			Test objective
				"Check that the IUT responds with an error when a request with
				incorrect parameters is sent by a MEC Application"
			Reference "ETSI GS MEC 028 2.1.1, clause 7.3.3.1"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.3.3.1"
   
			Config Id Config_MEC_4
   
@@ -122,7 +122,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/ap/ap_information",
							uri indicating value "/wai/v2/queries/ap/ap_information",
							query_parameters containing
								mac indicating value MAC_ID
							;
+13 −13
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription"
   
    	Config Id Config_MEC_4
   
@@ -28,7 +28,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}"
						;
					from the MEC_APP entity
				}
@@ -57,7 +57,7 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.1"
   
			Config Id Config_MEC_4
   
@@ -74,7 +74,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
						;
					from the MEC_APP entity
				}
@@ -94,7 +94,7 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.2"
   
			Config Id Config_MEC_4
   
@@ -119,7 +119,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vPUT containing
							uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}"
							body containing
                     			AssocStaSubscription containing 
                     					subscriptionType set to "AssocStaSubscription",
@@ -162,7 +162,7 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.2"
   
			Config Id Config_MEC_4
   
@@ -188,7 +188,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vPUT containing
							uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}"
							body containing
                     			AssocStaSubscription containing 
                     					subscriptionType set to "INVALID_VALUE",
@@ -219,7 +219,7 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.5"
   
			Config Id Config_MEC_4
   
@@ -244,7 +244,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vDELETE containing
							uri indicating value "/wai/v1/subscriptions/{SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{SUBSCRIPTION_ID}"
						;
					from the MEC_APP entity
				}
@@ -263,7 +263,7 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.6.3.5"
   
			Config Id Config_MEC_4
   
@@ -280,7 +280,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vDELETE containing
							uri indicating value "/wai/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
							uri indicating value "/wai/v2/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
						;
					from the MEC_APP entity
				}
+519 −0

File added.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@ Package MEC_MEC028_SRV_WAI {
         "Check that the IUT sends a notification about WLAN event notification
         if the MEC service has an associated subscription and the event is generated"
      
      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"
      Reference "ETSI GS MEC 028 2.2.1, clause 6.4.2",  
         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml"
      
      Config Id Config_MEC_4
      
+8 −8
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.1.1/WlanInformationApi.yaml#/schema/StaInfo"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo"
   
    	Config Id Config_MEC_4
   
@@ -30,7 +30,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/sta/sta_information"
							uri indicating value "/wai/v2/queries/sta/sta_information"
						;
					from the MEC_APP entity
				}
@@ -57,8 +57,8 @@ Package MEC_MEC028_SRV_WAI {
			TP Id "TP_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"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo"
   
    	Config Id Config_MEC_4
   
@@ -77,7 +77,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/sta/sta_information",
							uri indicating value "/wai/v2/queries/sta/sta_information",
							query_parameters containing
								macId set to MAC_ID
							;
@@ -108,7 +108,7 @@ Package MEC_MEC028_SRV_WAI {
			Test objective
				"Check that the IUT responds with an error when a request with
				 incorrect parameters is sent by a MEC Application"
			Reference "ETSI GS MEC 028 2.1.1, clause 7.4.3.1"
			Reference "ETSI GS MEC 028 2.2.1, clause 7.4.3.1"
   
			Config Id Config_MEC_4
   
@@ -124,7 +124,7 @@ Package MEC_MEC028_SRV_WAI {
				when {
					the IUT entity receives
						a vGET containing
							uri indicating value "/wai/v1/queries/sta/sta_information",
							uri indicating value "/wai/v2/queries/sta/sta_information",
							query_parameters containing
								mac set to MAC_ID
							;
Loading