Skip to content
026_01.json 2.54 KiB
Newer Older
{
  "tp_id": "TP/NGSI-LD/CI/Cons/Discovery/RetrieveDetailsOfAvailableAttributes/026_01",
  "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.9",
  "config_id": "",
  "parent_release": "v1.3.1",
  "pics_selection": "PICS_5_7_9",
  "keywords": [],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT in the \"initial state\"\n}",
  "test_cases": [
    {
      "name": "026_01_01 WithoutJsonLdContext",
      "permutation_tp_id": "TP/NGSI-LD/CI/Cons/Discovery/RetrieveDetailsOfAvailableAttributes/026_01_01",
      "doc": "",
      "tags": [
        "5_7_9",
        "ed-attrs-details"
      ],
      "setup": "Setup Initial Entities",
      "teardown": "Delete Initial Entities",
      "template": "Retrieve Details Of Available Attributes",
      "then": "then {\n    the SUT sends a valid Response containing:\n        Response Body containing an array of Attributes and\n        Response Status Code set to 200\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/attributes'\n        method set to 'GET'\n        Retrieve attributes: and\n    Query Parameter: context set to '${EMPTY}' and\n    Query Parameter: details set to '${TRUE}'\n}",
      "http_verb": "GET",
      "endpoint": "attributes"
    },
    {
      "name": "026_01_02 WithJsonLdContext",
      "permutation_tp_id": "TP/NGSI-LD/CI/Cons/Discovery/RetrieveDetailsOfAvailableAttributes/026_01_02",
      "doc": "",
      "tags": [
        "5_7_9",
        "ed-attrs-details"
      ],
      "setup": "Setup Initial Entities",
      "teardown": "Delete Initial Entities",
      "template": "Retrieve Details Of Available Attributes",
      "then": "then {\n    the SUT sends a valid Response containing:\n        Response Body containing an array of Attributes and\n        Response Status Code set to 200\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/attributes'\n        method set to 'GET'\n        Retrieve attributes: 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' and\n    Query Parameter: details set to '${TRUE}'\n}",
      "http_verb": "GET",
      "endpoint": "attributes"
    }
  ],
  "permutations": [
    "when"
  ],
  "robotpath": "ContextInformation/Consumption/Discovery/RetrieveDetailsOfAvailableAttributes",
  "robotfile": "026_01"
}