Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This section demonstrates how to simulate a single event to be processed via WSO2 DAS.

Prerequisites

Before simulating events, a Siddhi application should be deployed.

Simulating an event

To simulate an event, send a POST request to theĀ /simulation/single API. The following is an example of a POST request.

curl -X POST \
  http://localhost:9090/simulation/single \
  -H 'content-type: text/plain' \
  -d '{
  "streamName": "FooStream",
  "executionPlanName": "TestExecutionPlan",
  "timestamp": null,
  "data": [
    null,
    "9",
    "45"
  ]
}'



  • No labels