XML-RPC Transport for Locust
Project description
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()
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
locust-xmlrpc-0.3.0.tar.gz
(2.9 kB
view details)
File details
Details for the file locust-xmlrpc-0.3.0.tar.gz.
File metadata
- Download URL: locust-xmlrpc-0.3.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d10bb08bf2553f1c8c15fbf39642110b0ad87705c05c7b12b681fed3a75a481
|
|
| MD5 |
17e3daa7b958d965b230110eb0185e1b
|
|
| BLAKE2b-256 |
ec1759a07cc0b6e96d5705a53066080c6112395ebaedd2d529990a568f8c6689
|