Commit 2003c8cf authored by piscione's avatar piscione
Browse files

TTF012: Updated TPs of MEC028 from v2.2.1 to v2.3.1

parent 149ae928
Loading
Loading
Loading
Loading
+28 −20
Original line number Diff line number Diff line
@@ -10,8 +10,9 @@ 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.2.1, clause 7.3.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1",
					  "ETSI GS MEC 028 2.3.1, Table 6.2.2-1",
			          "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258"
   
    	Config Id Config_MEC_4
   
@@ -20,7 +21,7 @@ Package MEC_MEC028_SRV_WAI {
      	Initial conditions  with {
        	the IUT entity having a ApInfo containing
        		apId containing
            		macId indicating value MAC_ID
            		bssid indicating value BSSID
            	;
            ;
      	}
@@ -39,9 +40,11 @@ Package MEC_MEC028_SRV_WAI {
					the IUT entity sends a HTTP_RESPONSE containing
						status_code set to "200 OK"
			            body containing
			                ApInfoList containing
	                     		ApInfo containing 
	                        		apId containing
                           			macId set to MAC_ID			
	                           			bssid set to BSSID			
	                        		;
	                     		;
	                  		;
						;
@@ -55,9 +58,12 @@ Package MEC_MEC028_SRV_WAI {
		Test Purpose {
			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.2.1, clause 7.3.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/ApInfo"
		      "Check that the IUT responds with 
				the list of WLAN Access Point filtered by the bssid provided as query parameter"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1",
					  "ETSI GS MEC 028 2.3.1, Table 6.2.2-1",
			          "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1258"
   
   
    	Config Id Config_MEC_4
   
@@ -66,7 +72,7 @@ Package MEC_MEC028_SRV_WAI {
      	Initial conditions  with {
        	the IUT entity having a ApInfo containing
        		apId containing
            		macId indicating value MAC_ID
            		bssid indicating value BSSID
            	;
            ;
      	}
@@ -78,7 +84,7 @@ Package MEC_MEC028_SRV_WAI {
						a vGET containing
							uri indicating value "/wai/v2/queries/ap/ap_information",
							query_parameters containing 
                  				macId indicating value MAC_ID
                  				bssid indicating value BSSID
                  			;
                  		;
					from the MEC_APP entity
@@ -88,9 +94,11 @@ Package MEC_MEC028_SRV_WAI {
					the IUT entity sends a HTTP_RESPONSE containing
						status_code set to "200 OK"
			            body containing
			            	ApInfoList containing
                     		ApInfo containing 
                        		apId containing
                           			macId set to MAC_ID			
                           			bssid indicating value BSSID	
                        			;
                     			;
                  			;
						;
@@ -106,7 +114,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.2.1, clause 7.3.3.1"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.3.3.1"
   
			Config Id Config_MEC_4
   
@@ -124,7 +132,7 @@ Package MEC_MEC028_SRV_WAI {
						a vGET containing
							uri indicating value "/wai/v2/queries/ap/ap_information",
							query_parameters containing
								mac indicating value MAC_ID
								bss_id indicating value BSSID //Correct parameter is bssid w/o underscore
							;
						;
					from the MEC_APP entity
+22 −18
Original line number Diff line number Diff line
@@ -10,8 +10,9 @@ 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.2.1, clause 7.6.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schemas/AssocStaSubscription"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.1",
			          "ETSI GS MEC 028 2.3.1, Table 6.3.2-1",
	         		  "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309"
   
    	Config Id Config_MEC_4
   
@@ -42,7 +43,7 @@ Package MEC_MEC028_SRV_WAI {
                     					subscriptionType set to "AssocStaSubscription",
                     					callbackReference set to CALLBACK_URI,
                     					apId containing
                     						macId set to MAC_ID
                     						bssid indicating value BSSID
                     				;		
                     			;
                  			;
@@ -56,8 +57,9 @@ Package MEC_MEC028_SRV_WAI {
		Test Purpose {
			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.2.1, clause 7.6.3.1"
				"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.3.1, clause 7.6.3.1"
   
			Config Id Config_MEC_4
   
@@ -89,12 +91,13 @@ Package MEC_MEC028_SRV_WAI {
		}
			
		
		
		Test Purpose {
			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.2.1, clause 7.6.3.2"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.2",
					  "ETSI GS MEC 028 2.3.1, Table 6.3.2-1",
	         		  "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309"
   
			Config Id Config_MEC_4
   
@@ -108,7 +111,7 @@ Package MEC_MEC028_SRV_WAI {
                     		_links containing
                     			self set to URI_TO_RESOURCE,
                     			apId containing
                     				macId set to MAC_ID
                     				bssid indicating value BSSID
                     			;
                     		;	
						;
@@ -127,7 +130,7 @@ Package MEC_MEC028_SRV_WAI {
                     					_links containing
                     						self set to URI_TO_RESOURCE,
                     					apId containing
                     						macId set to MAC_ID
                     						bssid indicating value BSSID
                     					;
                     				;	
							;
@@ -147,7 +150,7 @@ Package MEC_MEC028_SRV_WAI {
                     					_links containing
                     						self set to "uri/to/resource",
                     					apId containing
                     						macId set to MAC_ID
                     						bssid indicating value BSSID
                     					;
                     				;	
							;
@@ -161,8 +164,9 @@ Package MEC_MEC028_SRV_WAI {
		Test Purpose {
			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.2.1, clause 7.6.3.2"
				"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.3.1, clause 7.6.3.2"
   
			Config Id Config_MEC_4
   
@@ -176,7 +180,7 @@ Package MEC_MEC028_SRV_WAI {
                     		_links containing
                     			self set to URI_TO_RESOURCE,
                     			apId containing
                     			macId set to MAC_ID
                     				 bssid indicating value BSSID
                     			;
                     		;	
						;
@@ -196,7 +200,7 @@ Package MEC_MEC028_SRV_WAI {
                     					_links containing
                     						self set to "uri/to/resource",
                     					apId containing
                     						macId set to MAC_ID
                     						bssid indicating value BSSID
                     					;
                     				;	
							;
@@ -219,7 +223,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.2.1, clause 7.6.3.5"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.5"
   
			Config Id Config_MEC_4
   
@@ -233,7 +237,7 @@ Package MEC_MEC028_SRV_WAI {
                     		_links containing
                     			self set to URI_TO_RESOURCE,
                     			apId containing
                     			macId set to MAC_ID
                     					bssid indicating value BSSID
                     			;
                     		;	
						;
@@ -263,7 +267,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.2.1, clause 7.6.3.5"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.6.3.5"
   
			Config Id Config_MEC_4
   
+74 −185

File changed.

Preview size limit exceeded, changes collapsed.

+8 −5
Original line number Diff line number Diff line
@@ -13,8 +13,11 @@ 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.2.1, clause 6.4.2",  
         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml"
      Reference "ETSI GS MEC 028 2.3.1, clause 6.4.2", 
      			"ETSI GS MEC 028 2.3.1, Table 6.3.2-1", 
                "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1309",
                "ETSI GS MEC 028 2.3.1, Table 6.4.2-1",
                "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.3.1/WlanInformationApi.yaml#L1292"
      
      Config Id Config_MEC_4
      
@@ -25,7 +28,7 @@ Package MEC_MEC028_SRV_WAI {
            subscriptionType indicating value "AssocStaSubscription",
            callbackReference indicating value CALLBACK_URI,
            apId containing 
                  macId set to MAC_ID
                  bssid set to BSSID
               ;
         ;
      }
@@ -43,7 +46,7 @@ Package MEC_MEC028_SRV_WAI {
               body containing
                  notificationType indicating value "AssocStaNotification",
                  apId containing 
                  	macId set to MAC_ID
                  		bssid set to BSSID
               		;	
            	; 
            ;
+10 −7
Original line number Diff line number Diff line
@@ -10,8 +10,9 @@ 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.2.1, clause 7.4.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.4.3.1",
					  "ETSI GS MEC 028 2.3.1, Table 6.2.3-1",
	                  "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374"
   
    	Config Id Config_MEC_4
   
@@ -56,9 +57,11 @@ Package MEC_MEC028_SRV_WAI {
		Test Purpose {
			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.2.1, clause 7.4.3.1",
	         "https://forge.etsi.org/rep/mec/gs028-wai-api/blob/v2.2.1/WlanInformationApi.yaml#/schema/StaInfo"
		      "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.3.1, clause 7.4.3.1",
					  "ETSI GS MEC 028 2.3.1, Table 6.2.3-1",
	                  "https://forge.etsi.org/rep/mec/gs028-wai-api/-/blob/v2.3.1/WlanInformationApi.yaml#L2374"
   
    	Config Id Config_MEC_4
   
@@ -108,7 +111,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.2.1, clause 7.4.3.1"
			Reference "ETSI GS MEC 028 2.3.1, clause 7.4.3.1"
   
			Config Id Config_MEC_4
   
Loading