Commit Graph

17 Commits

Author SHA1 Message Date
tdadela f99e9df700 sort imports 2024-01-17 00:07:29 +01:00
Lars Holmberg 0a7dccc64b Add start_time to request event for example users (xmlrpc and grpc) 2021-10-11 08:52:33 +02:00
Lars Holmberg 023c4de4aa Measure elapsed time using time.perf_counter() instead of a mix of time.monotonic(), which has less precision (on windows), and timeit (used in FastHttpUser), which has undesirable effects like disabling GC.
Also, in FastHttpUser, dont round response times to millisecond for no reason.
2021-05-07 12:20:11 +02:00
Lars Holmberg c7973583f4 Update xmlrpc_locustfile.py 2021-05-03 23:17:46 +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 add29232f9 Use python 3 style super() calls throughout. Remove import from __future__. 2020-09-13 23:47:37 +02: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
anuj_ 530db29ad7 More renaming. Includes renaming in test and example files as well. 2020-04-20 13:52:22 +12:00
Anuj Sharma 66e7942efd Rename Locust to User 2020-04-06 16:43:49 +12:00
Jonatan Heyman a69a4519f6 Rewrote all documentation to the new API that allow tasks directly under Locust classes.
Some general documentation improvements here and there.
2020-04-03 15:50:58 +02:00
Jonatan Heyman 5f6937cd6f Update documentation on custom clients to new event API.
Updated example code for XmlRpcLocust to work on Python 3.
2020-02-27 18:28:56 +01:00
Jonatan Heyman cc1d379c71 Updated examples files to use new wait_time API 2019-10-24 17:50:19 +02:00
Mark Beacom 532fec806b
Sort all python imports 2017-09-08 03:47:06 -04:00
Jonatan Heyman 6620d7d830 Changed the way we raise an error, for older test scripts that tries to use Locust.client.
@property doesn't allow the attribute to be overridden in an instance method, therefore we'll use a dummy class that has a __getattr__ which raises the error instead.
2014-01-17 17:49:42 +01:00
Jonatan Heyman bd5c555064 Documentation on how to test other systems by writing a custom client
Some basic info, and an example of an XML-RPC Locust class + client.
2014-01-17 13:55:49 +01:00