feedback
feedback copied to clipboard
[how-to-connect-adk-to-deployed-cloud-run-llm]: bash: locust: command not found
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