XML-RPC for locust
A XML-RPC Transport to use with Locust
Usage in your locustfile:
from six.moves import xmlrpc_client # Python2-3 compat
from locust_xmlrpc import LocustXmlRpcTransport
from locust import Locust
class XmlRpcLocust(Locust):
def __init__(self, *args, **kwargs):
super(XmlRpcLocust, self).__init__(*args, **kwargs)
self.client = xmlrpc_client.ServerProxy(
'{}/xmlrpc'.format(self.host),
transport=LocustXmlRpcTransport()
)
Metadata
Release files for locust-xmlrpc 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| locust-xmlrpc-0.3.0.tar.gz | 2.9 kB | Without provenance | Details for locust-xmlrpc-0.3.0.tar.gz |
Release files / locust-xmlrpc-0.3.0.tar.gz
| Download URL | locust-xmlrpc-0.3.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d10bb08bf2553f1c8c15fbf39642110b0ad87705c05c7b12b681fed3a75a481
|
|
BLAKE2b-256 checksum How to use checksums |
ec1759a07cc0b6e96d5705a53066080c6112395ebaedd2d529990a568f8c6689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for locust-xmlrpc 0.3.0
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.