DEV Community

Michael Wahl for AWS Community Builders

Posted on

4 1

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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post