Skip to content
027_02.json 1.75 KiB
Newer Older
  "tp_id": "TP/NGSI-LD/CI/Cons/DISC/027_02",
  "test_objective": "Check that you can retrieve a list with a detailed representation of NGSI-LD attributes",
  "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.7.10",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_7_10",
  "keywords": [
    "Setup Initial Entities",
    "Delete Initial Entities"
  ],
  "teardown": "Delete Initial Entities",
  "initial_condition": "with {\n    the SUT in the \"initial state\"\n}",
  "test_cases": [
    {
      "name": "027_02_01 Retrieve Detailed Representation Of Available Attribute",
      "permutation_tp_id": "TP/NGSI-LD/CI/Cons/DISC/027_02_01",
      "doc": "Check that you can retrieve a list with a detailed representation of NGSI-LD attributes",
      "tags": [
        "5_7_10",
        "ed-attr"
      ],
      "setup": null,
      "teardown": null,
      "template": null,
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Retrieve Attribute with Response Status Code set to 200     and\n        Retrieve Attribute with Response body containing an array of attributes\n            * with the expected payload defined in the file 'types/expectations/attribute-027-01-expectation.json'\n            * and response body 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/attributes/{attribute_name}'\n        method set to 'GET'\n        Retrieve Attribute with attributeName set to 'airQualityLevel'\n}",
      "http_verb": "GET",
      "endpoint": "attributes/{attribute_name}"
    }
  ],
  "permutations": [],
  "robotpath": "ContextInformation/Consumption/Discovery/RetrieveAvailableAttributeInformation",
  "robotfile": "027_02"
}