Skip to content

Commit

Permalink
allow setting average response time (#2365)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg authored Jun 2, 2021
1 parent 306cd88 commit ed7c992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/performance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ test: ## runs osparc locust with target=locust_test_file.py in headless mode for
@$(call check_defined, target, please define target file when calling $@ - e.g. ```make $@ target=MY_LOCUST_FILE.py```)
@export LOCUST_FILE=$(target); \
export TARGET_URL=$(if $(host),$(host),"http://$(get_my_ip):9081"); \
export LOCUST_OPTIONS="--headless --print-stats --users=100 --spawn-rate=20 --run-time=1m --check-fail-ratio=0.01 --check-avg-response-time=200"; \
export LOCUST_OPTIONS="--headless --print-stats --users=100 --spawn-rate=20 --run-time=1m --check-fail-ratio=0.01 --check-avg-response-time=$(if $(resp_time),$(resp_time),200)"; \
docker-compose --file docker-compose.yml up --scale worker=4 --exit-code-from=master

0 comments on commit ed7c992

Please sign in to comment.