capabilities.work

AWS FIS Start Then Stop Experiment

A 4-step recipe with Amazon Fault Injection Simulator. We can help you get access.

Recipe · 4 steps

AWS FIS Start Then Stop Experiment

Start an experiment from a template, then stop it and poll until terminal.

  1. Start a fault injection experiment from the supplied template id.
  2. Read the experiment back to confirm it has begun before requesting a stop.
  3. Stop the running experiment. The StopExperiment operation is the DELETE on /experiments/{id} and transitions the experiment into the stopping state.
  4. Poll the experiment until it leaves the stopping state. Loops back while the status is still stopping and ends once the experiment is stopped, completed, or failed.
What you'll need to have ready
  • experimentTemplateId: The experiment template id to start the experiment from.
  • clientToken: Idempotency token for the start request.
  • tags: Tags to apply to the started experiment.
For your developer

Arazzo workflow amazon-fault-injection-simulator:start-then-stop-experiment, 4 operations: StartExperiment → GetExperiment → StopExperiment → GetExperiment. Specs on APIs.io.