🌐
Locust
locust.io
Locust - A modern load testing framework
An open source load testing tool. Define user behaviour with Python code, and swarm your system with millions of simultaneous users.
🌐
GitHub
github.com › locustio › locust
GitHub - locustio/locust: Write scalable load tests in plain Python 🚗💨
4 days ago - Locust is an open source performance/load testing tool for HTTP and other protocols. Its developer-friendly approach lets you define your tests in regular Python code.
Starred by 27.7K users
Forked by 3.2K users
Languages   Python 81.4% | TypeScript 18.0%
Discussions

Open Source Load Testing with Locust: 13 years, 60 million downloads later
Just wanted to say big thank you for working on this great tool I’ve been using Locust for some time now mainly for HA testing for our clustered application It is much more simpler than using Gatling! More on reddit.com
🌐 r/Python
10
192
January 24, 2025
What tools are you using for load tests?
I have used https://k6.io/ in the past. The developer experience is good for us as we are primarily a web shop: write tests in javascript, run them locally, when ready for larger test, just change to target to cloud. We do a combination of stress tests (how many requests per second can this service/endpoint handle) and simulated user tests (login, wait 10 seconds, do a random action, loop, etc). The simulated user tests are easy enough to write because all the logic is just JavaScript, and execs like to hear "we have proven our system is ready for xxx,xxx simultaneous users load. More on reddit.com
🌐 r/ExperiencedDevs
20
22
September 21, 2023
My progress so far with building a Python performance testing framework
Thanks looks promising and will have a look :) More on reddit.com
🌐 r/Python
8
9
May 22, 2021
Performance UI Testing
Emulating 50,000 logins and user flows at a UI level seems like a ridiculous and very expensive request. UI interaction happens at a client browser level, which then just calls events and api's - you could just call the api's directly and make your life easier - so stuff like selenium at that scale woukd be inherently worse than a homebrew solution. If you don't have the hardware to do it on-prem you're going to have to do it with cloud machines, and 50,000 simultaneous tests isn't going to be cheap to run or easy to develop. You're better off using something like Jmeter or LoadRunner, running some load and performance tests and then doing some forecasting around potential bottle necks. You could also set up something with the devs to execute API calls on specific pages at a very high rate and see what happens, but again you're gonna run unto hardware constraints and the cost of cloud. I've been in software testing for 14ish years now and if someone asked me to simulate 50k users at once with UI tests I'd laugh in their face. It's just not financially viable. More on reddit.com
🌐 r/softwaretesting
13
11
June 28, 2023
🌐
BrowserStack
browserstack.com › home › guide › python performance testing : a tutorial
Python Performance Testing : A Tutorial | BrowserStack
October 31, 2025 - CI/CD integration: Trigger automated performance tests from Jenkins, GitLab, CircleCI, or other CI tools commonly used in Python projects to validate performance with every build. Unified performance metrics: Monitor frontend page load times alongside backend API response durations and error rates to identify performance bottlenecks across Python web frameworks like Django, Flask, or FastAPI.
🌐
Reddit
reddit.com › r/python › open source load testing with locust: 13 years, 60 million downloads later
r/Python on Reddit: Open Source Load Testing with Locust: 13 years, 60 million downloads later
January 24, 2025 -

Hi, maintainer of Locust, the popular load testing tool for Python here 👋

Recently our project turned 13 years old, got its 25,000th GitHub star AND 60 millionth download*, so I figured now might be a good time to look back a little.

In fact, I wrote a whole blog article about it. The TL;DR of it is

* Expressing load tests in Python is still much more powerful than clicking around in a GUI

* Open source is fun, messy and benefits greatly from automated testing

* We're going to do tons of new stuff going forward (AsyncIO, freethreading, extended protocol support). Let me know if you want to contribute! There's also a hosted version nowadays (Locust Cloud)

A big shout out and thanks to the almost 300 people who have contributed so far. You rock.

Let me know if you have any comments on the article or on Locust in general, happy to answer any questions :)

* The truth is that nobody knows how many times Python packages have been downloaded, due to mirrors etc, but at least this one says its 61.3M https://pepy.tech/projects/locust?timeRange=threeMonths&category=version&includeCIDownloads=true&granularity=daily&viewType=chart&versions=2.32.7.dev14%2C2.32.7.dev9%2C2.32.7.dev8

