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
__init__
(self, parent: User)
locust/user/task.py:301
Method
__init__
(self, *args, **kwargs)
locust/user/markov_taskset.py:307
Method
__init__
(self, *args, **kwargs)
locust/user/users.py:271
Method
__init__
(self, *args, **kwargs)
locust/test/test_runners.py:57
Method
__init__
(self, *args, **kwargs)
locust/test/test_runners.py:130
Method
__init__
(self, *args, **kwargs)
locust/test/test_runners.py:147
Method
__init__
(self, worker_nodes: list[WorkerNode], user_classes: list[type[User]])
locust/test/test_runners.py:894
Method
__init__
(self)
locust/test/test_runners.py:1680
Method
__init__
(self)
locust/test/test_runners.py:2975
Method
__init__
(self, *a, **kw)
locust/test/test_runners.py:3141
Method
__init__
(self)
locust/test/test_web.py:1201
Method
__init__
(self, fixed_counts: tuple[int], weights: tuple[int], target_user_count: int)
locust/test/test_dispatch.py:3434
Method
__init__
( self, command: str, *, extra_env: dict[str, str] = {}, expect_return
locust/test/subprocess_utils.py:21
Method
__init__
(self, sock_type, ipv4_only)
locust/rpc/zmqrpc.py:15
Method
__init__
(self, host, port, identity)
locust/rpc/zmqrpc.py:91
Method
__init__
(self, s)
locust/rpc/protocol.py:12
Method
__init__
(self, message_type, data, node_id)
locust/rpc/protocol.py:33
Method
__init__
(self, current_doc_name: str = "")
docs/_ext/llms_txt.py:70
Method
__init__
(self, environment)
examples/x-forwarded-for.py:9
Method
__init__
(self, *args, **kwargs)
examples/multiple_hosts.py:10
Method
__init__
(self, parent)
examples/custom_messages.py:68
Method
__init__
Constructor. Args: channel: A grpc.Channel.
examples/grpc/hello_pb2_grpc.py:11
Method
__init__
(self, environment, *args, **kwargs)
examples/grpc/grpc_user.py:17
Method
__init__
(self, host, request_event)
examples/custom_xmlrpc_client/xmlrpc_locustfile.py:14
Method
__init__
(self, username)
examples/web_ui_auth/custom_form.py:28
Method
__init__
(self, username)
examples/web_ui_auth/basic.py:25
Method
__init__
(self, *args, **kwargs)
examples/custom_shape/wait_user_count.py:48
Method
__init__
(self, environment)
examples/qdrant/locustfile.py:28
Method
__init__
(self, environment)
examples/milvus/locustfile.py:24
Method
__iter__
(self)
locust/runners.py:645
Method
__len__
(self)
locust/runners.py:642
Method
__missing__
(self, key)
locust/stats.py:201
Method
__new__
(mcs, classname, bases, class_dict)
locust/shape.py:19
Method
__new__
(mcs, classname, bases, class_dict)
locust/user/sequential_taskset.py:17
Method
__new__
(mcs, classname, bases, class_dict)
locust/user/task.py:235
Method
__new__
(mcs, classname, bases, class_dict)
locust/user/markov_taskset.py:281
Method
__new__
(mcs, classname, bases, class_dict)
locust/user/users.py:46
Method
__new__
(mcs, classname, bases, class_dict)
locust/util/deprecation.py:22
Method
__next__
(self)
locust/dispatch.py:132
Method
__repr__
(self)
locust/contrib/fasthttp.py:666
Method
__repr__
(self)
locust/rpc/protocol.py:38
Method
__setitem__
(self, k: str, v: WorkerNode)
locust/runners.py:633
Method
__str__
(self)
locust/stats.py:597
Method
__str__
(self)
locust/test/test_dispatch.py:3439
Method
_consume_output
(source: IO[str], to: list[str])
locust/test/subprocess_utils.py:72
Method
_content
(self)
locust/contrib/fasthttp.py:628
Method
_download_csv_response
Generate csv file download response with 'csv_data'. Arguments: csv_data: CSV header and data rows. filename_pref
locust/web.py:394
Method
_download_csv_suggest_file_name
Generate csv file download attachment filename suggestion. Arguments: suggest_filename_prefix: Prefix of the filename to sugg
locust/web.py:381
Method
_generate_event_name
(self, event_type: str, qos: int, topic: str)
examples/mqtt/locustfile_custom_mqtt_client.py:11
Method
_getattr
(obj: StatsError, key: str, default: Any)
locust/stats.py:774
Method
_loop
Override the parent's _loop method to optionally use selectors. When use_loop_selectors is True, this uses a selector-based implementation th
locust/contrib/mqtt.py:332
Function
_missing_catch_response_True
(self, *_args, **_kwargs)
locust/clients.py:543
Method
_on_connect_cb_v3x
( self, client: mqtt.Client, userdata: typing.Any, flags: dict[str, int],
locust/contrib/mqtt.py:312
Method
_on_connect_cb_v5
( self, client: mqtt.Client, userdata: typing.Any, connect_flags: mqtt.Connect
locust/contrib/mqtt.py:322
Method
_on_disconnect_cb_v3x
( self, client: mqtt.Client, userdata: typing.Any, rc: int, )
locust/contrib/mqtt.py:263
Method
_on_disconnect_cb_v5
( self, client: mqtt.Client, userdata: typing.Any, disconnect_flags: mqtt.Disc
locust/contrib/mqtt.py:272
Method
_on_publish_cb
( self, client: mqtt.Client, userdata: typing.Any, mid: int, )
locust/contrib/mqtt.py:132
Method
_on_quitting
Flush and close when Locust shuts down.
locust/contrib/csv_request_logger.py:185
Method
_on_request
Event handler — called by Locust for every completed request.
locust/contrib/csv_request_logger.py:147
Method
_on_subscribe_cb_v5
( self, client: mqtt.Client, userdata: typing.Any, mid: int, reason_co
locust/contrib/mqtt.py:223
Method
_stop_runners
(self)
locust/web.py:780
Method
_stop_user
()
locust/test/test_debugging.py:29
Method
_urlopen
Override _urlopen() in order to make it use the response_type attribute
locust/contrib/fasthttp.py:685
Method
_verify_status
Hook for subclassing
locust/contrib/fasthttp.py:693
Function
_walk_toctree
Recursively walk toctree includes and return ordered docnames, excluding specified ones.
docs/_ext/llms_txt.py:98
Method
a_task
(self)
locust/test/test_locust_class.py:348
Method
a_task
(self)
locust/test/test_locust_class.py:368
Method
a_task
(self)
locust/test/test_runners.py:4299
Function
add_HelloServiceServicer_to_server
(servicer, server)
examples/grpc/hello_pb2_grpc.py:34
Method
add_listener
(self, handler)
locust/event.py:97
Method
add_worker
(self, worker_node: WorkerNode)
locust/test/test_runners.py:897
Method
add_worker
()
locust/test/test_runners.py:1024
Method
all
(self)
locust/runners.py:614
Method
args_included_in_web_ui
(self)
locust/argument_parser.py:92
Function
ask_for_locustfile
()
locust/argument_parser.py:268
Method
assert_cache_hits
()
locust/test/test_runners.py:3306
Method
assert_importing_locust_class_raises
(func)
locust/test/test_locust_class.py:597
Function
assign_equal_weights
(environment, **kwargs)
locust/main.py:479
Method
auth_required_if_enabled
Decorator that can be used on custom route methods that will turn on Flask Login authentication if the ``--web-login`` flag is used.
locust/web.py:640
Function
authenticate
()
examples/response_validations.py:62
Function
authenticate
()
examples/testdata_from_csv.py:44
Method
authenticate
(self)
examples/csrf_form_authentication.py:11
Method
avg_content_length
(self)
locust/stats.py:492
Method
avg_response_time
(self)
locust/stats.py:428
Function
baseQuery
(args: any, api: any, extraOptions: any)
locust/webui/src/redux/api/swarm.ts:14
Function
basic_auth
()
locust/test/testcases.py:94
Method
body
(self)
locust/contrib/fasthttp.py:517
Method
build_connection_pool_key_attributes
(self, request, verify, cert=None)
locust/clients.py:533
Function
camelToSnakeCase
(string: string)
locust/webui/src/utils/string.ts:34
Method
cert_verify
(self, conn, url, verify, cert)
locust/clients.py:499
Function
check_for_deprecated_task_set_attribute
(class_dict)
locust/util/deprecation.py:7
Method
check_master_worker_missing_count
()
locust/test/test_runners.py:1068
Method
check_rebalanced_equals
()
locust/test/test_runners.py:1056
Method
check_rebalanced_true
()
locust/test/test_runners.py:1045
Method
check_remaing_worker_new_user_count
()
locust/test/test_runners.py:1075
Function
checker
(value)
locust/argument_parser.py:436
Function
checker
(environment)
examples/stop_on_threshold.py:23
Function
checkout_confirm
()
examples/response_validations.py:67
Function
checkout_confirm
()
examples/testdata_from_csv.py:49
Method
cleanup
(self)
locust/input_events.py:64
← previous
next →
601–700 of 1,982, ranked by callers