feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[how-to-connect-adk-to-deployed-cloud-run-llm]: bash: locust: command not found

Open Poet2181 opened this issue 4 months ago • 0 comments

Error

URL: https://codelabs.developers.google.com/codelabs/cloud-run/how-to-connect-adk-to-deployed-cloud-run-llm?authuser=1#10

Getting below error while executing the locust command.

bash: locust: command not found

Solution

Should be updated from

# Run a load test to trigger autoscaling
locust -f load_test.py \
   -H $AGENT_URL \
   --headless \
   -t 50s \
   -u 3 \
   -r 1

To

# Run a load test to trigger autoscaling
uv run locust -f load_test.py \
   -H $AGENT_URL \
   --headless \
   -t 50s \
   -u 3 \
   -r 1

Poet2181 avatar Sep 04 '25 20:09 Poet2181