Commit Graph

51 Commits

Author SHA1 Message Date
Lars Holmberg 44f15db10e docs: add note about request context not having any impact unless you actually listen for the event 2024-08-28 17:01:10 +02:00
Andrew Baldwin 45c61661bf
Locust UI as a Module (#2804)
* Add locust lib build

* Configure LocustUi exports, props, and types

* Update with correct types

* Provide additional exports

* Add documentation

* Remove react-redux dependency

* Fix build

* Fix tests

* Update documentation

* Update docs

* Remove example

* Argument parser

* Update README.md

* Remove example

* Frontend tests

* Fix build path

* precommit

* precommit

* Add LICENSE

* Update vite lib config

* Update exports

* Add repository to package.json

* Remove private flag

* Update README

* Add generic to LineChart

* Allow for using locust MUI theme in lib

* Add chart formatting

* Add immediate

* Add swarm_start

* Update chartFormatter type

* Update README
2024-08-01 22:22:51 +02:00
Lars Holmberg 849fa541b2 doc stuff 2024-04-27 08:40:44 +02:00
Lars Holmberg 2a4a61c4e9 Various documentation updates.
Remove old broken stuff from documentation.

Move third party things to the Extensions wiki page instead of the offical docs.
2024-04-26 21:23:45 +02:00
Lars Holmberg 1a94044651 Fix various documentation issues, mostly spelling 2024-04-21 23:49:31 +02:00
Olivier Briat 2fe2e0c30b Reword note about extended Web UI 2024-04-09 16:48:05 +02:00
Olivier Briat 87c37be007 Doc change 2024-04-09 15:01:26 +02:00
Olivier Briat c123ae8b7e Fix keys, add image and comments 2024-04-09 11:19:53 +02:00
Olivier Briat 7459c6a306 Add an example that displays cache stats using the new UI. 2024-04-08 02:05:18 +02:00
Andrew Baldwin e180ef15d3 Add authentication docs 2024-01-11 10:42:22 -05:00
Keith Trnka c98cfb8ca4 Explain the dropdown in the docs 2023-07-17 20:21:58 -07:00
Lars Holmberg 46f1c7fd37 doc updates 2023-01-29 13:37:34 +01:00
Lars Holmberg ba8f85607d docs 2022-12-02 17:03:32 +01:00
Lars Holmberg 35287b71ad docs 2022-12-02 17:02:17 +01:00
Lars Holmberg f35b770402 docs 2022-12-02 16:58:57 +01:00
Lars Holmberg c17ef2de70 Document how to modify context after the request has been made, using a value in the response. 2022-12-02 15:44:59 +01:00
John Scanlan eb34a1dd06
bug. Small fixes to documentation 2022-11-15 16:15:06 -05:00
Andy Byrne c7bacd55a5
Small documentation correction 2022-07-23 17:41:39 +01:00
Lars Holmberg f28aed1a19 Tiny documentation improvement 2022-02-03 20:46:51 +01:00
Lars Holmberg 4bb2d97ab6 Documentation: clarify request event stuff 2021-11-02 16:23:57 +01:00
Lars Holmberg 56274e41db
Merge pull request #1900 from locustio/add-start_time-and-url-parameters-to-request-event
Add start_time and url parameters to request event.
2021-10-11 11:58:22 +02:00
TatchNicolas a8c40b0d5d Missing colons after else keyword 2021-10-11 08:57:22 +09:00
Lars Holmberg 9dcfabb1a3 Add start_time and url to request event documentation 2021-10-10 22:42:36 +02:00
Lars Holmberg 1c65699f26 doc improvement 2021-09-13 21:30:07 +02:00
Lars Holmberg 275a7306c6 Improve documentation for custom arguments 2021-09-13 21:23:55 +02:00
Lars Holmberg 5e9a1c2dd8 Add test data management example 2021-08-14 13:48:12 +02:00
Lars Holmberg 88324f511b
Merge pull request #1841 from locustio/show-custom-arguments-in-web-ui
Show custom arguments in web ui and forward them to worker
2021-08-09 16:06:04 +02:00
Lars Holmberg 94694864b0 various documentation updats 2021-08-08 14:04:11 +02: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
Lars Holmberg fcee401af5 Show custom arguments in web ui. Fixes #1822 (maybe?) 2021-08-06 01:13:51 +02:00
Lars Holmberg a88631330b fix documentation for adding web routes 2021-08-04 23:54:09 +02:00
Nathan Beam 54aede3cc5 Updated documentation 2021-06-04 16:13:49 -04:00
Lars Holmberg c3dbc6da9d documentation fixes 2021-05-04 10:56:40 +02:00
Lars Holmberg a19a14dc5b Add response object to request event. Update documentation. Relates a little bit to the discussion in https://github.com/locustio/locust/pull/1750 2021-05-03 20:08:54 +02:00
Dennis Kroné 74d89a3f52 Update documentation regarding request context 2021-05-03 15:48:04 +02:00
Dennis Kroné 619f30582f Cleanup changes and update documentation 2021-04-30 14:46:43 +02:00
Dennis Kroné e18c175112 Cleanup code and fix faulty comments. 2021-04-26 13:58:12 +02:00
Lars Holmberg 3755abc526 Move stuff around a bit in the documentation 2020-10-12 10:11:14 +02:00
Ryan Warner 6151ab1a31 Add Extending Web UI reference to the docs 2020-09-30 12:48:08 -06:00
Phil Davis 9c0387274e
Doc review changes 2020-08-19 10:10:02 +05:45
Lars Holmberg dd177c547b Change heading for extending locust, add link to locust-plugins 2020-08-18 23:19:18 +02:00
Lars Holmberg 0c626bd528 Another small fix to the background greenlet example 2020-06-27 10:04:18 +02:00
Lars Holmberg fd64513d47 minor doc fix for running background greenlets 2020-06-27 10:03:11 +02:00
Lars Holmberg 8195e5f8f8 Add example about background greenlet / quitting a run based on error rate. 2020-06-27 10:00:16 +02:00
Jonatan Heyman 08228a484d Update python references in documentation ("locust" -> "user" renaming) 2020-04-23 12:58:49 +02:00
Jonatan Heyman f6715f5562 Rename locust.events module to locust.event
Introduce global instance of Events() stored in locust.events which can be used to register event listeners at the module level of locustfiles.
Remove some unused imports.
2020-03-03 19:43:34 +01:00
Jonatan Heyman c12f615dab Update extending-locust and API documentation page for the new API 2020-02-27 16:58:07 +01:00
John Eskew f923aa70e4 Fix handler argument names. 2015-08-05 17:52:02 -04:00
Juan Facorro 6d31be5199 Fixed typo. 2014-09-03 16:42:07 -03:00
Jonatan Heyman 4ca0eef585 Event hook functions are now always called with keyword arguments
This makes it easier for us to add new arguments to events in the future, with less risk of breaking people's code (as long as they've used a **kw wildcard argument in their event listeners)
2013-12-02 21:34:18 +01:00