Skip to content
032_03.json 1.41 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
  "tp_id": "TP/NGSI-LD/CI/SUB/032_03",
  "test_objective": "Check that you can delete a subscription",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.8.5",
  "config_id": "",
  "parent_release": "v1.3.1",
  "clauses": [
    "5.8.5"
  ],
  "pics_selection": "",
lopezaguilar's avatar
lopezaguilar committed
  "keywords": [
    "Setup Initial Subscriptions"
  ],
  "teardown": "None",
  "initial_condition": "with {\n   the SUT containing an initial state\n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "032_03_01 Delete Subscription",
      "permutation_tp_id": "TP/NGSI-LD/CI/SUB/032_03_01",
      "doc": "Check that you can delete a subscription",
      "tags": [
        "5_8_5",
        "sub-delete"
      ],
      "setup": null,
      "teardown": null,
      "template": null,
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Delete Subscription with Response Status Code set to 204     and\n        Retrieve Subscription 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/subscriptions/{subscription_id}'\n        method set to 'DELETE'\n        Delete Subscription with id set to '${subscription_id}'\n}",
      "http_verb": "DELETE",
      "endpoint": "subscriptions/{subscription_id}"
lopezaguilar's avatar
lopezaguilar committed
    }
  ],
  "permutations": [],
  "robotpath": "ContextInformation/Subscription/DeleteSubscription",
  "robotfile": "032_03"
}