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