*** Test Cases *** LIMIT EXPECTATION_FILE TEMPORAL_ENTITIES_REPRESENTATION_IDS
Query Some entities${2}vehicles-temporal-representation-021-11-01-expectation.jsonld${first_temporal_entity_representation_id}${second_temporal_entity_representation_id}
Query All entities${20}vehicles-temporal-representation-021-11-02-expectation.jsonld${first_temporal_entity_representation_id}${second_temporal_entity_representation_id}${third_temporal_entity_representation_id}
*** Keywords ***
Query the temporal evolution of entities with a limit to the number of entities to be retrieved
Query Temporal Representation Of Entitiesentity_types=${entity_types_to_be_retrieved}limit=${limit}timerel=aftertimeAt=2020-07-01T12:05:00Zcontext=${ngsild_test_suite_context}
Check Response Status Code Set To200
Check Response Body Containing List Containing EntityTemporal elements${expectation_file}${temporal_entities_representation_ids}
Setup Initial Entities
${first_temporal_entity_representation_id}=Generate Random Entity Id${vehicule_id_prefix}
${second_temporal_entity_representation_id}=Generate Random Entity Id${vehicule_id_prefix}
${third_temporal_entity_representation_id}=Generate Random Entity Id${bus_id_prefix}
Create Temporal Representation Of Entity${first_vehicle_payload_file}${first_temporal_entity_representation_id}
Create Temporal Representation Of Entity${second_vehicle_payload_file}${second_temporal_entity_representation_id}
Create Temporal Representation Of Entity${bus_payload_file}${third_temporal_entity_representation_id}
Set Suite Variable${first_temporal_entity_representation_id}
Set Suite Variable${second_temporal_entity_representation_id}
Set Suite Variable${third_temporal_entity_representation_id}
Delete Initial Entities
Delete Temporal Representation Of Entity${first_temporal_entity_representation_id}
Delete Temporal Representation Of Entity${second_temporal_entity_representation_id}
Delete Temporal Representation Of Entity${third_temporal_entity_representation_id}