1、os方式执行报错
Could not find any locustfile! Ensure file ends in ‘.py’ and see --help for available options.

2、窗口命令执行报错
No Locust class found

3、问题原因
task写错
python编写locust性能测试脚本,执行报错No Locust class found

4、解决:
改成task_set
python编写locust性能测试脚本,执行报错No Locust class found

5、执行程序说明
python编写locust性能测试脚本,执行报错No Locust class found

相关文章: