-f filename | 指定文件 |
-H HOST --host HOST | 指定主机 |
-u NUM_USERS --users NUM_USERS | Number of concurrent Locust users. Primarily used together with --headless |
-r SPAWN_RATE, --spawn-rate SPAWN_RATE | The rate per second in which users are spawned. Primarily used together with --headless |
-t RUN_TIME --run-time RUN_TIME | Stop after the specified amount of time. Only used together with --headless. Defaults to run forever. |
--headless | Disable the web interface, and instead start the load test immediately. Requires -u and -t to be specified. |
locust压力测试命令行常用参数
最新推荐文章于 2024-04-17 15:22:59 发布