Simulation API
post
https://nsim.iotify.io
/api/test/:testID/run
Run a template
The parameters marked as
rS: $parameter
are parameters under the runSettings object.For a list of all additional runSettings parameter you can use, check the Run Settings page of the documentation.
// Example curl command
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "key:$KEY" -H "domain:nsim.iotify.io" -d '{"jobName":"$JOBNAME","runSettings":{"interval":1000,"iteration":150,"clients":10}}' nsim.iotify.io/api/test/$TESTID/run
get
https://nsim.iotify.io
/api/jobs/:workspaceID/:jobID
Get Job Status
// Example curl command
curl -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "key:$KEY" -H "domain:nsim.iotify.io" nsim.iotify.io/api/jobs/$WORKSPACE/$JOB
Last modified 10mo ago