Commit Graph

230 Commits

Author SHA1 Message Date
Lars Holmberg 9477459cd8 add x-forwarded-for example 2024-10-09 14:39:02 +02:00
Andrew Baldwin 513a708101 Add csrf example 2024-10-02 15:12:08 +02:00
Andrew Baldwin 17ce31c4cf Auth submit should be a POST request 2024-09-27 10:57:05 +02:00
Lars Holmberg bf797b8255
Merge pull request #2903 from guel-codes/mongo-example
Add Mongodb test example
2024-09-17 09:09:13 +02:00
Miguel Johnson 15a77dfe52 add default conn_string and remove explicit patching 2024-09-16 22:51:11 -04:00
Miguel Johnson 3f8abe3eef let ruff fix formatting 2024-09-14 00:50:02 -04:00
Miguel Johnson cf7dcea9ed add mongodb test example 2024-09-14 00:13:58 -04:00
Joey Wilhelm a019463b56 fix: Fix the custom_messages example to work with LocalRunner 2024-09-11 09:54:46 -06:00
tdadela f8525b929f simplify Generator annotations - PEP 696 2024-09-03 23:54:43 +02:00
Miguel Johnson 4931df14b7 clean up locustfile 2024-08-24 09:01:44 -04:00
Miguel Johnson b43a0c7a7a change how the connection is opened 2024-08-20 21:58:26 -04:00
Miguel Johnson 83f70e4f4c moving locustfile to examples/postgres/ 2024-08-20 11:38:55 -04:00
Miguel Johnson 5d3b1ef4d5 Addressing PR comments 2024-08-20 09:22:02 -04:00
Miguel Johnson 516ba58bc1 split out postgres test files 2024-08-19 23:34:53 -04:00
Miguel Johnson 1fb3488692
Merge branch 'locustio:master' into postgres-test-example 2024-08-19 23:34:26 -04:00
Miguel Johnson cd04c15097 small format fix 2024-08-05 14:50:49 -04:00
Miguel Johnson 8e9663ffb0 fixing imports 2024-08-05 14:46:49 -04:00
Miguel Johnson b6737b7e8c fixing syntax errors for failed tests 2024-08-05 14:40:29 -04:00
Miguel Johnson 01674a1a40 fixing syntax errors for failed tests 2024-08-05 14:36:31 -04:00
Miguel Johnson 86aa6efd2b fixing syntax errors for failed tests 2024-08-05 14:33:25 -04:00
Miguel Johnson d919018f95 updating to psycopg3 2024-08-05 14:21:26 -04:00
Miguel Johnson 548eb603ca updating to psycopg3 2024-08-05 14:19:29 -04:00
Miguel Johnson 08ef825627 updating to psycopg3 2024-08-05 14:10:50 -04:00
Lars Holmberg 3186f60ba3 Add open/closed workload example. 2024-07-31 13:23:55 +02:00
Miguel Johnson cf958a6ef6 Adding a PostgreSQL load test example 2024-07-21 18:46:47 -04:00
Lars Holmberg 7152dc4c41 Add example of a bottlenecked server and use that test to make a new graph for the docs. 2024-07-17 22:10:05 +02:00
Andrew Baldwin 445319c413 Fix extend webui example 2024-07-09 14:20:38 -04:00
Mikael Göransson 8ef0d5d7c4 test_data_management.py: changed order in which events are presented in the list 2024-06-27 16:02:13 +02:00
Mikael Göransson 68408c7e17 update after review
added event examples in `test_data_management.py`.

splitted `heartbeat` event into `heartbeat_sent` and `heartbeat_received`, renamed `time` argument to `timestamp`.

corrected type of `Runner.current_cpu_usage` which is a `float`.

some additional formatting changed by `ruff format .`.
2024-06-27 15:05:30 +02:00
Nicolas Adrian a665132b23 add proxy_host and proxy_port for FastHttpUser 2024-06-10 11:24:45 +02:00
Lars Holmberg 448ee0e0f6 undo accidental change in last commit 2024-06-07 20:24:59 +02:00
Lars Holmberg f3e806870c changelog update 2024-06-07 20:22:17 +02:00
Lars Holmberg 00cda8ce0d Further simplify example 2024-05-25 19:15:39 +02:00
Lars Holmberg 7c176ef427 Simplify semaphore_wait example 2024-05-25 18:35:52 +02:00
Lars Holmberg aaf131d5f6 Move dispatch test scripts under examples
(originally added in f9adde1ea4)
2024-05-10 23:10:02 +02:00
Andrew Baldwin 9d6bebe851 Remove legacy UI 2024-05-06 08:25:28 -04:00
Lars Holmberg 40d8ab78f1 Fix spelling in examples 2024-04-21 22:55:41 +02:00
Lars Holmberg 9617655e05 Set correct target python version (3.9) for ruff 2024-04-18 00:05:22 +02:00
Lars Holmberg 8c64e91669
Remove python 3.8 compatibility code (#2679)
* Remove code that was only needed for Python 3.8 compatibility (changes mostly generated using pyupgrade)

* Re-enable some test cases that didnt work on 3.8

* re-organize imports using ruff
2024-04-17 23:59:27 +02:00
Lars Holmberg 31d957e2ed
Merge pull request #2669 from obriat/feature-2644-web-ui-cache-stats
Add an example that displays cache stats using the new UI.
2024-04-09 18:53:11 +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
Lars Holmberg 35850b23a5 Update documentation for concurrent custom messages. 2024-03-26 20:35:43 +01:00
Samuel Spagl 78dc88e5c2 format 2024-03-25 14:55:12 +01:00
Samuel Spagl 1f60da7c6d fix linter 2024-03-25 14:50:14 +01:00
Lars Holmberg c69316d4a9 Remove superflous None parameter from example 2024-03-14 17:55:35 +01:00
Lars Holmberg 64428a0b4d Apply updated formatting for ruff 0.3.0 2024-02-29 21:25:23 +01:00
Lars Holmberg ee175acae1 Fix use as lib example 2024-02-27 11:10:33 +01:00
Andrew Baldwin f102e65c96 Fix auth example 2024-02-22 12:19:21 +01:00