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
test_custom_message
(self)
locust/test/test_runners.py:602
Method
test_custom_message_receive
(self)
locust/test/test_runners.py:3257
Method
test_custom_message_receive
(self)
locust/test/test_runners.py:3875
Method
test_custom_message_send
(self)
locust/test/test_runners.py:3236
Method
test_custom_message_send
(self)
locust/test/test_runners.py:3858
Method
test_custom_percentile_list
(self)
locust/test/test_stats.py:327
Method
test_custom_protocol_request_type
Non-HTTP request types (WebSocket, gRPC, etc.) are recorded as-is.
locust/test/test_csv_request_logger.py:165
Method
test_custom_shape_scale_down
(self)
locust/test/test_runners.py:3068
Method
test_custom_shape_scale_interval
(self)
locust/test/test_runners.py:2968
Method
test_custom_shape_scale_up
(self)
locust/test/test_runners.py:3023
Method
test_custom_ssl_context_fail_with_bad_context
Test FastHttpSession with a custom SSLContext factory that will fail as we can not set verify_mode to CERT_NONE when check_hostname i
locust/test/test_fasthttp.py:282
Method
test_custom_ssl_context_passed_correct_to_client_pool
Test FastHttpSession with a custom SSLContext factory with a options.name that will be passed correctly to the ClientPool. It will al
locust/test/test_fasthttp.py:304
Method
test_default
(self)
locust/test/test_parser.py:23
Method
test_default_bucketing
(self)
locust/test/test_stats.py:980
Method
test_default_headless_spawn_options
(self)
locust/test/test_main.py:330
Method
test_default_headless_spawn_options_with_shape
(self)
locust/test/test_main.py:387
Method
test_default_wait_time
(self)
locust/test/test_wait_time.py:45
Method
test_delete
(self)
locust/test/test_http.py:100
Method
test_delete
(self)
locust/test/test_fasthttp.py:180
Method
test_deprecated_locust_class
(self)
locust/test/test_locust_class.py:578
Method
test_diff_response_times_dicts
(self)
locust/test/test_stats.py:778
Method
test_dispatch_75_users_to_4_workers_with_spawn_rate_of_5
Test case covering reported issue in https://github.com/locustio/locust/pull/1621#issuecomment-853624275. The case is to ramp-up fro
locust/test/test_dispatch.py:1888
Method
test_dispatch_users_to_3_workers
Final distribution should be {"User1": 3, "User2": 3, "User3": 3}
locust/test/test_dispatch.py:1838
Method
test_dispatcher_class_attribute
(self)
locust/test/test_env.py:205
Method
test_distribute_users
(self)
locust/test/test_dispatch.py:2127
Method
test_distributed
(self)
locust/test/test_main.py:1342
Method
test_distributed_events
(self)
locust/test/test_main.py:1279
Method
test_distributed_integration_run
Full integration test that starts both a MasterRunner and three WorkerRunner instances and makes sure that their stats is sent to the
locust/test/test_runners.py:929
Method
test_distributed_rebalanced_integration_run
Full integration test that starts both a MasterRunner and three WorkerRunner instances and makes sure that their stats is sent to the
locust/test/test_runners.py:992
Method
test_distributed_report_timeout_expired
(self)
locust/test/test_main.py:1365
Method
test_distributed_run_with_custom_args
Full integration test that starts both a MasterRunner and three WorkerRunner instances and makes sure that their stats is sent to the
locust/test/test_runners.py:1096
Method
test_distributed_shape
Full integration test that starts both a MasterRunner and three WorkerRunner instances and tests a basic LoadTestShape with scaling u
locust/test/test_runners.py:1233
Method
test_distributed_shape_fuzzy_test
Incredibility useful test to find issues with dispatch logic. This test allowed to find multiple small corner cases with the new disp
locust/test/test_runners.py:1620
Method
test_distributed_shape_statuses_transition
Full integration test that starts both a MasterRunner and five WorkerRunner instances The goal of this test is to validate the status
locust/test/test_runners.py:1838
Method
test_distributed_shape_stop_and_restart
Test stopping and then restarting a LoadTestShape
locust/test/test_runners.py:1759
Method
test_distributed_shape_with_fixed_users
Full integration test that starts both a MasterRunner and three WorkerRunner instances and tests a basic LoadTestShape with scaling u
locust/test/test_runners.py:1313
Method
test_distributed_shape_with_stop_timeout
Full integration test that starts both a MasterRunner and five WorkerRunner instances and tests a basic LoadTestShape with scaling up
locust/test/test_runners.py:1415
Method
test_distributed_stop_with_stopping_state
Test stopping state when workers have stopped and now ready for a next test
locust/test/test_runners.py:1810
Method
test_distributed_tags
(self)
locust/test/test_main.py:1314
Method
test_distributed_update_user_class
(self)
locust/test/test_env.py:245
Method
test_distributed_with_locustfile_distribution_not_plain_filename
(self)
locust/test/test_main.py:1443
Method
test_duplicate_message_handler_registration
(self)
locust/test/test_runners.py:675
Method
test_env_exclude_tags
(self)
locust/test/test_tags.py:417
Method
test_env_include_tags
(self)
locust/test/test_tags.py:392
Method
test_error_first_seen_and_last_seen
(self)
locust/test/test_stats.py:362
Method
test_error_grouping
(self)
locust/test/test_stats.py:337
Method
test_error_grouping_errors_with_memory_addresses
(self)
locust/test/test_stats.py:352
Method
test_error_master_merge_extends_first_and_last_seen
(self)
locust/test/test_stats.py:380
Method
test_error_message
(self)
locust/test/test_http.py:116
Method
test_error_message
(self)
locust/test/test_fasthttp.py:41
Method
test_error_message_with_name_replacement
(self)
locust/test/test_http.py:153
Method
test_error_message_with_name_replacement
(self)
locust/test/test_fasthttp.py:264
Method
test_error_when_duplicate_shape_class_names
(self)
locust/test/test_main.py:908
Method
test_error_when_duplicate_userclass_names
(self)
locust/test/test_main.py:880
Method
test_error_when_no_tasks_match_tags
(self)
locust/test/test_main.py:1001
Method
test_error_when_providing_both_run_time_and_a_shape_class
(self)
locust/test/test_main.py:938
Method
test_event_measure
(self)
locust/test/test_http.py:278
Method
test_everything
(self)
locust/test/test_socketio.py:12
Method
test_exception_in_init_event
(self)
locust/test/test_main.py:1053
Method
test_exception_in_task
(self)
locust/test/test_runners.py:3117
Method
test_exception_is_caught
Test that exceptions are stored, and execution continues
locust/test/test_runners.py:3137
Method
test_exception_without_response_returns_zero
(self)
locust/test/test_csv_request_logger.py:39
Method
test_exceptions
(self)
locust/test/test_web.py:227
Method
test_exceptions_csv
(self)
locust/test/test_web.py:242
Method
test_exclude_tags_under_user
(self)
locust/test/test_tags.py:372
Method
test_excluding_tags
(self)
locust/test/test_tags.py:101
Method
test_excluding_tags_with_weights
(self)
locust/test/test_tags.py:269
Method
test_excluding_tasksets
(self)
locust/test/test_tags.py:178
Method
test_expect_workers
(self)
locust/test/test_main.py:1267
Method
test_fail_ratio_with_all_failures
(self)
locust/test/test_stats.py:847
Method
test_fail_ratio_with_half_failures
(self)
locust/test/test_stats.py:862
Method
test_fail_ratio_with_no_failures
(self)
locust/test/test_stats.py:832
Method
test_failed_request_records_exception_string
(self)
locust/test/test_csv_request_logger.py:96
Function
test_failure
(session: HttpSession)
locust/test/test_pytest_locustfile.py:24
Method
test_failure_stats_csv
(self)
locust/test/test_web.py:185
Method
test_fast_http_locust
()
locust/test/test_locust_class.py:591
Function
test_fasthttp
(fastsession: FastHttpSession)
locust/test/test_pytest_locustfile.py:19
Function
test_fasthttp_catch_response
(fastsession: FastHttpSession)
locust/test/test_pytest_locustfile.py:40
Function
test_fasthttp_failure
(fastsession: FastHttpSession)
locust/test/test_pytest_locustfile.py:48
Method
test_find_locustfiles_error_for_invalid_file_extension
(self)
locust/test/test_parser.py:443
Method
test_find_locustfiles_error_if_directory_doesnt_exist
(self)
locust/test/test_parser.py:417
Method
test_find_locustfiles_error_if_multiple_values_for_directory
(self)
locust/test/test_parser.py:450
Method
test_find_locustfiles_ignores_invalid_files_in_directory
(self)
locust/test/test_parser.py:422
Method
test_find_locustfiles_with_is_directory
(self)
locust/test/test_parser.py:406
Method
test_find_locustfiles_with_multiple_locustfiles
(self)
locust/test/test_parser.py:433
Method
test_float_weights
Final distribution should be {"User1": 3, "User2": 3, "User3": 3}
locust/test/test_dispatch.py:4127
Method
test_flush_interval_respected
Logger with flush_interval=3 should buffer rows without crashing.
locust/test/test_csv_request_logger.py:153
Function
test_format_duration
(check)
locust/test/test_date.py:85
Function
test_format_safe_timestamp
(check)
locust/test/test_date.py:79
Function
test_format_utc_timestamp
(check)
locust/test/test_date.py:73
Method
test_fullname_class_scoped
(self)
locust/test/test_users.py:16
Method
test_fullname_function_scoped
(self)
locust/test/test_users.py:19
Method
test_fullname_module_scoped
(self)
locust/test/test_users.py:13
Method
test_get
(self)
locust/test/test_http.py:26
Method
test_get
(self)
locust/test/test_fasthttp.py:24
Method
test_get_current_response_time_percentile
(self)
locust/test/test_stats.py:758
Method
test_get_current_response_time_percentile_outside_cache_window
(self)
locust/test/test_stats.py:772
Method
test_get_request
(self)
locust/test/test_locust_class.py:615
Method
test_get_request
(self)
locust/test/test_fasthttp.py:432
Method
test_get_task_ratio_relative
(self)
locust/test/test_stats.py:962
← previous
next →
1,401–1,500 of 1,982, ranked by callers