Commit Graph

18 Commits

Author SHA1 Message Date
Andrew Baldwin 83fcdda19d Add option for extra options to be required 2024-11-12 15:33:56 +01:00
tdadela f99e9df700 sort imports 2024-01-17 00:07:29 +01:00
Keith Trnka ebb4f83345 Example 2023-07-16 19:04:08 -07:00
Mark Zhukovsky e71eb8fe7f
add is_secret option for custom args to be shown in the web UI with password mask 2023-01-07 20:57:06 +04:00
Lars Holmberg 313b80f27f Ran "flynt" on the code base, changing all string handling to use f-strings, instead having a mix of f-strings and %-formatted 2022-02-25 15:32:45 +01:00
Lars Holmberg 275a7306c6 Improve documentation for custom arguments 2021-09-13 21:23:55 +02:00
Fabio Uechi 894e426ea7 fix comment 2021-09-12 22:29:28 +12:00
Fabio Uechi 727bf7fb14 renaming kwarg to "include_in_web_ui" 2021-09-12 22:28:02 +12:00
Fabio Uechi 909dd7567a update example 2021-09-12 20:06:05 +12:00
Lars Holmberg b8c526ed42 Update docs, mainly to say that custom arguments are forwarded to the workers. Update the add_command_line_argument.py to actually USE the custom argument. 2021-08-07 23:31:40 +02:00
Jonatan Heyman 03b6df4fab Re-add info on wait_time to Quickstart documentation and examples 2020-11-18 14:20:49 +01:00
Lars Holmberg 7676b5389c Make wait_time = constant(0) the default instead of forcing our users to specify it. Makes a big difference in readability of small User classes and reduces the cognitive overhead for locust beginners. Fixes #1308 2020-11-11 22:14:20 +01:00
Lars Holmberg 7c0fcc213d Auto format using Black (20.8b1, which includes the magic trailing commas fix). Added black --check to build. 2020-08-27 09:17:42 +02:00
Lars Holmberg 9efd7f63f1 Add type, env var and default value to custom argument example. And rename it so that nobody thinks the "custom" in the name has a specific meaning. 2020-08-17 09:37:28 +02:00
Mike Perrin aa164c7b70 fixed up environment.parsed_options 2020-06-24 10:12:30 +01:00
Lars Holmberg 544d31f8c8 Rework quickstart documentation (shorter, important things before less important things, etc). Moved quickstart example code into separate locustfile. Update some comments for 1.0. 2020-05-19 11:27:46 +02:00
anuj_ 530db29ad7 More renaming. Includes renaming in test and example files as well. 2020-04-20 13:52:22 +12:00
Jonatan Heyman d1f7c4e280 Refactor code for parsing command line arguments.
Add init_command_line_parser event that can be used by test scripts and plugins to add command line arguments.
2020-03-03 16:12:20 +01:00