Skip to content
002_01.json 1.47 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CI/Prov/E/002_01",
lopezaguilar's avatar
lopezaguilar committed
  "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",
  "pics_selection": "PICS_5_6_6",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT in the \"initial state\"\n}",
  "test_cases": [
    {
      "name": "002_01_01 Delete an entity",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/002_01_01",
lopezaguilar's avatar
lopezaguilar committed
      "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/"
lopezaguilar's avatar
lopezaguilar committed
    }
  ],
  "permutations": [],
  "robotpath": "ContextInformation/Provision/Entities/DeleteEntity",
  "robotfile": "002_01"
}