Skip to content
041_01.json 2.03 KiB
Newer Older
lopezaguilar's avatar
lopezaguilar committed
{
lopezaguilar's avatar
lopezaguilar committed
  "tp_id": "TP/NGSI-LD/CS/REGSUB/041_01",
lopezaguilar's avatar
lopezaguilar committed
  "test_objective": "Check that you can query context source registration subscriptions",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.11.5",
  "config_id": "",
  "parent_release": "v1.3.1",
  "clauses": [
    "5.11.5"
  ],
  "pics_selection": "",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing a set of Context Source Registration Subscriptions (CSRSs)\n}",
lopezaguilar's avatar
lopezaguilar committed
  "test_cases": [
    {
      "name": "041_01_01 Query Context Source Registration Subscriptions",
lopezaguilar's avatar
lopezaguilar committed
      "permutation_tp_id": "TP/NGSI-LD/CS/REGSUB/041_01_01",
lopezaguilar's avatar
lopezaguilar committed
      "doc": "Check that you can query context source registration subscriptions",
      "tags": [
        "5_11_5",
        "csrsub-query"
      ],
      "setup": "Setup Initial Context Source Registration Subscriptions",
      "teardown": "Delete Created Context Source Registration Subscription",
lopezaguilar's avatar
lopezaguilar committed
      "template": null,
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Query Context Source Registration Subscriptions with Response Status Code set to 200     and\n        Query Context Source Registration Subscriptions with Response containing:\n            * file set to 'csourceSubscriptions/expectations/subscriptions-035-01-expectation.json'\n            * id set to '${subscription_ids}'\n            * response set to '${response.json()}'\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'\n        method set to 'GET'\n        Query Context Source Registration Subscriptions and\n    Query Parameter: context set to 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld'\n}",
      "http_verb": "GET",
      "endpoint": "csourceSubscriptions"
    }
  ],
  "permutations": [],
  "robotpath": "ContextSource/RegistrationSubscription/QueryContextSourceRegistrationSubscriptions",
  "robotfile": "041_01"
}