Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gisce/locust-xmlrpc
XML-RPC Transport for Locust
https://github.com/gisce/locust-xmlrpc
hacktoberfest locust locustio python xmlrpc
Last synced: about 2 months ago
JSON representation
XML-RPC Transport for Locust
- Host: GitHub
- URL: https://github.com/gisce/locust-xmlrpc
- Owner: gisce
- License: mit
- Created: 2018-06-09T21:00:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T07:52:44.000Z (almost 4 years ago)
- Last Synced: 2024-11-13T16:12:25.422Z (about 2 months ago)
- Topics: hacktoberfest, locust, locustio, python, xmlrpc
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 17
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
XML-RPC for locust
==================.. image:: https://travis-ci.com/gisce/locust-xmlrpc.svg?branch=master
:target: https://travis-ci.com/gisce/locust-xmlrpcA XML-RPC Transport to use with `Locust `_
Usage in your locustfile:
.. code:: python
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()
)