DocumentationThe Notification content shall be JSON by default
DocumentationA Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.info defined by clause 5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by clause 5.2.14
DocumentationThe notification.lastNotification member shall be updated with a timestamp representing the current date and time. This test will check the format.
DocumentationA Notification shall be sent (as mandated by each concrete binding and including any optional endpoint.info defined by clause 5.2.22) to the endpoint specified by the endpoint.uri member of the notification structure defined by clause 5.2.14
${subscription_id}=Generate Random Entity Id${subscription_id_prefix}
${subscription_payload}=Load Subscription Sample With Reachable Endpoint${subscription_payload_file_path}${subscription_id}${notification_server_send_url}
${subscription_payload}=Set Entity Id In Subscription${subscription_payload}${entity_id}
Create Subscription From Subscription Payload${subscription_payload}${CONTENT_TYPE_LD_JSON}
Set Suite Variable${subscription_id}
Delete Initial Subscriptions
Delete Subscription${subscription_id}
Before Test
NotificationUtils.Start Local Server${notification_server_host}${notification_server_port}
After Test
Delete Initial Subscriptions
Delete Initial Entity
Stop Local Server
*** Keywords ***
Add Initial Entity
Check that a notification is only sent if statis is active
[Arguments]${fragment_filename}
[Documentation]The notification.lastNotification member shall be updated with a timestamp representing the current date and time. This test will check the format.
[Tags]sub-notification5_11_7
${subscription_id}=Generate Random Entity Id${subscription_id_prefix}
${subscription_payload}=Load Subscription Sample With Reachable Endpoint${subscription_payload_file_path}${subscription_id}
${entity_id}=Generate Random Entity Id${building_id_prefix}
${entity_id}=Generate Random Entity Id${building_id_prefix}
[Documentation]The notification.lastNotification member shall be updated with a timestamp representing the current date and time. This test will check the format.