"then":"then {\n the SUT sends a valid Response containing:\n Response Status Code set to 406\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\nResponse containing:\n * Entity-Type is equal to '${entity_types_to_be_retrieved}'\n* timeRel is equal to 'after'\n* timeAt is equal to '2020-08-01T12:05:00Z'\n* Accept is equal to 'application/xml'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\n and\n Query Parameter: entity_types set to '${entity_types_to_be_retrieved}' and\nQuery Parameter: timerel set to 'after' and\nQuery Parameter: timeAt set to '2020-08-01T12:05:00Z' and\nQuery Parameter: accept set to 'application/xml'\n}",
"then":"then {\n the SUT sends a valid Response containing:\n Response Status Code set to 406\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\nResponse containing:\n * Entity-Type is equal to '${entity_types_to_be_retrieved}'\n* timeRel is equal to 'after'\n* timeAt is equal to '2020-08-01T12:05:00Z'\n* Accept is equal to 'application/geo+json'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\n and\n Query Parameter: entity_types set to '${entity_types_to_be_retrieved}' and\nQuery Parameter: timerel set to 'after' and\nQuery Parameter: timeAt set to '2020-08-01T12:05:00Z' and\nQuery Parameter: accept set to 'application/geo+json'\n}",
"then":"then {\n the SUT sends a valid Response containing:\n Request response body containing a list that contains Entity Temporal Elements\n compared with file 'vehicles-temporal-representation-021-02-expectation.jsonld'\n and using the list of entity ids define in '${temporal_entities_representation_ids}' and\n Response Status Code set to 200\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\nResponse containing:\n * Entity-Type is equal to '${entity_types_to_be_retrieved}'\n* timeRel is equal to 'after'\n* timeAt is equal to '2020-07-01T12:05:00Z'\n* Accept is equal to 'attrs=${temporal_attributes_to_be_retrieved}'\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\n and\n Query Parameter: entity_types set to '${entity_types_to_be_retrieved}' and\nQuery Parameter: timerel set to 'after' and\nQuery Parameter: timeAt set to '2020-07-01T12:05:00Z' and\nQuery Parameter: attrs set to '${temporal_attributes_to_be_retrieved}' 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}",
"doc":"Check that you can query the temporal evolution of the last N instances of entities attributes",
"tags":[
"5_7_4",
"te-query"
],
"setup":null,
"teardown":null,
"template":null,
"then":"then {\n the SUT sends a valid Response containing:\n Request response body containing a list that contains Entity Temporal Elements\n compared with file 'vehicles-temporal-representation-021-03-expectation.jsonld'\n and using the list of entity ids define in '${temporal_entities_representation_ids}' and\n Response Status Code set to 200\n}",
"when":"when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/temporal/entities'\n method set to 'GET'\n and\n Query Parameter: entity_types set to '${entity_types_to_be_retrieved}' and\n Query Parameter: timerel set to 'after' and\n Query Parameter: timeAt set to '2020-07-01T12:05:00Z' and\n Query Parameter: lastN set to '14' 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}",