Pipeline-embedded load testing with Locust

The locust infrastructure

Important! Some of these environment variables, especially for the worker nodes, are very specific to my workload and might not be needed in other scenarios.

Important! One of the main differences between standalone and headless is that headless automatically runs tests based on pre-defined parameters and does not have a web ui.

Pipeline integration

Overview of the Locust deployment stage template for Azure DevOps

Analyze results

Load test result comparison in Azure DevOps via Compare-LocustStats.ps1

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store