{ "tp_id": "TP/NGSI-LD/CI/Prov/E/002_01", "test_objective": "Check that you can delete an entity by id", "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.6.6", "config_id": "", "parent_release": "v1.3.1", "clauses": [ "5.6.6" ], "pics_selection": "", "keywords": [], "teardown": "None", "initial_condition": "with {\n the SUT containing an initial state\n}", "test_cases": [ { "name": "002_01_01 Delete an entity", "permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/002_01_01", "doc": "Check that you can delete an entity by id", "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 Create Entity Selecting Content Type with Response Status Code set to 201 and\n Delete Entity by Id with Response Status Code set to 204 and\n Retrieve Entity by Id with Response Status Code set to ${response2.status_code}\n}", "when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: 'building-simple-attributes-sample.jsonld'\n}", "http_verb": "POST", "endpoint": "entities/" } ], "permutations": [], "robotpath": "ContextInformation/Provision/Entities/DeleteEntity", "robotfile": "002_01" }