The load test packages a test script in a container for Locust that simulates user traffic to Sock Shop, please run it against the front-end service. The address and port of the frontend will be different and depend on which platform you've deployed to. See the notes for each deployment.
For example, on the Docker (single-host with Weave) deployment, on Docker for Mac:
docker run --net=host weaveworksdemos/load-test -h localhost -r 100 -c 2
The syntax for running the load test container is:
docker run --net=host weaveworksdemos/load-test -h $frontend-ip[:$port] -r 100 -c 2
The help command provides more details about the parameters:
$ docker run weaveworksdemos/load-test --help Usage: docker run weaveworksdemos/load-test [ hostname ] OPTIONS Options: -d Delay before starting -h Target host url, e.g. localhost:80 -c Number of clients (default 2) -r Number of requests (default 10) Description: Runs a Locust load simulation against specified host.