Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/locustio/locust
/ functions
Functions
1,982 in github.com/locustio/locust
⨍
Functions
1,982
◇
Types & classes
577
↳
Endpoints
63
Method
on_spawning_complete
(user_count: int)
locust/runners.py:137
Method
on_start
(self)
locust/test/test_locust_class.py:171
Method
on_start
(self)
locust/test/test_locust_class.py:380
Method
on_start
(self)
locust/test/test_locust_class.py:384
Method
on_start
(self)
locust/test/test_locust_class.py:408
Method
on_start
(self)
locust/test/test_locust_class.py:470
Method
on_start
(self)
locust/test/test_runners.py:4247
Method
on_start
(self)
locust/test/test_interruptable_task.py:12
Method
on_start
(self)
examples/test_data_management.py:112
Method
on_start
(self)
examples/browse_docs_test.py:12
Method
on_start
(self)
examples/browse_docs_sequence_test.py:12
Method
on_start
(self)
examples/dynamic_user_credentials.py:13
Method
on_start
(self)
examples/semaphore_wait.py:17
Method
on_start
(self)
examples/locustfile.py:20
Method
on_start
(self)
examples/sdk_session_patching/session_patch_locustfile.py:8
Method
on_start
(self)
examples/qdrant/locustfile.py:18
Method
on_start
(self)
examples/socketio/socketio_ex.py:17
Method
on_start
(self)
examples/mqtt/locustfile_custom_mqtt_client.py:36
Method
on_start
(self)
examples/mqtt/locustfile.py:29
Method
on_start
Generate test vectors.
examples/milvus/locustfile.py:19
Method
on_stop
(self)
locust/contrib/qdrant.py:238
Method
on_stop
(self)
locust/contrib/milvus.py:407
Method
on_stop
(self)
locust/contrib/postgres.py:44
Method
on_stop
(self)
locust/contrib/mongodb.py:40
Method
on_stop
(self)
locust/test/test_locust_class.py:192
Method
on_stop
(self)
locust/test/test_locust_class.py:491
Method
on_stop
(self)
locust/test/test_runners.py:335
Method
on_stop
(self)
locust/test/test_runners.py:433
Method
on_stop
(self)
locust/test/test_interruptable_task.py:25
Method
on_stop
(self)
examples/test_data_management.py:142
Method
on_stop
(self)
examples/socketio/socketio_ex.py:52
Function
on_test_start
(environment, **_kwargs)
examples/custom_messages.py:37
Method
on_test_start
(*args, **kwargs)
locust/test/test_runners.py:233
Method
on_test_start
(*args, **kwargs)
locust/test/test_runners.py:2050
Method
on_test_start
(*a, **kw)
locust/test/test_runners.py:2782
Method
on_test_start
(*args, **kw)
locust/test/test_runners.py:3939
Method
on_test_stop
(*_, **__)
locust/test/test_runners.py:260
Method
on_test_stop
(*_, **__)
locust/test/test_runners.py:2821
Method
on_test_stop
(*args, **kw)
locust/test/test_runners.py:4026
Method
on_test_stop_fail
(*args, **kwargs)
locust/test/test_runners.py:4437
Method
on_test_stop_ok
(*args, **kwargs)
locust/test/test_runners.py:4434
Method
on_test_stopping
(*_, **__)
locust/test/test_runners.py:256
Method
on_test_stopping
(*_, **__)
locust/test/test_runners.py:2817
Method
on_user_error
(user_instance, exception, tb)
locust/runners.py:460
Method
on_user_error
(user_instance: User, exception: Exception, tb: TracebackType)
locust/runners.py:1269
Function
on_worker_report
(client_id: str, data: dict[str, Any])
locust/stats.py:831
Function
on_worker_report
This event is triggered on the master instance when a new stats report arrives from a worker. Here we just add the cache to the master's aggr
examples/web_ui_cache_stats.py:189
Function
on_worker_report
This event is triggered on the master instance when a new stats report arrives from a worker. Here we just add the content-length to the mast
examples/events.py:67
Method
on_worker_report
(client_id: str, data: dict[str, Any])
locust/runners.py:695
Method
options
Sends a OPTIONS request
locust/clients.py:270
Method
outside_task
()
locust/test/test_env.py:94
Method
outside_task_2
()
locust/test/test_env.py:97
Method
overwrite_user
(self)
locust/test/test_locust_class.py:432
Method
page404
(self)
examples/custom_wait_function.py:20
Method
page404
(self)
examples/basic.py:18
Method
parent
Parent TaskSet instance of this TaskSet (or :py:class:`User <locust.User>` if this is not a nested TaskSet)
locust/user/task.py:328
Method
parse
(self, stream)
locust/argument_parser.py:121
Function
parse_list_item
(item: tuple[str, int] | str)
locust/user/markov_taskset.py:106
Function
parse_options
(args=None)
locust/argument_parser.py:912
Method
patch
Sends a PATCH request
locust/clients.py:315
Method
poll
(self)
locust/input_events.py:67
Function
positive_integer
(string)
locust/argument_parser.py:421
Method
prepare_request
(self, request)
locust/clients.py:257
Function
print_error_report
(stats: RequestStats)
locust/stats.py:926
Function
print_percentile_stats
(stats: RequestStats)
locust/stats.py:895
Function
print_stats_json
(stats: RequestStats)
locust/stats.py:866
Method
put
Sends a PUT request
locust/clients.py:304
Function
pytest_addoption
(parser: pytest.Parser)
pytest_locust/plugin.py:51
Function
pytest_configure
(config)
pytest_locust/plugin.py:19
Method
query
(self, filter, output_fields=None)
locust/contrib/milvus.py:229
Method
query
(self, filter, output_fields=None)
locust/contrib/milvus.py:394
Method
query_data
Query data by ID.
examples/milvus/locustfile.py:73
Function
quit
(exit_code: int, **kwargs: Any)
examples/test_data_management.py:93
Function
quitting
(environment: Environment, **_kwargs: Any)
examples/test_data_management.py:58
Method
raise_for_status
(self)
locust/contrib/fasthttp.py:661
Function
register_request_listener
(environment, **kwargs)
examples/response_validations.py:40
Method
remove_listener
(self, handler)
locust/event.py:37
Method
remove_worker
(self, worker_node: WorkerNode)
locust/test/test_runners.py:900
Method
reported_user_classes_count
(self)
locust/runners.py:1191
Function
request
(exception, **kwargs)
examples/response_validations.py:42
Function
request_cache_csv
Add route to enable downloading of cache stats as CSV
examples/web_ui_cache_stats.py:136
Function
request_content_length_csv
Add route to enable downloading of content-length stats as CSV
examples/extend_web_ui.py:114
Method
request_end
(response)
locust/contrib/oai.py:26
Function
request_header_test
()
locust/test/testcases.py:56
Function
request_hook
(span: Span, request: requests.PreparedRequest)
locust/opentelemetry.py:235
Function
request_method
()
locust/test/testcases.py:51
Method
request_start
(request)
locust/contrib/oai.py:22
Method
request_stats
()
locust/web.py:450
Method
request_stats_csv
()
locust/web.py:411
Method
request_stats_full_history_csv
()
locust/web.py:419
Method
required_args_included_in_web_ui
(self)
locust/argument_parser.py:104
Method
reset_stats
()
locust/web.py:356
Method
reset_stats
(self)
locust/test/test_runners.py:121
Function
resize_handler
(signum: int, frame: FrameType | None)
locust/stats.py:84
Function
rest
()
locust/test/testcases.py:146
Method
rest_
Some REST api:s use a timestamp as part of their query string (mainly to break through caches). This is a convenience method for that
locust/contrib/fasthttp.py:501
Function
retry
(delays=(1, 3, 5), exception=Exception)
locust/util/exception_handler.py:7
Method
root_task
(self)
locust/test/test_stats.py:947
Method
root_task1
(self)
locust/test/test_taskratio.py:11
Method
run
(self)
locust/user/users.py:297
← previous
next →
1,001–1,100 of 1,982, ranked by callers