Newer
Older
"test_objective": "Check that you cannot delete a context source registration by id if the id is not known to the system",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.9.4",
"config_id": "",
"parent_release": "v1.3.1",
"pics_selection": "PICS_5_9_4",
"keywords": [],
"teardown": "None",
"initial_condition": "with {\n the SUT in the \"initial state\"\n}",
"test_cases": [
{
"name": "035_03_01 Delete a context source registration by id",
"doc": "Check that you cannot delete a context source registration by id if the id is not known to the system",
"tags": [
"5_9_4",
"csr-delete"
],
"setup": null,
"teardown": null,
"template": null,
"then": "then {\n the SUT sends a valid Response for the operations:\n Delete Context Source Registration With Return with Response Status Code set to 404 and\n Delete Context Source Registration With Return with Response body containing 'title' element\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/csourceRegistrations/{registration_id}'\n method set to 'DELETE'\n Delete Context Source Registration with id set to '${registration_id}'\n}",
"http_verb": "DELETE",
"endpoint": "csourceRegistrations/{registration_id}"
}
],
"permutations": [],
"robotpath": "ContextSource/Registration/DeleteContextSourceRegistration",
"robotfile": "035_03"
}