Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"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"
}