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 | |
|---|---|---|---|
| locust-xmlrpc-0.3.0.tar.gz | 2.9 kB | Details |
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 |