locust_fixed_interval
About
A Locust TaskSet that sends requests at a constant rate (with a fixed time interval). Based on Locust issue #646.
The instance 'interval' attribute defines the time interval between successive requests per user in seconds (default 1.0). This value must be greater than the average HTTP request roundtrip time. For example, if your request takes 1.9 seconds to get to the server and back, and the execution of your code and the Locust framework code additionally requires 0.1 second between requests, you should set 'interval' to a value over 2.0 seconds. If you need a higher request rate, increase the number of simulated users.
Example usage
class MyTaskSet(FixedIntervalTaskSet):
def setup(self):
self.interval = 2.5
@task
def task1(self):
#...
class MyLocust(HttpLocust):
task_set = MyTaskSet
Metadata
Release files for locust-fixed-interval 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| locust_fixed_interval-0.1-py3-none-any.whl | Python 3 | none | any | Details for locust_fixed_interval-0.1-py3-none-any.whl |
Release files / locust_fixed_interval-0.1-py3-none-any.whl
| Download URL | locust_fixed_interval-0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c442addb656b55e4a3b94a2323022a14be6d6fbde899e30a59ab15ef340d2e98
|
|
BLAKE2b-256 checksum How to use checksums |
e4b03cf22d526c52c7f97916890dc3e3a8f4b536719a1553794e96d3e01d2c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for locust-fixed-interval 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.