Event Simulator

Description

The Event Simulator Listener simulates events. This Listener is usually used for debugging purposes.

Configuration

To add the Event Simulator Listener to a stream, follow the steps below:

  1. Ensure you have a use case open in the stream designer, this can be a new use case or an existing use case
  2. From the toolbox on the left expand the Listener option and scroll down until you can see “Event Simulator Listener”
    • You can also use the search in the header to find the stream object quickly
  3. Click and drag the Event Simulator Listener from the toolbox onto the canvas
  4. Rename the Listener by clicking into the text button on the action bar
  5. Save the Stream by clicking the save button in the action bar
  6. Hover over the icon for the stream object until it turns orange and then double click to open the configuration page
    • You can optionally use the configure option on the action bar once you have selected the specific stream object and then clicking this option
  7. Configuration options
    • The drop down allows you to associate this stream object with a specific collection. The default option is derived from the default specified against the specific use case and is generated left as the same option. If you do need to change it to another collection make the change by selecting the new collection in the drop down.
  8. Enter Simulate Details
    • Enter the Number of Events. Specify 0 for infinite
    • Enter Events per Second, which is how many events should be simulated each second.
    • Tick “Micro Batch” if you want to send events as a batch to next agent instead of one by one. Enter Batch size to specify how many events should be contained in a batch
  9. Enter Event Definition Details
    • Click + to add a new row.
    • Enter Attribute, e.g. Temperature. Specify the Minimum Value, Maximum Value for the value should be simulated. You can click  to maximize the page.
  10. Click Apply on the action bar, and then save the stream using the save button.
Limitations
  • None at this time.
Release Notes
Version: 1.23
Released: 26-Feb-2020
Release Notes: Fixed issue where TimeStamp wasn’t cased properly
Version Released Release Notes
1.22 07-Feb-2020 Updated execution to be task based to no longer lock upon agent destruction under certain instances
1.21 04-March-2019 Updated help URL
1.20 02-Oct-2018
  • Fixed unhandled exception on timer thread.
  • Add validation
1.11 03-July-2018 Fixed micro-batch option outputting one message with a single event at the beginning of each poll cycle.
1.10 17-May-2018 Support  for infinite number of events

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X