Skip to main content

XML-RPC Transport for Locust

Project description

https://travis-ci.com/gisce/locust-xmlrpc.svg?branch=master

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
locust-xmlrpc-0.3.0.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Jun 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page