現象如題。找了好久找不到方法,也可能是我本地網絡設置有問題,但最後查看源碼還是找到了一個解決方案
解決方案
增加–web-host參數
locust -f load_test.py --web-host="127.0.0.1"
現象如題。找了好久找不到方法,也可能是我本地網絡設置有問題,但最後查看源碼還是找到了一個解決方案
增加–web-host參數
locust -f load_test.py --web-host="127.0.0.1"
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta