How to set up the environment for distributed performance testing with locust in notebook

Zhang, Qing (External) 0 Reputation points
2025-06-10T09:30:07.0166667+00:00

We need to do performance testing for a python library. We'd like to use locust. When doing the performance testing by running the locustfile.py in one fabric notebook through below command, the CU usage is always very low. It seems the load testing is not enough. We don't know how to improve the CU usage.

locust -f /lakehouse/default/Files/script/locustfile.py --logfile=/lakehouse/default/Files/logs/locust_report.log  --csv=/lakehouse/default/Files/logs/test-result --headless --users 3000 --spawn-rate 3000 --run-time 300s
Microsoft 365 and Office Development Microsoft 365 Developer Program
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.