DEV Community

Michael Wahl for AWS Community Builders

Posted on

Distributed Load Testing on AWS

Background
Using Distributed Load Testing on AWS can help you automate not just the testing for apps, to help find bottlenecks or other performance issues related to scale.

Use Case
I was looking for something which could be deployed using containers. I was also interested in something that I could schedule load tests in the future.

Architecture

Image description source: aws.amazon.com

Lets Build

Launch in the AWS Console using CloudFormation

Image description
source: aws.amazon.com

Image description

I have entered my desired admin name and email address, but left everything else to use the default settings.

Once the CloudFormation stack is created, we can select the stack, then select Outputs at the top, this will have a link to access the load testing console.

Since this solution leverages AWS cognito, you can setup and configure additional user access there.

Once logged in, we will see a screen like the one below.

Image description

We can create a new load test, using either a single http endpoint or JMeter and uploading a file.

Image description

CloudFormation Template

https://solutions-reference.s3.amazonaws.com/distributed-load-testing-on-aws/latest/distributed-load-testing-on-aws.template

Additional Information
https://aws.amazon.com/blogs/architecture/ensure-optimal-application-performance-with-distributed-load-testing-on-aws

Top comments (0)