Locust
  • What is Locust?
    • Features
    • Background
    • Authors
    • License
  • Installation
    • Installing ZeroMQ
    • Installing Locust on Windows
    • Installing Locust on OS X
  • Quick start
    • Example locustfile.py
    • Start Locust
    • Open up Locust’s web interface
  • Writing a locustfile
    • The Locust class
      • The task_set attribute
      • The min_wait and max_wait attributes
      • The weight attribute
      • The host attribute
    • TaskSet class
      • Declaring tasks
      • task attribute
      • TaskSets can be nested
      • The on_start function
      • Referencing the Locust instance, or the parent TaskSet instance
    • Making HTTP requests
    • Using the HTTP client
      • Safe mode
      • Manually controlling if a request should be considered successful or a failure
      • Grouping requests to URLs with dynamic parameters
  • Running Locust distributed
    • Example
    • Options
      • --master
      • --slave
      • --master-host=X.X.X.X
      • --master-port=5557
      • --master-bind-host=X.X.X.X
      • --master-bind-port=5557
  • Testing other systems using custom clients
    • Sample XML-RPC Locust client
  • API
    • Locust class
    • HttpLocust class
    • TaskSet class
    • task decorator
    • HttpSession class
    • Response class
    • ResponseContextManager class
    • InterruptTaskSet Exception
    • Event hooks
      • Available hooks
  • Extending Locust
    • Adding Web Routes
  • Changelog
    • 0.7.2
    • 0.7.1
    • 0.7
      • HTTP client functionality moved to HttpLocust
      • msgpack for serializing master/slave data
      • requests updated to version 2.2
      • gevent updated to version 1.0
      • Big refactoring of request statistics code
      • Removed support for avg_wait
      • Removed support for ramping
      • Locust Event hooks now takes keyword argument
      • Other changes
    • 0.6.2
    • 0.6.1
    • 0.6
      • SubLocust replaced by TaskSet and Locust class behaviour changed
      • Locust now uses Requests
        • Gzip encoding turned on by default
        • Improved HTTP client
        • HttpSession methods’ catch_response argument improved and allow_http_error argument removed
      • Other improvements and bug fixes
      • Smaller API Changes
    • 0.5.1
    • 0.5
      • API changes
      • Improvements and bug fixes
    • 0.4
      • API changes
      • Improvements and bug fixes
 
Locust
  • Docs »
  • Locust Documentation
  • Edit on GitHub

Locust DocumentationΒΆ

Everything you need to know about Locust

About locust

Locust is a scalable load testing framework written in Python

  • Website: http://locust.io
  • Source code: http://github.com/locustio/locust
  • Twitter: @locustio
  • What is Locust?
  • Installation
  • Quick start
  • Writing a locustfile
    • The Locust class
    • TaskSet class
    • Making HTTP requests
    • Using the HTTP client
  • Running Locust distributed
  • Testing other systems using custom clients
  • API
  • Extending Locust
  • Changelog
Next

© Copyright .

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v0.7.2
Versions
latest
v0.7.2
v0.7.1
v0.7
v0.6.2
v0.6.1
v0.6
v0.5.1
0.4
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.