NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #1221 most downloaded on PyPI
Developer-friendly load testing framework
Latest stable
2.47.0
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
1083 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Fix stat printing when using shapes #1907
Fix stat printing when using shapes #1907
Fix stat printing when using shapes (https://github.com/locustio/locust/pull/1907)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Add start_time and url parameters to request event. #1900 Support (and test) Python 3.10 #1901 Make User.run/TaskSet.run final and raise an exception
Add start_time and url parameters to request event. #1900
Support (and test) Python 3.10 #1901
Make User.run/TaskSet.run final and raise an exception if someone marks it with @task #1895
Ensure target_user_count is set before ramping-up or down #1891/#1894
Release docker image for arm64. #1889
Add start_time and url parameters to request event. (https://github.com/locustio/locust/pull/1900)
Support (and test) Python 3.10 (https://github.com/locustio/locust/pull/1901)
Make User.run/TaskSet.run final and raise an exception if someone marks it as a task (https://github.com/locustio/locust/pull/1895)
Release docker image for arm64. (https://github.com/locustio/locust/pull/1889)
Automated change log generation is broken. Will fix this later, but until then you can look here: https://github.com/locustio/locust/compare/2.2.3...2.4.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix issue with custom arguments in config file (when not running headless) https://github.com/locustio/locust/pull/1888
Fix issue with custom arguments in config file (when not running headless) https://github.com/locustio/locust/pull/1888
Fix issue with custom arguments in config file (when not running headless) (https://github.com/locustio/locust/pull/1888)
Automated change log generation is broken. Will fix this later, but until then you can look here: https://github.com/locustio/locust/compare/2.2.2...2.2.3
Automated change log generation is broken. Will fix this later, but until then you can look here: https://github.com/locustio/locust/compare/2.2.1...2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
PR #1871 Disable setting custom parameters of None or boolean type in web UI. Fixes #1870
PR #1871 Disable setting custom parameters of None or boolean type in web UI. Fixes #1870
Automated change log generation is broken. Will fix this later, but until then you can look here: https://github.com/locustio/locust/compare/2.2.0...2.2.1
Nothing published for this version
Display locustfile and tasks ratio information on index.html
requests) (https://github.com/locustio/locust/pull/1858)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix docker builds (2.0 final never got pushed to Docker Hub)
This release contains changes that could break/change the behaviour of some existing locust files (but probably not many).
This release contains changes that could break/change the behaviour of some existing locust files (but probably not many).
This has allowed us to fix some issues with incorrect/skewed User type selection and undesired stepping of ramp up. The issues were especially visible when running many workers and/or using LoadShape:s. This change also allows redistribution of Users if a worker disconnects during a test. This is a major change internally in Locust so please let us know if you encounter any problems (particularly regarding ramp up pace, User distribution, CPU usage on master, etc)
user_classes_count from heartbeat payload (2.0.0b4) https://github.com/locustio/locust/pull/1825Improve logging messages and clean up code after dispatch refactoring (2.0.0b4) https://github.com/locustio/locust/pull/1826
user_classes_count from heartbeat payload (2.0.0b4) https://github.com/locustio/locust/pull/1825Fire test_start and test_stop events on worker nodes \#1777 (nathan-beam)
Auto shrink request stats table to fit terminal https://github.com/locustio/locust/pull/1811
Check version of workers when they connect. Warn if there is a mismatch, refuse 1.x workers to connect https://github.com/locustio/locust/pull/1805 (2
Move User selection responsibility from worker to master in order to fix unbalanced distribution of users and uneven ramp-up https://github.com/locust
Allow cross process communication using custom messages https://github.com/locustio/locust/pull/1782
…(that event was deprecated 1.5.0, but will work again now)
Pin version of flask to 1.1.2, fixing "KeyError: 'extensions'" https://github.com/locustio/locust/issues/1759
Fixed a minor issue with 1.5.0 where an extra parameter (start_time) was passed to request event https://github.com/locustio/locust/pull/1754
Fixed an issue with 1.5.0 where an extra parameter (start_time) was passed to request event https://github.com/locustio/locust/pull/1754
Updated request event with context and deprecate request\_failure/success \#1750 Add response object to request event \#1752
Unify request_success/request_failure into a single event called request (the old ones are deprecated but still work) https://github.com/locustio/locust/issues/1724
Add the response object and context as parameters to the request event. context is used to forward information to the request event handler (can be used for things like username, tags etc)
Ensure runner.quit finishes even when users are broken https://github.com/locustio/locust/pull/1728
fix stats values for chart tooltips \#1691 (aek)
Multiple improvements for charting including tooltips etc
Fix 100% cpu usage when running in docker/non-tty terminal https://github.com/locustio/locust/issues/1629
You can now control user count from terminal while the test is running https://github.com/locustio/locust/pull/1612
Fix XSS vulnerability in the web UI (sounds important but really isn't, as Locust UI is not meant to be exposed to outside users)
(side note: I have also fixed the docker build process, so any tagged commit will push to locustio/locust:latest, this was broken in the past)
Bump minimum required gevent version to 20.9.0 (latest), as all the previous ones had sneaky binary incompatibilities with the latest version of green
Breaking change: Remove step-load feature (now that we have LoadTestShape it is no longer needed)
Bug fixes:
Various linting fixes that *should* have no functional impact
Bug fix (LoadTestShape in headless mode https://github.com/locustio/locust/pull/1539)
Bug fix (StatsEntry.use_response_times_cache must be set to True, https://github.com/locustio/locust/issues/1531)
Rename hatch rate to spawn rate (the –hatch-rate parameter is only deprecated, but the hatch_complete event has been renamed spawning_complete)
Fix for run not ending if there is an exception in a test_stop listener
--run-time flag is not respected if there is an exception in a test_stop listener
FastHttpUser: Handle stream ended at an unexpected time and UnicodeDecodeError. Show bad/error status codes on failures page.
Improve logging when locust master port is busy
The official Docker image is now based on the python:3.8 image instead of python:3.8-alpine. This should make it easier to install other python packag
python:3.8 image instead of python:3.8-alpine. This should
make it easier to install other python packages when extending the locust docker image. #1435The official Docker image is now based on the python:3.8 image instead of python:3.8-alpine. This should make it easier to install other python packages when extending the locust docker image.
Allow Users to stop the runner by calling self.environment.runner.quit() (without deadlocking sometimes)
Cut to only 5% free space on the top of the graphs
Use csv module to generate csv data (solves issues with sample names that need escaping in csv)
Various documentation improvements
Ability to control the exit code of the Locust process by setting environment.process_exit_code
One column per quarter.