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.

Files for locust-xmlrpc, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size locust-xmlrpc-0.3.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page