Skip to content
046_16_02.json 1.74 KiB
Newer Older
{
  "tp_id": "TP/NGSI-LD/CI/SUB/046_16_02",
  "test_objective": "If a subscription defines an entity type selection query, a notification shall be sent whenever an entity matches the query.",
  "reference": "ETSI GS CIM 009 V1.5.1 [], clause 5.8.6",
  "config_id": "",
  "parent_release": "v1.5.1",
  "clauses": [
    "5.8.6"
  ],
  "pics_selection": "",
  "keywords": [
    "Setup Initial Subscription",
    "Before Test",
    "After Test"
  ],
  "teardown": "After Test",
  "initial_condition": "with {\n   the SUT containing an initial state\n}",
  "test_cases": [
    {
      "name": "046_16_02 Check that a notification is not sent if the entity type does not match the entity type selection",
      "permutation_tp_id": "TP/NGSI-LD/CI/SUB/046_16_02",
      "doc": "If a subscription defines an entity type selection query, a notification shall not be sent if the entity type does not match the query",
      "tags": [
        "5_8_6",
        "since_v1.5.1",
        "sub-notification"
      ],
      "setup": null,
      "teardown": null,
      "template": null,
      "then": "then {\n    the client at '${endpoint}' receives a valid Notification containing:\n        Notification received Waiting for no Notification data and\n    Query Parameter: timeout set to '5'\n}",
      "when": "when {\n    the SUT receives a Request from the client containing:\n        URL set to '/ngsi-ld/v1/entities/'\n        method set to 'POST'\n        Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: 'vehicle-simple-attributes-sample.jsonld'\n}",
      "http_verb": "POST",
      "endpoint": "entities/"
    }
  ],
  "permutations": [],
  "robotpath": "ContextInformation/Subscription/SubscriptionNotificationBehaviour",
  "robotfile": "046_16_02"
}