Test cancellation workflow - Distributed Load Testing on AWS

Test cancellation workflow

When you cancel a load test from the web console, the solution runs the following test cancellation workflow.

  1. The cancellation request is sent to the microservices API.

  2. The microservices API calls the task-canceler Lambda function which cancels tasks until all the currently launched tasks are stopped.

  3. If the task-runner Lambda function continues to run after the initial call to the task-canceler Lambda function, then tasks will continue to be launched. Once the task-runner Lambda function finishes, AWS Step Functions continues to the Cancel Test step, which runs the task-canceler Lambda function again to stop any remaining tasks.