🌐
Medium
medium.com › @nomannayeem › the-ultimate-guide-to-load-testing-with-python-from-basics-to-mastery-b5ac41f89a77
The Ultimate Guide to Load Testing with Python: From Basics to Mastery | by Nayeem Islam | Medium
September 6, 2024 - Gatling: Built for scalability, Gatling allows you to run powerful load tests while focusing on performance optimizations. Its simple DSL (domain-specific language) makes scripting easier. Locust: A Python-based load testing tool that’s perfect for simulating complex user behavior and interactions with websites or APIs.
🌐
Sentry
blog.sentry.io › python-performance-testing-a-comprehensive-guide
Python Performance Testing: A Comprehensive Guide | Sentry
September 30, 2022 - This test ran for only three seconds! It spent less than a second in string, and never called list's append method. Based on the profile, the list comprehension got more work done inside built-in code and didn't rely on list or string to get the work done. So, cProfile showed us why one approach performs better than the other. We've looked at Python performance testing and a few examples of using timeit and cProfile to test and profile two code snippets.
Find elsewhere
🌐
Blazemeter
blazemeter.com › blog › open-source-load-testing-tools
Choosing Your Open Source Load Testing Tools | Perforce BlazeMeter
February 4, 2026 - Python Scripting: Define user behavior using standard Python code, offering limitless customization. Distributed Testing: Supports running tests distributed across multiple machines to simulate massive loads. Web UI: Provides a real-time web interface to monitor test progress and change load parameters on the fly. Artillery is a modern, powerful, and easy-to-use load testing toolkit built with Node.js. It focuses on helping developers ship performant backend systems.
🌐
PyPI
pypi.org › project › locust
locust · PyPI
Locust is an open source performance/load testing tool for HTTP and other protocols. Its developer-friendly approach lets you define your tests in regular Python code.
      » pip install locust
    
Published   Apr 01, 2026
Version   2.43.4
🌐
Test Guild
testguild.com › home › blog › performance testing › best load testing tools for 2026
Best Load Testing Tools for 2026
1 week ago - The best load testing tool is the one your team will actually use. A powerful tool that collects dust because the learning curve is too steep is worth nothing. Consider your stack. Python team? Locust. Java shop? JMeter or Gatling with Java. JavaScript everywhere? k6. Robot Framework already in use?
🌐
BrowserStack
browserstack.com › home › guide › top 15 python testing frameworks in 2025
Top 15 Python Testing Frameworks in 2025 | BrowserStack
November 13, 2025 - Seamless Selenium & Playwright Integration: Run tests using popular Python frameworks like Pytest and Unittest. Parallel Test Execution: Speed up test cycles with parallel execution across multiple environments.
🌐
Stackify
stackify.com › python-load-testing-best-practices
Python Load Testing Best Practices - Stackify
May 23, 2024 - If you’re a strong Python developer, you may want to consider Locust because it has what’s known as “Test as Code” function that’s written in Python. JMeter is arguably the strongest of the two frameworks, but it’s built on Java and offers poor “Test as Code” support, which must all be written in Java to run properly.
🌐
LoadNinja
loadninja.com › articles › open-source-load-testing
5 Open Source Load Testing Tools (and When to Go Commercial)
Developers and QA engineers incorporate lots of tests into their continuous integration and deployment workflow. While unit tests, integration tests and UI tests are commonplace, load tests are sometimes overlooked by teams that believe functional tests are enough. The problem is that application...
🌐
Gamebreaking
gamebreaking.com › posts › scenario-performance-tests
Write better load tests with Python & Locust | Gamebreaking Studios
The open source framework provides easy-to-use tooling for writing tests and executing them. One particular feature that I consider essential for performance testing is the ability to run the scripts locally as well as in a deployed environment. Locust is a Python package so having Python installed ...
🌐
Alteryx
innovation.alteryx.com › home › uncategorized › introducing grasshopper – an open source python library for load testing
Introducing Grasshopper – An Open Source Python Library for Load Testing – Alteryx | Innovation
April 27, 2023 - Grasshopper is a library for automated load testing, written in Python. At Alteryx, one of our objectives is to develop innovative tools and frameworks that enhance software testing abilities. As part of this mission, we have designed a user-friendly, open-source framework that enables individuals to optimize their performance testing efforts.
🌐
Medium
medium.com › @rico098098 › load-testing-with-python-fea13369af43
Load Testing with Python
June 15, 2022 - Other custom made performance testing can be made to mimic real-user behavior and gather data points like response time and latency. This can be done in any way required by you or the tester. For this article, I’ll be using a library for Python to do load testing, which is named Locust and we’ll do the testing from our local computers.
🌐
OneUptime
oneuptime.com › home › blog › how to build a load testing tool with locust in python
How to Build a Load Testing Tool with Locust in Python
January 21, 2026 - Locust provides a powerful, flexible framework for load testing. Key takeaways: Python-based - Tests are code you can version control · Realistic behavior - Model user journeys, not just random requests · Custom validation - Check response content, not just status codes ... Start with simple tests and evolve to comprehensive performance validation as your needs grow.
🌐
Netguru
netguru.com › home page › blog › 9 recommended performance testing tools in 2025
9 Recommended Performance Testing Tools in 2025
July 15, 2025 - If an application is written in Python, it’s good to consider Locust. Keeping the same stack made our cooperation with developers easier. Locust is scalable – in comparison with Gatling and k6, distributed mode is accessible for free. To make it a bit easier to compare all the mentioned load performance testing tools and pick one the right load test tool, we put the most important information about each one in the table below.
🌐
Code Like A Girl
code.likeagirl.io › performance-testing-in-python-a-step-by-step-guide-with-flask-e5a56f99513d
Performance Testing in Python: A Step-by-Step Guide with Locust | by Python Code Nemesis | Code Like A Girl
February 29, 2024 - To perform load testing, we’ll use locust. Install it using pip: ... Create a Python file named locustfile.py in the same directory as your Flask app with the following content: