locust

Why cannot access a running Docker container in browser?

Why cannot access a running Docker container in browser? Question: Here is my dockerfile: FROM python:3.8 WORKDIR /locust RUN pip3 install locust COPY ./ /locust/ EXPOSE 8089 CMD ["locust", "-f", "locustfile.py"] Here is the response: Starting web interface at http://0.0.0.0:8089 (accepting connections from all network interfaces) Starting Locust 1.2.3 But when I try to access …

Total answers: 1

Unable to scale Gunicorn/Flask HelloWorld over 125 RPS

Unable to scale Gunicorn/Flask HelloWorld over 125 RPS Question: I have a Flask app that I have been unable to scale past 125 RPS locally. It is a simple ‘hello world’ as seen below. I’m using the Locust.io load testing tool. I have pointed the same load test to a local Golang hello world, and …

Total answers: 2

Locust: got 0 response status_code and None content

Locust: got 0 response status_code and None content Question: I have written a simple load test using Locust (http://locust.io). Now I noticed that sometimes (using a higher load) the response I get from a post call has a status_code of 0 and a None content. The 0 status code is not automatically recognized as a …

Total answers: 3