Check that a notification is sent on the timeInterval
[Documentation]If a Subscription defines a timeInterval member, a Notification shall be sent periodically, when the time interval (in seconds) specified in such value field is reached, regardless of Attribute changes."
[Documentation]If a Subscription defines a timeInterval member, a Notification shall be sent periodically, when the time interval (in seconds) specified in such value field is reached, regardless of Attribute changes.
[Tags]sub-notification5_11_7046_02
Add Initial Entity
Sleep1s
Setup Initial Subscriptions
${notification}=Wait for notificationtimeout=${15}
@@ -60,10 +61,5 @@ Check that a notification is sent on the timeInterval
Dictionary Should Contain Key${notification}data
Should Not Be Empty${notification}[data]Notification data should not be empty
Should be Equal${entity_id}${notification}[data][0][id]
Should be True'${notification}[data][0][https://ngsi-ld-test-suite/context#airQualityLevel][value]'=='4.0' or '${notification}[data][0][https://ngsi-ld-test-suite/context#airQualityLevel][value]'=='4'
Should be EqualEiffel Tower${notification}[data][0][https://ngsi-ld-test-suite/context#name][value]
Should be True'${notification}[data][0][airQualityLevel][value]'=='4.0' or '${notification}[data][0][airQualityLevel][value]'=='4'
Should be EqualEiffel Tower${notification}[data][0][name][value]
@@ -47,6 +47,7 @@ Check that a notification is sent with all entities
[Tags]sub-notification5_11_7046_03
Add Initial Entity
Sleep1s
Setup Initial Subscriptions
${notification}=Wait for notification${5}
@@ -55,8 +56,8 @@ Check that a notification is sent with all entities
Dictionary Should Contain Key${notification}data
Should Not Be Empty${notification}[data]Notification data should not be empty
Should be Equal${entity_id}${notification}[data][0][id]
Should be True'${notification}[data][0][https://ngsi-ld-test-suite/context#airQualityLevel][value]'=='4.0' or '${notification}[data][0][https://ngsi-ld-test-suite/context#airQualityLevel][value]'=='4'
Should be EqualEiffel Tower${notification}[data][0][https://ngsi-ld-test-suite/context#name][value]
Should be True'${notification}[data][0][airQualityLevel][value]'=='4.0' or '${notification}[data][0][airQualityLevel][value]'=='4'
Should be EqualEiffel Tower${notification}[data][0][name][value]