Skip to content
042_03.json 1.79 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CS/REGSUB/042_03",
lopezaguilar's avatar
lopezaguilar committed
  "test_objective": "Check that you cannot delete an unknown context source registration subscription",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.11.6",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_11_6",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n   the SUT containing an initial state\n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "042_03_01 Delete Unknown Context Source Registration Subscription With Invalid Uri",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CS/REGSUB/042_03_01",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you cannot delete an unknown context source registration subscription",
      "tags": [
        "5_11_6",
        "csrsub-delete"
      ],
      "setup": null,
      "teardown": null,
      "template": null,
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Delete Context Source Registration Subscription with Response Status Code set to 404     and\n        Delete Context Source Registration Subscription with Response Body containing the type 'https://uri.etsi.org/ngsi-ld/errors/ResourceNotFound'     and\n        Delete Context Source Registration Subscription with Response body containing 'title' element\n}",
lopezaguilar's avatar
lopezaguilar committed
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/csourceSubscriptions/{subscription_id}'\n        method set to 'DELETE'\n        Delete Context Source Registration Subscription with id set to 'urn:ngsi-ld:Subscription:unknowSubscription'\n}",
      "http_verb": "DELETE",
      "endpoint": "csourceSubscriptions/{subscription_id}"
    }
  ],
  "permutations": [],
  "robotpath": "ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription",
  "robotfile": "042_03"
}