Skip to content
013_04.json 1.67 KiB
Newer Older
{
  "tp_id": "TP/NGSI-LD/CI/Prov/EA/013_04",
  "test_objective": "Check that you can delete a scope from an entity",
  "reference": "ETSI GS CIM 009 V1.5.1 [], clauses 4.18, 5.6.5",
  "config_id": "",
  "parent_release": "v1.5.1",
  "clauses": [
    "4.18",
    "5.6.5"
  ],
  "pics_selection": "",
  "keywords": [
    "Create Initial Entity",
    "Delete Initial Entity"
  ],
  "teardown": "None",
  "initial_condition": "with {\n    the SUT being in the \"initial state\" and\n    the SUT containing an initial Entity ${entity} \n        with an id set to ${entityId} \n}",
  "test_cases": [
    {
      "name": "013_04 Delete scope from an entity",
      "permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/013_04",
      "doc": "Check that you can delete a scope from an entity",
      "tags": [
        "4_18",
        "5_6_5",
        "ea-delete",
        "since_v1.5.1"
      ],
      "setup": "Create Initial Entity",
      "teardown": "Delete Initial Entity",
      "template": null,
      "then": "then {\n    the SUT sends a valid Response for the operations:\n        Delete Entity Attributes with Response Status Code set to 204     and\n        Delete Entity Attributes with Updated Entity set to ${entity}\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/'\n        method set to 'GET'\n        Request Retrieve Entity by Id and\n    Query Parameter: id set to '${entity_id}' and\n    Query Parameter: accept set to 'application/json'\n}",
      "http_verb": "GET",
      "endpoint": ""
    }
  ],
  "permutations": [],
  "robotpath": "ContextInformation/Provision/EntityAttributes/DeleteEntityAttribute",
  "robotfile": "013_04"
}