Skip to content
033_01_03.json 1.67 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CS/CSR/033_01_03",
lopezaguilar's avatar
lopezaguilar committed
  "test_objective": "Check that you can create a context source registration without specifying an ID",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.9.2",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_9_2",
  "keywords": [
    "Delete Created Context Source Registrations"
  ],
  "teardown": "Delete Created Context Source Registrations",
  "initial_condition": "with {\n   the SUT containing an initial state\n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "033_01_03 Create Context Source Registration Without Specifying an ID",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CS/CSR/033_01_03",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can create a context source registration without specifying an ID",
      "tags": [
        "5_9_2",
        "csr-create"
      ],
      "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        Retrieve Context Source Registration with Check Created Resource Set To and\n            Query Parameter: 'ignored_keys' set to '${None}'\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/csourceRegistrations'\n        method set to 'POST'\n        Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: '${payload}'\n}",
      "http_verb": "POST",
      "endpoint": "csourceRegistrations"
lopezaguilar's avatar
lopezaguilar committed
    }
  ],
  "permutations": [],
lopezaguilar's avatar
lopezaguilar committed
  "robotpath": "ContextSource/Registration/RegisterContextSource",
lopezaguilar's avatar
lopezaguilar committed
  "robotfile": "033_01_03"
}