Locust, a leading open-source load testing tool, has released version 2.44.0, marking a significant update focused on stability improvements and enhanced logging capabilities. This minor update, released on 2026-05-11, is crucial for QA engineers utilizing Locust for performance and security testing. For more insights into leveraging Locust, explore our articles on Locust load testing with Python and Python load testing with Locust.
Key Changes
This release addresses several core areas, bringing valuable improvements that directly impact the reliability and analytical depth of performance tests:
- FastHttpUser Stability: Multiple critical fixes enhance the robustness of
FastHttpUser, particularly under demanding conditions. This includes resolving crashes on Python 3.13+ related to garbage collection, ensuringFAILURE_EXCEPTIONSare properly caught during response body reads, and handlingzlib.errorfor truncated gzip streams under high load. Furthermore, HTTP 308 permanent redirects are now correctly recognized and processed byLocustUserAgent. These changes collectively contribute to more reliable and accurate test results, minimizing unexpected test failures due to tool-specific issues. - Enhanced Failure Metrics: To significantly improve debugging and analysis, failure statistics now provide “first seen” and “last seen” timestamps. This addition offers clearer context, aiding QA teams in pinpointing precisely when issues begin and end during a test run. This granular timing information is invaluable for correlating performance problems with specific events or system states, facilitating faster root cause identification.
- New CSV Request Logger: A significant new feature is the
CsvRequestLoggerwithinlocust.contrib. This powerful addition allows for granular, per-request logging directly to a CSV file. It provides a wealth of detailed data points for each individual request, such as response times, status codes, and request sizes. This is invaluable for in-depth post-test analysis, custom reporting, and identifying subtle performance bottlenecks that might not be immediately apparent from aggregate statistics. - Documentation: AI-optimized documentation (
llms.txt) has been added, aiming to improve clarity and accessibility for developers and testers alike, making it easier to understand and implement Locust features.
Impact for QA Teams
QA teams will significantly benefit from a more stable FastHttpUser, which directly translates to fewer test interruptions and a reduction in false negatives, especially in high-load scenarios or when working with newer Python versions. The introduction of the CsvRequestLogger provides an invaluable tool for detailed data collection, enabling more precise debugging and in-depth performance analysis. Coupled with enhanced failure timestamps, teams gain quicker and more accurate insights into problem occurrences, streamlining the entire performance testing workflow and allowing for more effective identification and resolution of system performance issues.
For a complete list of changes, refer to the official changelog.
