Changes for doc/files/ContextInformation/Subscription/046_22_12.json: 39 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
{
"tp_id":"TP/NGSI-LD/CI/SUB/046_22_12",
"test_objective":"Check that a notification is sent in normalized format when an entity is deleted\nand attributeDeleted notification trigger is configured for a matching attribute in deleted entity",
"initial_condition":"with {\n the SUT being in the \"initial state\" and\n the SUT containing an initial Subscription ${subscription} \n with an id set to ${subscription_id}\n and an initial Entity ${entity}\n with an id set to ${entity_id}\n}",
"test_cases":[
{
"name":"046_22_12 Check that a notification is sent with matching entity",
"doc":"Delete an entity with a matching attribute and check the received notification",
"tags":[
"5_8_6",
"since_v1.6.1",
"sub-notification"
],
"setup":"Create Initial Subscription And Entity",
"teardown":"Delete Initial Subscription And Entity",
"template":null,
"then":"then {\n the SUT sends a valid Response for the operations:\n Delete Entity by Id with Response Status Code set to 204 and\n Notification with Notification containing entity element set to 'entity-deleted-name-attribute-on-entity-deleted-normalized.json'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{id}'\n method set to 'DELETE'\n Delete Entity Request with id set to ' ${entity_id}'\n}",