diff --git a/code/Test_definitions/device-data-volume-checkDataVolume.feature b/code/Test_definitions/device-data-volume-checkDataVolume.feature index f672f21..b88ea68 100644 --- a/code/Test_definitions/device-data-volume-checkDataVolume.feature +++ b/code/Test_definitions/device-data-volume-checkDataVolume.feature @@ -33,6 +33,7 @@ Feature: CAMARA Device Data Volume API, vwip - Operation checkDataVolume And the response body complies with the OAS schema at "#/components/schemas/CheckDataVolumeResponse" And the remaining data volume is above the requested threshold And the response body property "$.thresholdExceeded" is present and has value "true" + And the response body property "$.lastStatusTime" is present and either has a valid date-time format for a time in the past, or is null @device_data_volume_checkDataVolume_200.02_check_threshold_not_exceeded Scenario: Check if the remaining data volume for a device is not above a given threshold @@ -45,6 +46,7 @@ Feature: CAMARA Device Data Volume API, vwip - Operation checkDataVolume And the response body complies with the OAS schema at "#/components/schemas/CheckDataVolumeResponse" And the remaining data volume is below the requested threshold And the response body property "$.thresholdExceeded" is present and has value "false" + And the response body property "$.lastStatusTime" is present and either has a valid date-time format for a time in the past, or is null ################# # Error scenarios for management of input parameter device diff --git a/code/Test_definitions/device-data-volume-retrieveDataVolume.feature b/code/Test_definitions/device-data-volume-retrieveDataVolume.feature index 1acdf9a..5aed7f8 100644 --- a/code/Test_definitions/device-data-volume-retrieveDataVolume.feature +++ b/code/Test_definitions/device-data-volume-retrieveDataVolume.feature @@ -33,6 +33,7 @@ Feature: CAMARA Device Data Volume API, vwip - Operation retrieveDataVolume And the response header "x-correlator" has same value as the request header "x-correlator" And the response body complies with the OAS schema at "#/components/schemas/RetrieveDataVolumeResponse" And the response body property "$.dataVolumeCategory" is present and has value "<200MiB", "<1GiB", "<5GiB", or ">=5GiB" + And the response body property "$.lastStatusTime" is present and either has a valid date-time format for a time in the past, or is null ################# # Error scenarios for management of input parameter device