Using the Simulator for testing

A virtual tracker can be used to understand how event rules work or to simulate specific device behaviors before putting any event rule or application in production.

The simulator could be useful in scenarios like:

  • Testing your event rules
  • Generating tracking data in your platform (e.g. to display a report’s data - especially useful in report customization)
  • Training customers and new employees
  • Debugging help requests
  • Demos and presentations to your prospects or customers

Setup

Add a simulated device: find out how in this guide.

Testing

Once the device is set up, you can select a destination to start generating data.

Screenshot 2024-06-27 at 11.56.36.png

You will notice new data is generated by observing the Vehicle Status panel.

Screenshot 2024-06-27 at 12.05.02.png

Or by observing the terminal window (Find out how you can enable the terminal in the application)

Screenshot 2024-06-27 at 12.06.08.png

Enabling variables

With the simulator, you can enable/disable variables to add required data to your tests (for example to include an SOS, temperature, or fuel level variable among others).

You will notice when selecting a simulator device, the panel Simulated Device State will be displayed.

In this panel, you can enable/disable more variables to be used in your testing.

Click on the Update State button after filling up/enabling the variables you require.

Screenshot 2024-06-27 at 12.09.07.png

After this, you will immediately see the changes on the status panel and the terminal window.

Screenshot 2024-06-27 at 12.10.11.png

Terminal data: 

Screenshot 2024-06-27 at 12.10.55.png