Locust web interface not starting on Windows
See original GitHub issueC:\Development\Test>locust -f main.py
[2013-02-27 19:30:11,346] INFO/locust.main: Starting web monitor on port 8089
[2013-02-27 19:30:11,348] INFO/locust.main: Starting Locust 0.6.2
…And then it never gets past this point. I am using the example locust file from the website for main.py
from locust import Locust, TaskSet, task
def index(l):
l.client.get("/")
def stats(l):
l.client.get("/stats/requests")
class UserTasks(TaskSet):
# one can specify tasks like this
tasks = [index, stats]
@task
def page404(self):
self.client.get("/does_not_exist")
class WebsiteUser(Locust):
host = "http://127.0.0.1:8089"
min_wait = 2000
max_wait = 5000
task_set = UserTasks
I am running Windows 7. Any ideas on what I could be doing wrong? Would be happy to clarify more information.
Issue Analytics
- State:
- Created 11 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
python - Can't reach Locust WebInterface ... - Stack Overflow
I wanted to test Locust for my Project on Windows 10. The Script seems to run properly (no Errors in CMD), but i...
Read more >Getting started — Locust 2.14.0 documentation
Getting started¶. A Locust test is essentially a Python program. This makes it very flexible and particularly good at implementing complex user flows....
Read more >0 1 - Get Started with Locust : Setup On Windows - YouTube
Mercurytours site is now - http://demo.guru99.com/test/newtours/index.phpVisit: http://qamilestone.comPlaylist: Get Started with ...
Read more >locust - PyPI
To get started right away, head over to the documentation. ... Locust has a user friendly web interface that shows the progress of...
Read more >Locust makes performance testing easy - /dev/solita
You can run Locust either in headless mode or using a web interface. Example of running in the headless mode: (env) ➜ locust-tests...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem.
After hopeless searching, I tried navigating http://localhost:8089 and web interface appeared like miracle.
Give it a try guys.
Strange http://127.0.0.1:8089/ doesn’t work but http://localhost:8089/ does.