locustio/locust
59.5
Adequate · 4 November 2026
17k
lines of production code
Python
with TypeScript
4
measurements over time
What this system is
Features
Add AWS Terraform example for distributed Locust
Added a new Terraform example in examples/terraform/aws that provisions a distributed Locust load-testing environment on AWS. The example includes configuration files to deploy a leader and worker nodes using the marcosborges/loadtest-distribuited module, along with a sample Locust script (plan/basic.py) and instructions for authentication, execution, and cleanup.
examples/terraform · high confidence
Add Failures Table with First/Last Seen timestamps
The FailuresTable component has been added to the web UI, displaying a sortable table of swarm errors that includes the number of occurrences, HTTP method, name, error message, and newly added 'First Seen' and 'Last Seen' timestamps. The table component is wired to the Redux store to fetch error data from the UI state.
locust/webui/src/components/FailuresTable · high confidence
Add Locust load testing scripts for the dispatch service
Added example scripts under \examples/dispatch\_test\_scripts\ to facilitate load testing of the dispatch service using Locust. The package includes a \locustfile.py\ defining three user classes (UserA, UserB, UserC) and a \RampUpThenDownLoadShape\ for staged load simulation, along with shell scripts (\run-local-headless.sh\, \run-local-web.sh\, \run-distributed-headless.sh\, \run-distributed-web.sh\) to execute tests locally or in a distributed master-worker setup.
_examples/dispatch\_test\scripts · high confidence
Add Milvus load testing example with Locust
A new example has been added to demonstrate load testing for Milvus vector database operations using Locust. This includes a \locustfile.py\ that defines a \SimpleMilvusUser\ class to perform insert, search, query, and delete tasks against a Milvus collection, along with a \README.md\ detailing prerequisites (such as \pymilvus\ \>=2.5.0) and usage instructions for running the tests via the web UI or headless mode.
examples/milvus · high confidence
Add PostgreSQL load testing example
Introduces a new example in the examples/postgres directory that demonstrates how to use Locust to benchmark a PostgreSQL database. The provided locustfile.py defines a PostgresUser class that executes a SELECT query against the rnc\_database table, with connection details (host, port, database, user, password) configured via environment variables or defaults. A README.md file is also included to guide users on prerequisites (psycopg3) and environment setup.
examples/postgres · high confidence
Add XML-RPC custom client example for Locust
The examples/custom\_xmlrpc\_client directory now includes a server.py and xmlrpc\_locustfile.py demonstrating how to create a custom XML-RPC client in Locust. The example shows how to wrap xmlrpc.client.ServerProxy to fire request events for metrics collection, use the new User base class instead of the deprecated Locust class, and measure response times using time.perf\_counter().
_examples/custom\_xmlrpc\client · high confidence
Add benchmark script for UsersDispatcher performance
A new benchmark script (benchmarks/dispatch.py) has been added to validate the performance of the UsersDispatcher class, which handles user distribution across workers. The script allows developers to measure instantiation, ramp-up, and ramp-down durations under various configurations (worker count, user count, user classes, spawn rate, and fixed vs. weighted users) via command-line arguments like --full-benchmark, --include-fixed-users, and --repeat.
benchmarks · high confidence
Add example for SDK session patching with Locust
A new example file demonstrates how to patch an SDK client's internal HTTP session to integrate with Locust for load testing. The example shows creating a custom Locust user that initializes the Archivist client and then overwrites its internal session attribute to use Locust's managed client, allowing users to simulate high-throughput asset creation.
_examples/sdk\_session\patching · high confidence
Add exceptions table to the web UI
The web UI now includes a dedicated table to display swarm exceptions. This new component, located in the ExceptionsTable directory, renders exception data (count, message, and traceback) by connecting to the Redux store and utilizing the shared Table component.
locust/webui/src/components/ExceptionsTable · high confidence
Add gRPC load testing example
The examples/grpc directory now includes a complete, runnable example for load testing gRPC services. This addition provides a custom GrpcUser class that utilizes a ClientInterceptor to accurately measure request metrics (such as response time and length) and fire events to the Locust environment. The example also includes the necessary protocol buffer definitions (hello.proto), generated Python stubs, a simple gRPC server implementation with a 100-worker thread pool, and a locustfile that ties these components together to demonstrate how to test a gRPC endpoint.
examples/grpc, examples/mongodb · high confidence
Added MQTT load testing example
Added a new example in the \examples/mqtt\ directory demonstrating how to perform load testing on MQTT brokers using Locust. The example includes a standard \locustfile.py\ using the built-in \MqttUser\, a \locustfile\_custom\_mqtt\_client.py\ showing how to extend \MqttClient\ for custom event naming, and a \mosquitto.conf\ file for running a local Mosquitto broker via Docker.
examples/mqtt · high confidence
Added Qdrant load testing example with Locust
A new example in the examples/qdrant directory demonstrates how to perform load testing on a Qdrant vector database using Locust. The included locustfile.py defines a user class that simulates upserting, searching, scrolling, and deleting vector points, while the README provides instructions for running the tests against a local Docker container.
examples/qdrant · high confidence
Added Vagrant example for Locust distributed testing
A new Vagrant example has been added to the examples/vagrant directory, providing a ready-to-use setup for running Locust in a distributed mode. The configuration includes a supervisord setup that manages a master process and two worker processes, allowing users to easily spin up a multi-node Locust environment for load testing.
examples/vagrant · high confidence
Added View Column Selector component for toggling table columns
Introduced the ViewColumnSelector component, which provides a UI control allowing users to toggle the visibility of specific table columns. The component renders a button that opens a popover containing switches for each column defined in the table structure; clicking a switch adds or removes the corresponding column from the view via provided callback functions. Unit tests were added to verify the rendering of switches and the correct invocation of add/remove column handlers.
locust/webui/src/components/ViewColumnSelector · high confidence
Added user-friendly error boundary with fallback UI
The Locust web UI now includes a dedicated FallbackRender component that displays a 'Something went wrong' message along with the specific error details when an unexpected runtime error occurs. This component is integrated via a React Error Boundary, ensuring that crashes do not leave the user with a blank screen, and provides a direct link to the project's GitHub issues page for reporting bugs.
locust/webui/src/components/FallbackRender · high confidence
Comprehensive update of example locustfiles to reflect current API
The examples directory has been refreshed with new and updated locustfiles that demonstrate current Locust capabilities and best practices. Key additions include examples for custom command-line arguments with web UI integration, manual statistics reporting, Markov task sets, OpenAI and DNS user types, and response validation. Existing examples have been updated to use the latest event hooks, wait time APIs, and user class structures, ensuring they serve as accurate, working references for users.
examples · high confidence
Introduces modern UI type definitions and fade-in animation component
This change adds a new set of TypeScript type definitions in \locust/webui/src/types\ to support the modern UI architecture, including interfaces for swarm state (\ISwarmState\), authentication arguments (\IAuthArgs\), custom form inputs (\ICustomInput\), and report templates (\IReportTemplateArgs\). It also introduces a \FadeInBox\ component that uses an IntersectionObserver to apply a fade-in animation when elements scroll into view, enhancing the visual experience of the new interface.
locust/webui/src/types · high confidence
Introduction of reusable Modal component
A new reusable Modal component has been added to the web UI, wrapping Material UI's Modal to provide a standardized dialog experience. It features a centered layout with a maximum height of 90vh and scrollable content, along with a close button in the top-right corner, allowing forms and other content to be displayed in a consistent overlay.
locust/webui/src/components/Modal · high confidence
New About dialog and static footer in the Web UI
The Web UI now includes a footer component that displays an 'About' button. Clicking this button opens a modal showing the application version (sourced from the Redux store), licensing information (MIT), maintainer credits, contributor acknowledgments, Microsoft support, and links to GitHub, documentation, and the blog. The footer is statically positioned at the bottom of the layout, ensuring it remains visible regardless of page content height.
locust/webui/src/components/Layout/Footer · high confidence
New Exceptions and Swarm Ratios tabs in the web UI
The web interface now includes two new tabs: an Exceptions tab that displays exception data via the ExceptionsTable component, and a Swarm Ratios tab that shows swarm ratio metrics via the SwarmRatios component. These components are initialized by their respective hooks (useFetchExceptions and useFetchTasks) to fetch the necessary data.
locust/webui/src/components/ExceptionsTab, locust/webui/src/components/SwarmRatiosTab · high confidence
New Log Viewer component with colored logs and worker notifications
The web UI now includes a new Log Viewer component that displays master and worker logs. Logs are color-coded by severity (CRITICAL, ERROR, WARNING, DEBUG) and rendered in monospace font. The viewer highlights workers that have important logs (WARNING, ERROR, or CRITICAL) with a notification icon, and uses browser local storage to track which logs have been viewed to manage these notifications.
locust/webui/src/components/LogViewer · high confidence
New React-based Web UI with authentication and modular dashboard
The Locust web interface has been replaced with a new React application located in \locust/webui/src\. This update introduces a modern UI that supports authentication, displaying a login form when \authArgs\ are provided and the main dashboard otherwise. The application is structured as a module, exporting a \LocustUi\ component that allows embedding the dashboard with custom tabs, tables, reports, and stats. Key features include a new dashboard view, an HTML report viewer, and a theme-aware layout with dark/light mode support.
locust/webui/src · high confidence
New Redux store configuration and typed hooks in web UI
The Locust web UI now includes a dedicated Redux setup in the \locust/webui/src/redux\ directory. This introduces a new store configuration (\store.ts\) that integrates the API middleware from \redux/api/swarm\ into the root reducer, enabling API-driven state management. Additionally, typed React hooks (\hooks.ts\) are provided for \useSelector\ and \useDispatch\ to ensure type safety with the \IRootState\, and a utility function (\utils.ts\) named \updateStateWithPayload\ is added to handle state updates using \shallowMerge\. These changes establish the foundational state management infrastructure for the web UI module.
locust/webui/src/redux · high confidence
New Reports component for downloading Locust statistics
The web UI now includes a dedicated Reports component that provides users with direct links to download various statistics in CSV format, including requests, failures, and exceptions. It also offers a report download link that respects the current theme (dark or light mode) and conditionally displays a full request statistics history CSV link when that feature is enabled. Additionally, the component supports rendering custom extended CSV download links defined in the swarm configuration.
locust/webui/src/components/Reports · high confidence
New Socket.IO example demonstrating combined HTTP and Socket.IO usage
Added a new example in the \examples/socketio\ directory that shows how to use Locust's \SocketIOUser\ combined with \HttpUser\ to simulate a client interacting with a Socket.IO server. The example includes a mock Socket.IO echo server (\echo\_server.py\) and a client script (\socketio\_ex.py\) that demonstrates connecting, joining/leaving rooms, sending messages, and making standard HTTP requests within the same user class.
examples/socketio · high confidence
New Swarm Charts component for the modern web UI
The SwarmCharts component has been added to the modern web UI to display performance metrics, including Total Requests per Second (with a breakdown for failures), Response Times (rendered as percentile lines), and the Number of Users. The component is theme-aware, supporting dark mode, and is wired into the application state via a Redux container.
locust/webui/src/components/SwarmCharts · high confidence
New Workers table component with default sorting and formatted memory usage
A new WorkersTable component has been added to the web UI, displaying worker status including ID, state, user count, CPU usage, and memory usage. The table is configured to sort by worker ID by default and formats memory usage values in human-readable bytes.
locust/webui/src/components/WorkersTable · high confidence
New authentication examples for the Locust web UI
Added two new example scripts in the \examples/web\_ui\_auth\ directory to demonstrate how to implement authentication for the Locust web UI when the \--web-login\ flag is used. The \basic.py\ example shows a standard login form with a GitHub OAuth provider option, while \custom\_form.py\ demonstrates how to define a custom login form with specific input types (such as email and password fields), required fields, and additional user attributes like admin status and user group.
_examples/web\_ui\auth · high confidence
New custom load test shape examples
Added five new example scripts in the examples/custom\_shape directory demonstrating how to implement the LoadTestShape interface for various load patterns: double\_wave.py for simulating peak traffic times, stages.py for defining user counts and spawn rates across time intervals, step\_load.py for gradual user increases, staging\_user\_classes.py for switching between different user classes during stages, and wait\_user\_count.py for ensuring target user counts are reached before proceeding to the next stage.
_examples/custom\shape · high confidence
New experimental contrib modules for CSV logging, DNS, FastHTTP, Milvus, MongoDB, MQTT, OpenAI, Postgres, Qdrant, and SocketIO
This release introduces a new \locust.contrib\ package containing experimental, per-request load-testing clients and utilities. Users can now instrument non-HTTP workloads and gain granular request-level data by importing these modules: \CsvRequestLogger\ writes individual request metrics to a CSV file; \DNSUser\ and \SocketIOUser\ enable load testing for DNS queries and WebSocket/SocketIO connections; \FastHttpUser\ provides a high-performance HTTP client based on \geventhttpclient\; and specialized users (\MilvusUser\, \MongoDBUser\, \MqttUser\, \OpenAIUser\, \PostgresUser\, \QdrantUser\) allow direct load testing of vector databases, NoSQL stores, message brokers, and AI APIs. These modules are experimental and may change without a major version bump.
locust/contrib · high confidence
New form input components and submission logic
The web UI now includes dedicated components for rendering various form fields: CustomInput handles conditional rendering of selects, checkboxes, password fields, and text inputs; NumericField restricts input to numeric characters and decimals; PasswordField provides a toggleable visibility control; and Select supports single or multiple selection with native dropdowns. The Form component aggregates these inputs, automatically extracting values (including handling numeric conversion, checkbox states, and multi-select arrays) and passing them to the onSubmit handler, enabling more robust and type-safe form data collection in the UI.
locust/webui/src/components/Form · high confidence
New responsive Navbar with dark mode toggle and swarm monitoring
The Locust web UI now features a completely redesigned Navbar component that is responsive across devices. On smaller screens, navigation items collapse into a right-aligned drawer triggered by a menu icon, while desktop views display them inline. The navbar includes a new Dark/Light mode toggle that respects browser preferences and persists user choice via local storage. It also introduces a SwarmMonitor widget that displays real-time test metrics (Host, Status, Users, Workers, RPS, and Failures) directly in the header, updating dynamically based on the swarm state (e.g., hiding Users/Workers when not running or distributed).
locust/webui/src/components/Layout/Navbar · high confidence
New sortable Table component with formatting support
The web UI now includes a new Table component that automatically sorts data by clicking column headers and supports numeric rounding and custom formatters for cell content.
locust/webui/src/components/Table · high confidence
New theme-aware line chart component with zoom and scatter support
The Locust web UI now uses a new LineChart component that supports dark and light themes, allowing chart colors to adapt to the user's mode. This component adds interactive data zooming via a slider, supports scatter plot visualization, and allows splitting the Y-axis for dual metrics. It also improves tooltip readability by formatting timestamps and adding padding to run markers.
locust/webui/src/components/LineChart · high confidence
New utility functions for data formatting and URL handling
Added a suite of utility functions in the web UI to improve data presentation and URL management. Users will benefit from locale-aware date formatting, human-readable byte size display, and robust query string parsing and manipulation. The update also introduces helpers for converting between snake\_case and camelCase keys, flattening arrays, and safely merging objects, ensuring more consistent data handling across the interface.
locust/webui/src/utils · high confidence
New utility modules for caching, time formatting, and file loading
The locust/util package now includes several new modules to support core functionality. cache.py provides a memoization decorator with optional dynamic timeout adjustment. date.py adds functions for formatting UTC and safe timestamps, as well as human-readable duration strings. deprecation.py introduces a metaclass to raise ImportError when users attempt to import legacy Locust classes (renamed in v1.0) and emits DeprecationWarnings for the old task\_set attribute. directory.py offers a utility to retrieve absolute paths of files within a directory. exception\_handler.py provides a retry decorator with configurable delays. load\_locustfile.py contains the logic to import locustfiles, including support for pytest-style test functions via PytestUser. rounding.py implements a proper\_round function to handle floating-point rounding issues. timespan.py adds a parser for human-readable time strings (e.g., '1h30m'). url.py provides a helper to validate URLs. These utilities collectively enhance the robustness of file loading, time handling, and backward compatibility warnings.
locust/util · high confidence
User-editable column visibility in the Stats Table
The Stats Table component now allows users to customize which columns are displayed. By integrating a ViewColumnSelector and a useSelectViewColumns hook, users can toggle the visibility of specific data points (such as response time percentiles, request counts, or failure rates) directly within the table view, with changes applied to the rendered table structure.
locust/webui/src/components/StatsTable · high confidence
Removals
Removal of legacy Uki.js-based web interface
The legacy public-facing UI, which relied on the Uki.js framework and jQuery to render a table of request statistics and a 'Start swarming' button, has been removed. The \index.html\ entry point and the \locust.js\ client-side logic are deleted, meaning the application no longer serves this specific web interface.
public · high confidence
Architecture
Restructure core user logic into a dedicated locust.user package
The core user implementation has been reorganized from a monolithic structure into a dedicated \locust.user\ package, splitting the previous \core.py\ into distinct modules: \task.py\ (containing \TaskSet\, \User\, and decorators like \@task\ and \@tag\), \users.py\ (containing \HttpUser\ and \User\ base classes), \wait\_time.py\ (wait time strategies), \sequential\_taskset.py\, and \markov\taskset.py\. This refactoring improves code maintainability and modularity while preserving the existing public API, as the new package is exposed via \locust.user.\\init\\_.py\.
locust/user · high confidence
Behavioural changes
Centralize UI configuration and state constants
The Web UI now consolidates key configuration and state definitions into dedicated constant modules. This includes defining swarm lifecycle states (e.g., ready, running, stopped), establishing a theme system that respects browser preferences and local storage, and exposing authentication arguments and log viewer keys. These changes provide a single source of truth for core UI behaviors and data structures, ensuring consistent handling of swarm states, theming, and authentication across the application.
locust/webui/src/constants · high confidence
Introduces centralized theme configuration with default styling
The Web UI now uses a centralized theme file to define the primary and success color palette and apply global CSS overrides. This includes setting a fixed footer height, removing default paragraph margins, and adding padding to unordered lists, ensuring consistent visual styling across the application.
locust/webui/src/styles · high confidence
Locust 2.1.0: Web UI modernization, distributed mode fixes, and user class renaming
This release updates the Locust web interface to the modern UI by default and reverts the legacy UI, while fixing a bug where the response time graph failed in distributed mode. It also renames the 'locust' terminology to 'user' throughout the codebase and API, and improves distributed stability by ensuring slave nodes shut down when the master is stopped.
locust · high confidence
Locust Web UI is now a standalone module with Yarn Berry and modern tooling
The web UI has been moved into a dedicated \locust/webui\ directory and restructured as a standalone module. This change introduces Yarn Berry (v4.12.0) for dependency management, replacing the previous setup, and adds standard development tooling including a \.prettierrc\ configuration and a \.gitignore\ for build artifacts. The UI now includes a modern report view, supports custom authentication titles, and displays the active profile in the HTML report. Additionally, the UI now uses relative paths for static assets and stats links, and favicons have been added for both the authentication and report pages.
locust/webui · high confidence
Migrate build system to uv/hatch and update Docker base to Python 3.13
Locust has switched its Python build backend from Poetry to uv and hatch, requiring the uv binary for local development and package building. The Docker images now use Python 3.13-slim as the base image, and the build process has been streamlined to use uv for dependency resolution and wheel creation. Additionally, the pre-commit configuration now uses uv to run ruff and typos, and the Read the Docs build environment has been updated to use Python 3.12 with uv for dependency installation.
(repo-wide) · high confidence
Migrate web UI state management to Redux Toolkit slices
The web UI's state management has been refactored to use Redux Toolkit, introducing dedicated slices for the swarm configuration, UI metrics (including charts and statistics), log viewing, notifications, theme settings, and URL query parameters. This change consolidates state handling into a structured root reducer, replacing previous mechanisms with a standardized Redux architecture to improve maintainability and type safety for the modern UI.
locust/webui/src/redux/slice · high confidence
Modern UI now uses RTK Query for swarm data fetching
The modern UI's data layer for swarm operations has been replaced with Redux Toolkit Query (RTK Query). This change introduces a centralized API definition in \locust/webui/src/redux/api/swarm.ts\ that handles fetching stats, tasks, exceptions, logs, and worker counts, as well as mutations for starting/stopping swarms, resetting stats, and updating user settings. It also supports an optional base URL configuration via \window.baseUrl\ and automatically transforms API responses from snake\_case to camelCase, providing a consistent and type-safe data access layer for the UI components.
locust/webui/src/redux/api · high confidence
New React hooks for UI state, data fetching, and table interactions
The Locust web UI now uses a set of dedicated React hooks in \locust/webui/src/hooks\ to manage client-side logic. \useFetchStats\, \useFetchExceptions\, \useFetchTasks\, and \useFetchWorkerCount\ handle real-time polling of swarm data (stats, exceptions, tasks, worker counts) and update the Redux store. \useSortByField\ and \useSelectViewColumns\ provide table sorting and column visibility toggle capabilities. \useForm\ adds input validation, \useNotifications\ manages UI alerts, \useInterval\ handles timed polling, and \useCreateTheme\ manages dark/light mode theming.
locust/webui/src/hooks · high confidence
New React-based Web UI for Locust
The Locust web interface has been rewritten in React (MUI) to replace the previous implementation. This change introduces a new authentication page supporting both standard username/password forms and custom provider integrations, a dashboard that dynamically displays the Swarm form or tabs based on swarm readiness, and an HTML report viewer that presents test statistics, response times, failures, and charts with locale-aware timestamps and profile information.
locust/webui/src/pages · high confidence
New ZeroMQ-based RPC subsystem with msgpack serialization
The distributed communication layer has been replaced with a new implementation in the \locust/rpc\ module, using ZeroMQ for transport and msgpack for data serialization. This change introduces a formal \Message\ protocol that supports serializing complex types like Python \datetime\ and MongoDB \ObjectId\, and includes robust error handling with automatic retries for send operations. It also adds TCP keep-alive settings to maintain master-slave connections during idle periods, IPv6 support where available, and the ability for the server to bind to a random port to avoid conflicts.
locust/rpc · high confidence
New tabbed navigation with conditional visibility and notification indicators
The Locust web UI now uses a new tabbed interface (Stats, Charts, Failures, Exceptions, Ratios, Reports, Logs, Workers) that renders specific components per tab and syncs the active tab to the URL query string. The Workers tab is conditionally shown only when the swarm is distributed, and tabs can display a notification badge (e.g., for worker alerts) that clears when the tab is selected. Extended tabs can be added via Redux state or props, and the UI respects the current tab from the URL on load.
locust/webui/src/components/Tabs · high confidence
Pytest plugin moved to dedicated directory and duplicate --host argument handled
The pytest plugin has been relocated to the pytest\_locust directory to prevent accidental imports of the main locust package. Additionally, the plugin now gracefully handles cases where the --host command-line argument is defined by another plugin, ignoring duplicate definition errors instead of failing.
_pytest\locust · high confidence
Redesigned Swarm Form with enhanced validation and user class management
The SwarmForm component has been significantly refactored to improve usability and data integrity. It now includes robust host field validation with specific error messages for missing or invalid hosts, and prevents submission of distributed tests until at least one worker is connected. The form introduces a new SwarmUserClassPicker that allows users to select multiple user classes via checkboxes (including a 'select all' option) and edit individual user settings through a modal. Custom parameters are now displayed in an expandable accordion section, and the UI provides visual feedback for loading states and form alerts. Additionally, the form supports numeric fields, boolean inputs, and optional base URLs for requests.
locust/webui/src/components/SwarmForm · high confidence
Refactored StateButtons component to use React Query mutations
The StateButtons component in the web UI has been rewritten to use RTK Query mutations (useStopSwarmMutation, useResetStatsMutation) instead of previous request handling methods. This change introduces specific UI behaviors: the Stop button now shows a 'Loading' state and disables itself during the API call to prevent duplicate requests, and the Reset button is now consistently visible to allow users to clear statistics even when a test is stopped. The component also manages the visibility of New, Edit, and Stop buttons based on the swarm state (READY, STOPPED, or running).
locust/webui/src/components/StateButtons · high confidence
Updated application branding assets
The web interface now uses a new SVG-based Logo component and includes a Microsoft logo asset. This change updates the visual branding displayed in the application header and provides the necessary assets for Microsoft-related integrations or references within the UI.
locust/webui/src/assets · high confidence
Test coverage
Added mock data for Web UI tests; Added test infrastructure and utilities for the web UI; Added tests for LogViewer component and useLogViewer hook; Added tests for the LineChart component and its utility functions; Added unit tests for Auth, Dashboard, and HTML Report pages; Added unit tests for StateButtons components; Added unit tests for Web UI hooks; Added unit tests for Web UI utility functions; Added unit tests for the UI Redux slice; Expanded test infrastructure and coverage for core Locust components.
Dependencies
Locust now requires Python 3.11+ and uses a modern web UI with Vite and React 19
The project has dropped support for Python versions prior to 3.11, as reflected in the new pyproject.toml configuration which also switches the build system to Hatch. The web interface has been completely rebuilt as a standalone module using Vite, React 19, and Material UI, with its dependencies and build scripts defined in the new locust/webui/package.json. Additionally, a requirements.txt file has been added to the Azure examples to support gRPC and PostgreSQL integrations.
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 59 → 59 (+0.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 74 → 75 (+0.0)
- Architecture 91 → 90 (-0.7)
- Maturity 62 → 61 (-1.2)
- Readiness 58 → 58 (+0.0)
- Security 56 → 58 (+1.9)
- Accessibility 57 → 57 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (13)
- Disclosure policy routes reports to a public channel
- Documentation: no installation or build instructions (README.md)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- High CVE: [GHSA redacted] (uv.lock)
- High CVE: [GHSA redacted] (uv.lock)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- High CVE: [GHSA redacted] (uv.lock)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (uv.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Off-boarding risk: anonymized user #1
- Orphaned knowledge (locust/contrib/mqtt.py)
New (12)
- Disclosure policy routes reports to a public channel (SECURITY.md)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- High CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Medium CVE: [GHSA redacted] (locust/webui/yarn.lock)
- Off-boarding risk: anonymized user #1
- Scattered collaborators
Changes since last survey
- 39 commits — 20 feature/other, 19 fixes
By area
- (repo) — 17 commits
- locust/test — 8 commits
- locust/contrib — 6 commits
- (root) — 3 commits
- locust/stats.py — 2 commits
- locust/argument_parser.py — 1 commit
- locust/clients.py — 1 commit
- locust/event.py — 1 commit
Notable commits
- fix: Fix restoration of request names after nested contexts
- fix: Fix the MQTT 5 on_disconnect callback signature
- fix: Merge pull request #1 from piyusha2005-bit/fix-pytest-network-calls
- fix: Merge pull request #3575 from SulimanAbdulrazzaq/fix/csv-files-utf8-and-newline
- fix: Merge pull request #3580 from Tanishq-Choudhary/fix/postgres-user-autocommit
- fix: Merge pull request #3581 from Tanishq-Choudhary/fix/mqtt-v5-subscribe-failure
- fix: Merge pull request #3582 from Tanishq-Choudhary/fix/mqtt-v5-disconnect-callback
- fix: Merge pull request #3583 from charan-rathore/fix/restore-request-name
- fix: Merge pull request #3584 from taltal-beep/fix/rest-non-string-assert-message
- fix: Merge pull request #3588 from charan-rathore/fix/http-bytes-url-decode
- fix: Merge pull request #3589 from charan-rathore/fix-measure-task-control
- fix: Merge pull request #3590 from nk-batman21/fix/rest-task-control-exceptions
- fix: One more type fix
- fix: fix various typing issues caused by geventhttpclient update.
- fix: fix(http): decode byte URLs before building the request URL
- fix: fix: don't crash the stats history CSV writer on workers with --csv-full-history (#3568)
- fix: fix: handle a non-string assertion message in rest()
- fix: fix: keep response time percentiles between min and max
- fix: fix: write --csv files as UTF-8 with the csv module's own line endings
- change: Add a test for a non-ASCII locustfile downloaded from a URL
- …and 19 more
Architecture
- Unchanged — 0 containers · 1 contexts · 0 edges
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
locustio/locust was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 4 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 42c4ac9554e6c74cbe52e67fc8f0cf2557c2dfa8 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer measure-2026.11.2+preprod-f7b8aaa3a438.