上一个问题here的后续问题 从命令行运行locust (locust.io)脚本。locust调用具有以下导入的main.py: from locust import HttpUser, between, task
from StreamLoader.stream_generatorimport * # thought this brings in everything Packer.py具有以下导入: from multipledispatc
当我运行带有--tag选项的locust时,只选择了1个Taskset,第二个用户将没有任何任务要运行。它抛出一个错误Exception: No tasks defined on AdminUser...参见下面的示例代码: @tag('AdminPage1') tasks = [AdminPage1]class EndUser(<
我正在使用Locust,一种性能测试工具,来加载一个应用程序,该应用程序是在docker-组合中运行的。对于每个请求,我都会得到以下错误(连接被拒绝,错误111): # occurrences Error
-------------------------------0x7fa6f294df28>: Failed to establish a new connection: [Errno 111] Connection refused\