解決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 發現是自己忽略
相關文章
相關標籤/搜索