mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-22 02:35:24 -05:00
reduce number of users in locust stress test
by reducing wait time, we can generate same load with fewer users
This commit is contained in:
@@ -7,7 +7,7 @@ java -jar target/scala-2.13/LibreCaptcha.jar &
|
||||
JAVA_PID=$!
|
||||
sleep 4
|
||||
|
||||
locust --headless -u 1000 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
|
||||
locust --headless -u 300 -r 100 --run-time 4m --stop-timeout 30 -f tests/locustfile.py
|
||||
status=$?
|
||||
|
||||
kill $JAVA_PID
|
||||
|
||||
Reference in New Issue
Block a user