Newer
Older
"test_objective": "Check that you cannot delete an entity if the entity id is not known to the system",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.6.6",
"config_id": "",
"parent_release": "v1.3.1",
"pics_selection": "PICS_5_6_6",
"keywords": [],
"teardown": "None",
"initial_condition": "with {\n the SUT in the \"initial state\"\n}",
"test_cases": [
{
"name": "002_03_01 Delete an entity with an id not known to the system",
"doc": "Check that you cannot delete an entity if the entity id is not known to the system",
"tags": [
"5_6_6",
"e-delete"
],
"setup": null,
"teardown": null,
"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 404 and\n Delete Entity by Id with Response Body containing the type 'https://uri.etsi.org/ngsi-ld/errors/ResourceNotFound' and\n Delete Entity by Id 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/entities/{id}'\n method set to 'DELETE'\n Delete Entity Request with id set to '${entity_id}'\n}",
"http_verb": "DELETE",
"endpoint": "entities/{id}"
}
],
"permutations": [],
"robotpath": "ContextInformation/Provision/Entities/DeleteEntity",
"robotfile": "002_03"
}