locustio / locust

Write scalable load tests in plain Python 🚗💨
MIT License
24.66k stars 2.96k forks source link

Hard coded path make it impossible to host the UI on a path (instead of the domain root) #2909

Open gratus-acuitymd opened 1 week ago

gratus-acuitymd commented 1 week ago

Prerequisites

Description

I am trying to host the locust UI on a path like this: www.mydomain.com/tests/locust

But the full UI paths (like this one ) prevent me from doing that.

Can these paths be relative (with or without a configurable <base> url)?

Happy to work on it if this is of value/agreeable.

kavlevru commented 1 week ago

Yes, it's important. I want to run locust from Gitlab Ci jobs, and I need a relative way, for example example.com/222222/ where 222222 is the job ID

Grommash9 commented 1 day ago

Sounds good to have it, I am also need it