-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Prerequisites
- I am using the latest version of Locust
- I am reporting a bug, not asking a question
Description
Hello Team,
I am on Oracle-Linux-9.6 upgraded Locust-2.14.2 (on Python-3.9.21) to Locust-2.40.5 (on Python-3.12.9)
On Locust-2.14.2 (on Python-3.9.21) I was using the below conf-file and the web-server is not started (as expected) and the test starts running immediately.
home.conf
headless = true
users = 200
spawn-rate = 1
csv = "stats/home"
After upgrading to Locust-2.40.5 (on Python-3.12.9) the same conf above does not work and the web-server is started (not expected) and nothing proceeds on the console! But changing 'headless = true' to 'headless = yes' works!
As per 2.40.5 version docs @ "https://docs.locust.io/en/stable/configuration.html#locust-conf" 'headless = true' should work right?
Regards
J
Command line
locust -f home.py --config=home.conf --host="https://example.com" --iterations=1
Locustfile contents
from locust import HttpUser, task
class Home(HttpUser):
@task
def home(self):
self.client.get("/")Python version
Python-3.12.9
Locust version
2.40.5
Operating system
Oracle-Linux-9.6