You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
Running the load test gives an error: no such option: --num-request message and exits.
Reproduction
Install locust as per instructions pip install locustio
Execute runLocust.sh with arguments
or, using Docker
Build docker image as per instructions docker build -t load-test .
Execute docker run load-test with arguments
Expected Behavior
Locust executes.
Actual Behavior
The following error:
$ ./runLocust.sh -h sock-shop.example.com -c 5 -r 10
Default Locust file: locustfile.py
Will run locustfile.py against sock-shop.example.com. Spawning 5 clients and 10 total requests.
Usage: locust [options] [LocustClass [LocustClass2 ... ]]
locust: error: no such option: --num-request
done
or, using Docker
$ docker run load-test -h sock-shop.example.com -c 5 -r 10
Locust file: /config/locustfile.py
Will run /config/locustfile.py against sock-shop.example.com. Spawning 5 clients and 10 total requests.
Usage: locust [options] [LocustClass [LocustClass2 ... ]]
locust: error: no such option: --num-request
done
Environment
Tool
Version
Python
Python 2.7.15rc1
Locust
Locust 0.11.0
Docker
18.09.2
The text was updated successfully, but these errors were encountered:
Running the load test gives an
error: no such option: --num-request
message and exits.Reproduction
pip install locustio
runLocust.sh
with argumentsor, using Docker
docker build -t load-test .
docker run load-test
with argumentsExpected Behavior
Locust executes.
Actual Behavior
The following error:
or, using Docker
Environment
The text was updated successfully, but these errors were encountered: