Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for invoking load #191

Closed
s-ak opened this issue Aug 21, 2014 · 1 comment
Closed

API for invoking load #191

s-ak opened this issue Aug 21, 2014 · 1 comment

Comments

@s-ak
Copy link

s-ak commented Aug 21, 2014

I understand that there are two methods to invoke tests

  1. Through the web intereface
  2. Through the command line interface

Usually , for similar tools there will be 3rd programmable interface as well from where other programs can invoke tests
I have posted same query in stack over flow as well
http://stackoverflow.com/questions/25422351/locust-how-to-invoke-the-test-through-an-api

Is there such a thing available as of now

@heyman
Copy link
Member

heyman commented Sep 6, 2014

Hi!

Currently, there is no documented API for controlling locust, except for the command line interface. The CLI can be used to start running load tests, though currently one can't run locust distributed without the web UI.

You could also use the web UI as an API, and just make the HTTP requests, that the browser sends to the web UI, yourself from your program.

@Jahaja Jahaja closed this as completed Dec 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants