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

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2021-08-12
猜你喜欢
  • 2022-03-09
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2021-10-03
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案