Skip to content
035_01.json 1.59 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CS/REG/035_01",
lopezaguilar's avatar
lopezaguilar committed
  "test_objective": "Check that you can delete a context source registration by id",
  "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 containing an initial state\n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "035_01_01 Delete a context source registration by id",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CS/REG/035_01_01",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can delete a context source registration by id",
      "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        Create Context Source Registration With Return with Response Status Code set to 201     and\n        Delete Context Source Registration With Return with Response Status Code set to 204     and\n        Retrieve Context Source Registration with Response Status Code set to ${response1.status_code}\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}"
lopezaguilar's avatar
lopezaguilar committed
    }
  ],
  "permutations": [],
  "robotpath": "ContextSource/Registration/DeleteContextSourceRegistration",
  "robotfile": "035_01"
}