Test scheduling workflow
Use the web console to schedule a load test. When scheduling a test, the following workflow runs:
-
When a load test is created with the option to schedule, the schedule parameters are sent to the solution’s API via Amazon API Gateway.
-
The API then passes the parameters to a Lambda function that creates a CloudWatch Events rule, which will be scheduled to run on the date specified.
-
If the test is a one-time test, the CloudWatch Events rule runs on the specified date. The
api-services
Lambda function runs a new test through the test workflow. -
If the test is a recurring test, the CloudWatch Events rule activates on the specified date. The
api-services
Lambda function runs, which deletes the current CloudWatch Events rule and creates another rule that runs immediately when created and recurrently thereafter based on the specified recurrence frequency.