Loading TP/NGSI-LD/ContextInformation/Subscription/Notification/046_06.robot +3 −1 Original line number Diff line number Diff line Loading @@ -22,16 +22,18 @@ Setup Server And Subscriptions Create Subscription From Subscription Payload ${subscription_payload} ${CONTENT_TYPE_LD_JSON} Set Suite Variable ${subscription_id} NotificationUtils.Start Local Server ${notification_server_host} ${notification_server_port} ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} Delete Server And Subscriptions Delete Subscription ${subscription_id} Delete Entity by Id Returning Response ${entity_id} Stop Local Server *** Test Case *** Check that a notification is sent with all matching entities [Documentation] only the subscribed Entities matching the query and watched attributes shall be included. [Tags] sub-notification 5_11_7 046_06 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity_building}= Create Entity Selecting Content Type ${building_filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} ${notification}= Wait for notification timeout=${10} Loading Loading
TP/NGSI-LD/ContextInformation/Subscription/Notification/046_06.robot +3 −1 Original line number Diff line number Diff line Loading @@ -22,16 +22,18 @@ Setup Server And Subscriptions Create Subscription From Subscription Payload ${subscription_payload} ${CONTENT_TYPE_LD_JSON} Set Suite Variable ${subscription_id} NotificationUtils.Start Local Server ${notification_server_host} ${notification_server_port} ${entity_id}= Generate Random Entity Id ${building_id_prefix} Set Suite Variable ${entity_id} Delete Server And Subscriptions Delete Subscription ${subscription_id} Delete Entity by Id Returning Response ${entity_id} Stop Local Server *** Test Case *** Check that a notification is sent with all matching entities [Documentation] only the subscribed Entities matching the query and watched attributes shall be included. [Tags] sub-notification 5_11_7 046_06 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${entity_building}= Create Entity Selecting Content Type ${building_filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} ${notification}= Wait for notification timeout=${10} Loading