ErrLookup › locustio/locust
locustio/locust
Write scalable load tests in plain Python 🚗💨 · Python · 158 source files
Analyzed at f391a716e1 on 2026-08-29. 54 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Multiple fixtures found for parameter | exception | error | pytest, fixtures, load-locustfile |
| In order to use a with-block for requests, you must also… | exception | error | locust, http, catch-response, context-manager |
| Could not find a suitable TLS CA certificate bundle… | exception | error | tls, ssl, certificates, fasthttp |
| use start_worker | exception | error | locust, distributed, worker, api-misuse |
| Invalid time span format. Valid formats: 20, 20s, 3m, 2h… | validation | error | timespan, cli, validation |
| The 'tasks' attribute can only be set to list or dict | validation | error | locust, sequential-taskset, task-definition, type-error |
| ZMQ interrupted message | exception | error | zmq, msgpack, distributed, corruption |
| ZMQ network broken | exception | error | zmq, distributed, network, shutdown |
| ZMQ sent failure | exception | error | zmq, distributed, network, send |
| StatsEntry.use_response_times_cache must be set to True to… | exception | error | locust, stats, configuration, response-times |
| If you want to change the state of the request using… | exception | error | locust, http, catch-response, monkey-patch |
| Tried to set status on a request that has not yet been… | exception | error | locust, http, catch-response, lifecycle |
| Ground truth length is less than limit | validation | error | python, milvus, vector-search, valueerror |
| wait is True but the amount of users to add is greater than… | validation | error | valueerror, spawn-rate, user-count, runner |
| ZMQ interrupted or corrupted message | exception | error | zmq, distributed, corruption, utf-8 |
| No Markov tasks defined in class | validation | error | locust, markov-taskset, task-definition, configuration |
| The login_manager is only available with --web-login. | exception | error | web-ui, flask-login, attribute-error |
| Tags are unsupported for MarkovTaskSet since they can make… | validation | error | locust, markov-taskset, tags, unsupported-feature |
| The following user classes have the same class name | validation | error | users, naming, validation |
| Invalid timeout. | validation | error | python, mqtt, valueerror, configuration |
| Socket bind failure | exception | critical | zmq, port-in-use, bind, startup, distributed |
| Tried to register listener method for | exception | error | distributed, custom-message, registration, duplicate |
| If you want to change the state of the request, you must… | exception | error | locust, fasthttp, catch-response |
| You need to install pymongo or at least bson to be able to… | exception | error | distributed, dependency, bson, msgpack |
| 'collection_name' must be provided for QdrantUser | validation | error | qdrant, configuration, missing-attribute |
| Transition to from is invalid since no such element exists… | validation | error | locust, markov-taskset, transition, typo |
| Cannot iterate content on a response without _response… | exception | error | locust, fasthttp, streaming, response |
| . cannot be used as a target for a transition since it does… | validation | error | locust, markov-taskset, transition, chain-validity |
| LocustBadStatusCode | error_code | error | python, fasthttp, http, status-code |
| You must specify the base host. Either in the host… | exception | critical | locust, fasthttp, configuration, missing-host |
| TaskSet.run() is a method used internally by Locust, and… | exception | error | locust, markov-taskset, reserved-method, naming |
| Invalid time span format | validation | error | timespan, cli, validation |
| Usage of User.task_set is deprecated since version 1.0. Set… | console | warning | python, locust, deprecation, migration |
| 'uri' must be provided for MilvusUser | validation | error | python, milvus, configuration, valueerror |
| Can't calculate percentile on url with no successful… | exception | error | locust, stats, empty-data, percentiles |
| Could not find the TLS certificate file, invalid path | exception | error | tls, ssl, client-certificate, mtls |
| No tasks defined on Use the @task decorator or set the… | exception | error | python, locust, user, configuration |
| Terminal was not a tty. Keyboard input disabled | exception | warning | terminal, tty, input |
| Terminal says its a tty but we couldn't enable line input… | exception | warning | windows, terminal, console, input |
| deprecation_message (e.g. The Locust class has been renamed… | exception | error | python, locust, deprecation, migration, import |
| You need to set OPENAI_API_KEY env var to use OpenAIUser | exception | critical | python, openai, environment-variable, configuration |
| There are no users with weight > 0. | validation | error | configuration, users, weights |
| Could not find fixture for parameter | exception | error | python, locust, pytest, fixtures |
| 'collection_name' must be provided for MilvusUser | validation | error | python, milvus, configuration, valueerror |
| No tasks defined. Use the @task decorator or set the… | exception | error | locust, sequential-taskset, task-definition, no-tasks |
| Could not find the TLS key file, invalid path | exception | error | tls, ssl, client-certificate, mtls |
| Environment.runner already exists | exception | error | environment, runner, lifecycle |
| Tried to stop User in an unexpected state | exception | error | python, locust, state-machine, internal |
| No tasks defined on use the @task decorator or set the… | exception | error | python, locust, taskset, configuration |
| Unrecognized task type in user | validation | error | tasks, users, validation |
| User.run() is a method used internally by Locust, and you… | exception | error | python, locust, task-decorator, api-misuse |
| You must define a wait_time method on either the | exception | error | python, locust, wait-time, configuration |
| shape_class should be instance of LoadTestShape or subclass… | validation | error | load-shape, configuration, type-validation |
| No tag name was supplied | validation | error | python, locust, decorator, validation |