Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Run script fails on HTTPS endpoints #22

Open
JamesLaverack opened this issue May 21, 2019 · 0 comments
Open

Run script fails on HTTPS endpoints #22

JamesLaverack opened this issue May 21, 2019 · 0 comments

Comments

@JamesLaverack
Copy link

JamesLaverack commented May 21, 2019

When load testing a sock shop secured by HTTPS, there is no way to give the https:// address as the script places the prefix http:// on the host.

As a workaround, a user can execute locust directly, for example:

locust --host=https://sock-shop.example.com -f locustfile.py --clients 10 --hatch-rate=5 --run-time=1m --no-web --only-summary
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant