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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"tp_id": "TP/NGSI-LD/CI/Cons/TE/020_12",
"test_objective": "Check that you can retrieve the temporal evolution of an entity with a LanguageProperty property",
"reference": "ETSI GS CIM 009 V1.4.1 [], clauses 4.5.18, 4.5.7, 4.5.9, 5.7.3",
"config_id": "",
"parent_release": "v1.4.1",
"clauses": [
"4.5.18",
"4.5.7",
"4.5.9",
"5.7.3"
],
"pics_selection": "",
"keywords": [
"Retrieve Temporal Entity",
"Create Temporal Entity",
"Delete Initial Temporal Entity"
],
"teardown": "Delete Initial Temporal Entity",
"initial_condition": "with {\n the SUT containing an initial state\n}",
"test_cases": [
{
"name": "020_12_01 Retrieve the normalized temporal representation of an entity with a LanguageProperty property",
"permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/020_12_01",
"doc": "Check that you can retrieve the temporal evolution of an entity with a LanguageProperty property",
"tags": [
"4_5_18",
"4_5_7",
"5_7_3",
"since_v1.4.1",
"te-retrieve"
],
"setup": null,
"teardown": null,
"template": "Retrieve Temporal Entity",
"then": "then {\n the SUT sends a valid Response for the operations:\n Retrieve Temporal Representation Of Entity with Response Status Code set to 200 and\n Retrieve Temporal Representation Of Entity with Response Body containing EntityTemporal element containing attribute instances in the time range specified by the NGSI-LD temporal query:\n * the payload is defined in the file set to 'vehicle-language-property-normalized-temporal-representation-expectation.jsonld'\n * the id was changed to '${temporal_entity_representation_id}'\n * response body to be checked set to '${response.json()}'\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities/{temporal_entity_representation_id}'\n method set to 'GET'\n Retrieve Temporal Representation of Entity and\n Query Parameter: id set to '${temporal_entity_representation_id}' and\n Query Parameter: options set to '${EMPTY}' 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'\n}",
"http_verb": "GET",
"endpoint": "temporal/entities/{temporal_entity_representation_id}"
},
{
"name": "020_12_02 Retrieve the simplified temporal representation of an entity with a LanguageProperty property",
"permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/020_12_02",
"doc": "Check that you can retrieve the temporal evolution of an entity with a LanguageProperty property",
"tags": [
"4_5_18",
"4_5_9",
"5_7_3",
"since_v1.4.1",
"te-retrieve"
],
"setup": null,
"teardown": null,
"template": "Retrieve Temporal Entity",
"then": "then {\n the SUT sends a valid Response for the operations:\n Retrieve Temporal Representation Of Entity with Response Status Code set to 200 and\n Retrieve Temporal Representation Of Entity with Response Body containing EntityTemporal element containing attribute instances in the time range specified by the NGSI-LD temporal query:\n * the payload is defined in the file set to 'vehicle-language-property-simplified-temporal-representation-expectation.jsonld'\n * the id was changed to '${temporal_entity_representation_id}'\n * response body to be checked set to '${response.json()}'\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities/{temporal_entity_representation_id}'\n method set to 'GET'\n Retrieve Temporal Representation of Entity and\n Query Parameter: id set to '${temporal_entity_representation_id}' and\n Query Parameter: options set to 'temporalValues' 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'\n}",
"http_verb": "GET",
"endpoint": "temporal/entities/{temporal_entity_representation_id}"
}
],
"permutations": [
"then",
"when"
],
"robotpath": "ContextInformation/Consumption/TemporalEntity/RetrieveTemporalEvolutionOfEntity",
"robotfile": "020_12"
}