Permalink
dd1aebb Jan 15, 2014
@heyman @sanga @cbrinley
79 lines (49 sloc) 1.72 KB

API

Locust class

HttpLocust class

TaskSet class

task decorator

HttpSession class

Response class

This class actually resides in the python-requests library, since that's what Locust is using to make HTTP requests, but it's included in the API docs for locust since it's so central when writing locust load tests. You can also look at the :py:class:`Response <requests.Response>` class at the requests documentation.

ResponseContextManager class

InterruptTaskSet Exception

Event hooks

The event hooks are instances of the locust.events.EventHook class:

Available hooks

The following event hooks are available under the locust.events module: