解决Locust1.2.2脚本报错AttributeError: ‘UserBehavior‘ object has no attribute ‘locust‘的问题

问题: locust进行接口性能测试,使用之前的locust脚本模板报错:AttributeError: 'UserBehavior' object has no attribute 'locust' 原因分析: 打开官方文档查看:https://docs.locust.io/en/latest/changelog.html#locust-class-renamed-to-user 发现是自己忽略
相关文章
相关标签/搜索