Newer
Older
{
"tp_id": "TP/NGSI-LD/CI/SUB/046_10",
"test_objective": "The Notification content shall be JSON by default.",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.8.6",
"config_id": "",
"parent_release": "v1.3.1",
"clauses": [
"5.8.6"
],
"pics_selection": "",
"keywords": [
"Before Test",
"After Test"
],
"teardown": "After Test",
lopezaguilar
committed
"initial_condition": "with {\n the SUT containing an initial state\n}",
"test_cases": [
{
"name": "046_10_01 Check that the notification is sent as JSON",
"permutation_tp_id": "TP/NGSI-LD/CI/SUB/046_10_01",
"doc": "The Notification shall be sent as JSON",
"tags": [
"5_8_6",
"sub-notification"
],
"setup": null,
"teardown": null,
"template": null,
"then": "then {\n the client at '${endpoint}' receives a valid Notification containing:\n Notification received After waiting '10' seconds\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{entityId}/attrs/{attributeId}'\n method set to 'PATCH'\n Update Entity Attributes and\n Query Parameter: id set to '${entity_id}' and\n Query Parameter: fragment_filename set to '${fragment_filename}' and\n Query Parameter: content_type set to 'application/ld+json'\n}",
"http_verb": "PATCH",
"endpoint": "entities/{entityId}/attrs/{attributeId}"
}
],
"permutations": [],
"robotpath": "ContextInformation/Subscription/SubscriptionNotificationBehaviour",
"robotfile": "046_10"
}