https://store-images.s-microsoft.com/image/apps.50132.7859500a-3b29-4e3a-9bbb-590587f803e0.bc2f7225-ff51-4742-802f-19fb96106e5a.43e5be76-654e-4d9f-b951-a81a4aa63241

Locust by Orba

by Lingaro

Distributed Locust load tests

Run distributed Locust load tests on Azure Container Instances. It's quick, cheap and scalable! Using 20 slaves you can achieve ~12 000 req/s!

How to use

  1. Click "Create" button
  2. You can change some params:
    • Number of slaves (one slave ~600rps)
    • Locustfile (optional) - your test scenarios file (locustfile.py)
  3. Click Review and Create
  4. When deployment ends, go to resource group
  5. Go to container named xxxxxxxxxxxxx-master then find out FQDN and copy it. (ex. xxxxxxxxxxxxx-master.northeurope.azurecontainer.io)
  6. Go to http://xxxxxxxxxxxxx-master.northeurope.azurecontainer.io:8089 - your Locust dashboard is ready

Disclaimer

  • Load test affects target service performance. Never run load tests without service owner permission!
  • Some services can block traffic from generator - you should whitelist Azure Region IPs (Download prefixes).
  • After load tests cleanup Azure resources. You will be billed for running Azure Contianers Instance and Storage Account usage. You can check cost of ACI here.

At a glance

https://store-images.s-microsoft.com/image/apps.19450.7859500a-3b29-4e3a-9bbb-590587f803e0.bc2f7225-ff51-4742-802f-19fb96106e5a.5e390fd3-3706-463a-8a5b-55dc5604fb1c
https://store-images.s-microsoft.com/image/apps.55805.7859500a-3b29-4e3a-9bbb-590587f803e0.98388b6f-e56f-4b6b-91d2-ca0ea05d7055.3e913e45-36f5-4efb-8872-e2f5da1c5163
https://store-images.s-microsoft.com/image/apps.5777.7859500a-3b29-4e3a-9bbb-590587f803e0.1d80b032-1a36-4d10-a2fa-4efb9ccdb23d.b268a7b5-46e6-49a0-ba79-72df4636531d