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


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)

Uploaded Source

File details

Details for the file locust-xmlrpc-0.3.0.tar.gz.

File metadata

File hashes

Hashes for locust-xmlrpc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0d10bb08bf2553f1c8c15fbf39642110b0ad87705c05c7b12b681fed3a75a481
MD5 17e3daa7b958d965b230110eb0185e1b
BLAKE2b-256 ec1759a07cc0b6e96d5705a53066080c6112395ebaedd2d529990a568f8c6689

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page