Newer
Older
{
"tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13",
"test_objective": "Check that you can query the temporal evolution of entities using the entityOperations method",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.7.4",
"config_id": "",
"parent_release": "v1.3.1",
"clauses": [
"5.7.4"
],
"pics_selection": "",
lopezaguilar
committed
"initial_condition": "with {\n the SUT being in the \"initial state\" and\n the SUT containing an a list of Temporal Entities \n}",
"test_cases": [
{
"name": "021_13_01 After",
"permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13_01",
"doc": "Check that you can query the temporal evolution of entities using the entityOperations method",
lopezaguilar
committed
"setup": "Setup Initial Temporal Entities",
"teardown": "Delete Initial Temporal Entities",
"template": "Query the temporal evolution of entities using the entityOperations method",
"then": "then {\n the SUT sends a valid Response for the operations:\n Query Temporal Representation Of Entities Via Post with Response Status Code set to 200 and\n Query Temporal Representation Of Entities Via Post with Request response body containing a list that contains Entity Temporal Elements\n compared with file 'vehicles-temporal-representation-021-13-01-expectation.jsonld'\n and using the list of entity ids define in '${temporal_entities_representation_ids}'\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entityOperations/query'\n method set to 'POST'\n Query Temporal Representation of Entities Via POST Request: and\n Query Parameter: query_file_name set to 'entity-operations-after-query.jsonld' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"' and\n Query Parameter: content_type set to 'application/json'\n}",
"http_verb": "POST",
"endpoint": "temporal/entityOperations/query"
},
{
"name": "021_13_02 Before",
"permutation_tp_id": "TP/NGSI-LD/CI/Cons/TE/021_13_02",
"doc": "Check that you can query the temporal evolution of entities using the entityOperations method",
lopezaguilar
committed
"setup": "Setup Initial Temporal Entities",
"teardown": "Delete Initial Temporal Entities",
"template": "Query the temporal evolution of entities using the entityOperations method",
"then": "then {\n the SUT sends a valid Response for the operations:\n Query Temporal Representation Of Entities Via Post with Response Status Code set to 200 and\n Query Temporal Representation Of Entities Via Post with Request response body containing a list that contains Entity Temporal Elements\n compared with file 'vehicles-temporal-representation-021-13-02-expectation.jsonld'\n and using the list of entity ids define in '${temporal_entities_representation_ids}'\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entityOperations/query'\n method set to 'POST'\n Query Temporal Representation of Entities Via POST Request: and\n Query Parameter: query_file_name set to 'entity-operations-before-query.jsonld' and\n Query Parameter: Link set to '<$https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\";type=\"application/ld+json\"' and\n Query Parameter: content_type set to 'application/json'\n}",
"http_verb": "POST",
"endpoint": "temporal/entityOperations/query"
}
],
"permutations": [
lopezaguilar
committed
"then",
"when"
],
"robotpath": "ContextInformation/Consumption/TemporalEntity/QueryTemporalEvolutionOfEntities",
"robotfile": "021_13"
}