Commit 6e279588 authored by piscione's avatar piscione
Browse files

Reviewed TPs of MEC033v3.1.1

parent 07d932dd
Loading
Loading
Loading
Loading
+23 −24
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {

      Test objective
        "Check that the IUT responds with the list of registered IoT devices
			when queried by a Service Consumer"
			when queried by a Service Consumer - No Filter"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1"

@@ -26,7 +26,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
         the MEC_PROVIDER entity having a DeviceInfo containing
            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
            deviceId indicating value HUMAN_READABLE_IDENTIFIER,
            SUPI indicating value SUPI_DEVICE,
            SUPI indicating value SUPI_DEVICE, //Assuming device is both LTE and 5G enabled
            IMSI indicating value IMSI_DEVICE,
            enabled set to false
         ;
@@ -63,8 +63,6 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
   }




   Test Purpose {
      TP Id "TP_MEC_MEC033_IOTS_IOTDEV_001_OK_02"

@@ -125,7 +123,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {

      Test objective
        "Check that the IUT responds with the list of registered IoT devices
			when queried by a Service Consumer filtering one field"
			when queried by a Service Consumer, filtering one field"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1"

@@ -176,7 +174,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {

      Test objective
        "Check that the IUT responds with the list of registered IoT devices
		when queried by a Service Consumer filtering the number of fields and applying a 
		when queried by a Service Consumer, filtering the number of fields and applying a 
		filter to a specific field"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.3.3.1"
@@ -251,7 +249,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
                     DeviceInfo containing
				            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
				            deviceId indicating value HUMAN_READABLE_IDENTIFIER,
				            IMSI indicating value IMSI_DEVICE,
				            IMSI indicating value IMSI_DEVICE, //Assuming device is LTE and 5G enabled
				            SUPI indicating value SUPI_DEVICE
                  			;
               		;
@@ -329,6 +327,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
         }
   }


   Test Purpose {
      TP Id "TP_MEC_MEC033_IOTS_IOTDEV_003_OK"

@@ -359,7 +358,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
                  uri indicating value "/iots/v1/registered_devices/REGISTERED_DEVICE_ID"
                  ;
               from the MEC_CONSUMER entity
            }
@@ -370,7 +369,7 @@ Package MEC_MEC033_MEX_IOTS_IOTDEV {
                  body containing
                     DeviceInfo containing
				            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
				            deviceId set to registeredDeviceId,
				            deviceId set to REGISTERED_DEVICE_ID,
				            IMSI indicating value IMSI_DEVICE,
				            SUPI indicating value SUPI_DEVICE,
				            enabled indicating value false 
@@ -399,7 +398,7 @@ Test Purpose {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity not having a DeviceInfo containing
            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
            deviceId set to registeredDeviceId,
            deviceId set to REGISTERED_DEVICE_ID,
            IMSI indicating value IMSI_DEVICE,
            SUPI indicating value SUPI_DEVICE,
            enabled indicating value false
@@ -412,7 +411,7 @@ Test Purpose {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
                  uri indicating value "/iots/v1/registered_devices/NOT_EXISTING_IOT_DEVICE_ID"
                  ;
               from the MEC_CONSUMER entity
            }
@@ -443,7 +442,7 @@ Test Purpose {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity having a DeviceInfo containing
	            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
	            deviceId set to registeredDeviceId,
	            deviceId set to REGISTERED_DEVICE_ID,
	            IMSI indicating value IMSI_DEVICE,
	            SUPI indicating value SUPI_DEVICE,
	            enabled indicating value false
@@ -455,7 +454,7 @@ Test Purpose {
	         ensure that {
	            when {
	               the IUT entity receives a vPUT containing
	                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
	                  uri indicating value "/iots/v1/registered_devices/REGISTERED_DEVICE_ID"
		                  body containing
		                     DeviceInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with
						            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
@@ -525,7 +524,7 @@ Test Purpose {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity not having a DeviceInfo containing
	            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
	            deviceId set to registeredDeviceId,
	            deviceId set to REGISTERED_DEVICE_ID,
	            IMSI indicating value IMSI_DEVICE,
	            SUPI indicating value SUPI_DEVICE,
	            enabled indicating value false
@@ -537,11 +536,11 @@ Test Purpose {
	         ensure that {
	            when {
	               the IUT entity receives a vPUT containing
	                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
	                  uri indicating value "/iots/v1/registered_devices/NOT_EXISTING_REGISTERED_DEVICE_ID"
		                  body containing
		                     DeviceInfo containing
						            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
						            deviceId set to registeredDeviceId,
						            deviceId set to REGISTERED_DEVICE_ID,
						            IMSI indicating value IMSI_DEVICE,
						            SUPI indicating value SUPI_DEVICE,
						            requestedIotPlatformId indicating value REQ_IOT_PLATFORM,
@@ -586,7 +585,7 @@ Test Purpose {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity having a DeviceInfo containing
	            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
	            deviceId set to registeredDeviceId,
	            deviceId set to REGISTERED_DEVICE_ID,
	            IMSI indicating value IMSI_DEVICE,
	            SUPI indicating value SUPI_DEVICE,
	            enabled indicating value false
@@ -598,7 +597,7 @@ Test Purpose {
	         ensure that {
	            when {
	               the IUT entity receives a vPUT containing
	                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
	                  uri indicating value "/iots/v1/registered_devices/REGISTERED_DEVICE_ID"
		                  body containing
		                     DeviceInfo containing
						            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
@@ -640,7 +639,7 @@ Test Purpose {
      TP Id "TP_MEC_MEC033_IOTS_IOTDEV_005_OK"

      Test objective
        "Check that the IUT deregisters an IoT device information 
        "Check that the IUT unregisters an IoT device information 
		when requested by a Service Consumer specifying the IoT registered device identifier"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5"
@@ -653,7 +652,7 @@ Test Purpose {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity having a DeviceInfo containing
            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
            deviceId set to registeredDeviceId,
            deviceId set to REGISTERED_DEVICE_ID,
            IMSI indicating value IMSI_DEVICE,
            SUPI indicating value SUPI_DEVICE,
            enabled indicating value false
@@ -666,7 +665,7 @@ Test Purpose {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
                  uri indicating value "/iots/v1/registered_devices/REGISTERED_DEVICE_ID"
                  ;
               from the MEC_CONSUMER entity
            }
@@ -685,7 +684,7 @@ Test Purpose {

      Test objective
        "Check that the IUT returns an error
		when a Service Consumer requests to deregisters an IoT device using incorrect parameters"
		when a Service Consumer requests to unregisters an IoT device using incorrect parameters"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.4.3.5"

@@ -697,7 +696,7 @@ Test Purpose {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity not having a DeviceInfo containing
            deviceAuthenticationInfo indicating value SOME_CUSTOM_VALUES,
            deviceId indicating value registeredDeviceId,
            deviceId indicating value REGISTERED_DEVICE_ID,
            SUPI indicating value SUPI_DEVICE,
            IMSI indicating value IMSI_DEVICE,
            enabled indicating value false
@@ -710,7 +709,7 @@ Test Purpose {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "/iots/v1/registered_devices/{registeredDeviceId}"
                  uri indicating value "/iots/v1/registered_devices/NOT_EXISTING_REGISTERED_DEVICE_ID"
                  ;
               from the MEC_CONSUMER entity
            }
+22 −22
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
               the IUT entity receives a vPOST containing
                  uri indicating value "/iots/v1/registered_iot_platforms"
                  body containing
                     IotPlatformInfo containing //userTransportInfo is a mandatory attribute of IotPlatformInfo, below not provided.
                     IotPlatformInfo containing //userTransportInfo is a mandatory attribute of IotPlatformInfo, in below payload is not provided.
				            iotPlatformId indicating value IOT_PLATFORM_ID,
				            enabled indicating value BOOLEAN_VALUE
                  			;
@@ -170,7 +170,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity having a IotPlatformInfo containing
            iotPlatformId set to registeredIotPlatformId,
            iotPlatformId set to IOT_PLATFORM_ID,
            userTransportInfo indicating value USER_TRANSPORT_INFO,
            enabled indicating value BOOLEAN_VALUE
         ;
@@ -182,7 +182,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
                  uri indicating value "/iots/v1/registered_iot_platforms/IOT_PLATFORM_ID"
                  ;
               from the MEC_CONSUMER entity
            }
@@ -219,7 +219,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity not having a IotPlatformInfo containing
            iotPlatformId  set to  registeredIotPlatformId,
            iotPlatformId  set to  NOT_EXISTING_IOT_PLATFORM_ID,
            userTransportInfo indicating value USER_TRANSPORT_INFO,
            enabled indicating value BOOLEAN_VALUE
         ;
@@ -230,7 +230,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
                  uri indicating value "/iots/v1/registered_iot_platforms/NOT_EXISTING_IOT_PLATFORM_ID"
                  ;
               from the MEC_CONSUMER entity
            }
@@ -261,7 +261,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	      Initial conditions  with {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity having a IotPlatformInfo containing
	            iotPlatformId set to registeredIotPlatformId,
	            iotPlatformId set to IOT_PLATFORM_ID,
	            userTransportInfo indicating value USER_TRANSPORT_INFO,
	            enabled indicating value BOOLEAN_VALUE
	         ;
@@ -273,11 +273,11 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	         ensure that {
	            when {
	               the IUT entity receives a vPUT containing
	                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
	                  uri indicating value "/iots/v1/registered_iot_platforms/IOT_PLATFORM_ID"
		                  body containing
		                     IotPlatformInfo containing //Updating TrafficRuleDescriptor and the requestedIoTPlatformId associated with
						            iotPlatformId set to registeredIotPlatformId,
						            userTranspostInfo indicating value USER_TRANSPORT_INFO,
						            iotPlatformId set to IOT_PLATFORM_ID,
						            userTranspostInfo indicating value NEW_USER_TRANSPORT_INFO,
						            enabled indicating value BOOLEAN_VALUE		               			
		               		;
		            	;
@@ -290,8 +290,8 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	                  status_code set to "200 OK",
	                  body containing
		                     IotPlatformInfo containing
						            iotPlatformId set to registeredIotPlatformId,
						            userTranspostInfo indicating value USER_TRANSPORT_INFO,
						            iotPlatformId set to IOT_PLATFORM_ID,
						            userTranspostInfo indicating value NEW_USER_TRANSPORT_INFO,
						            enabled indicating value BOOLEAN_VALUE			             
	               			;
	               		;
@@ -317,7 +317,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	      Initial conditions  with {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity not having a IotPlatformInfo containing
	            iotPlatformId  set to  registeredIotPlatformId,
	            iotPlatformId  set to  NOT_EXISTING_IOT_PLATFORM_ID,
	            userTransportInfo indicating value USER_TRANSPORT_INFO,
	            enabled indicating value BOOLEAN_VALUE
	         ;
@@ -329,10 +329,10 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	         ensure that {
	            when {
	               the IUT entity receives a vPUT containing
	                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
	                  uri indicating value "/iots/v1/registered_iot_platforms/NOT_EXISTING_IOT_PLATFORM_ID"
		                  body containing
		                     IotPlatformInfo containing 
						            iotPlatformId set to registeredIotPlatformId,
						            iotPlatformId set to NOT_EXISTING_IOT_PLATFORM_ID,
						            userTranspostInfo indicating value USER_TRANSPORT_INFO,
						            enabled indicating value BOOLEAN_VALUE		               			
		               		;
@@ -353,7 +353,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	     TP Id "TP_MEC_MEC033_MEX_IOTS_IOTPLAT_005_OK"
	
	      Test objective
	        "Check that the IUT deregisters an IoT platform information
	        "Check that the IUT unregisters an IoT platform information
	        when requested by a Service Consumer specifying the registered IoT platform identifier"
	
	      Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5"
@@ -365,7 +365,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	      Initial conditions  with {
	         the IUT entity being_in idle_state and
	         the MEC_PROVIDER entity having a IotPlatformInfo containing
	            iotPlatformId set to registeredIotPlatformId,
	            iotPlatformId set to EXISTING_IOT_PLATFORM_ID,
	            userTransportInfo indicating value USER_TRANSPORT_INFO,
	            enabled indicating value BOOLEAN_VALUE
	         ;
@@ -376,7 +376,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
	         ensure that {
	            when {
	               the IUT entity receives a vDELETE containing
	                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
	                  uri indicating value "/iots/v1/registered_iot_platforms/EXISTING_IOT_PLATFORM_ID"
	                  ;
	               from the MEC_CONSUMER entity
	            }
@@ -396,7 +396,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {

      Test objective
        "Check that the IUT returns an error
        when a Service Consumer request to deregister an IoT platform using incorrect parameters"
        when a Service Consumer request to unregister an IoT platform using incorrect parameters"

      Reference "ETSI GS MEC 033 V3.1.1, clause 7.5.3.5"

@@ -407,7 +407,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
      Initial conditions  with {
         the IUT entity being_in idle_state and
         the MEC_PROVIDER entity not having a IotPlatformInfo containing
            iotPlatformId set to registeredIotPlatformId,
            iotPlatformId set to NOT_EXISTING_IOT_PLATFORM_ID,
            userTransportInfo indicating value USER_TRANSPORT_INFO,
            enabled indicating value BOOLEAN_VALUE
         ;
@@ -417,7 +417,7 @@ Package MEC_MEC033_MEX_IOTS_IOTPLAT {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "/iots/v1/registered_iot_platforms/{registeredIotPlatformId}"
                  uri indicating value "/iots/v1/registered_iot_platforms/"
                  ;
               from the MEC_CONSUMER entity
            }