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

Web interface doesn't work #56

Closed
issackelly opened this issue Jan 31, 2013 · 3 comments
Closed

Web interface doesn't work #56

issackelly opened this issue Jan 31, 2013 · 3 comments

Comments

@issackelly
Copy link

Using pip installed locust. locustio==0.6.2

ubuntu@swrm:~$ curl -v -XGET http://localhost:8089
* About to connect() to localhost port 8089 (#0)
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 8089 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.27.0
> Host: localhost:8089
> Accept: */*
> 
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 405 METHOD NOT ALLOWED
< Content-Type: text/html
< Allow: HEAD, OPTIONS, GET
< Content-Length: 183
< Server: gevent/0.13 Python/2.7
< Connection: close
< Date: Thu, 31 Jan 2013 20:51:36 GMT
< 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method POST is not allowed for the requested URL.</p>
* Closing connection #0
@heyman
Copy link
Member

heyman commented Feb 1, 2013

I just installed locustio==0.6.2 into a clean virtualenv and ran your exact curl command, but was not able to reproduce this.

Could you try it in a clean virtualenv? What's the command line you started locust with?

@astjohn
Copy link

astjohn commented Apr 1, 2013

The docs are great, except for the web interface bit... do I need to spin anything up? How do I connect? What stats will I see, is it only while a load test is running, etc...

@heyman
Copy link
Member

heyman commented Apr 18, 2013

@astjohn Hi, sorry for not getting back to you sooner. When you start locust, by default it spawns up a webserver that is listening on 0.0.0.0:8089. You can surf to that port with a browser, and from there you can start/stop the test, as well as see statistics from the test. I'm doing a mental note that we need to be more clear on this in the docs.

@issackelly I'm closing this issue now. If you're still having problems, feel free to re-open this ticket and provide more details.

@heyman heyman closed this as completed Apr 18, 2013
pancaprima added a commit to pancaprima/locust that referenced this issue May 14, 2018
* change dependencies order in setup.py (locustio#54)

* bugfix when hide edit modal while stopping and edit modal still open (locustio#56)

* rizal new feature upload test file to eb (locustio#53)

* upload test file to deployed eb

* enable user to upload test file to deployed eb

reload list on selector after file uploaded

writing files to slaves

distribute file to slaves and reload the test list

route config json to user fileio

update directories dinamycally

reload after upload, populate directory list

modify interface

add confirmation dialog

* fix non geometric elements

* fix test not reloaded when not in master slave mode, css file and alert message

* erlangga feature create new json keys (locustio#52)

* Revert "erlangga feature create new json keys (locustio#52)" (locustio#57)

This reverts commit acccdf5.
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