UPDATE

上级 e48d035f
...@@ -25,6 +25,7 @@ class WebsiteUser(HttpUser): ...@@ -25,6 +25,7 @@ class WebsiteUser(HttpUser):
max_wait = 2000 max_wait = 2000
# if __name__ == '__main__': if __name__ == '__main__':
# import os import os
# os.system("locust -f main.py --host=https://www.baidu.com --headless -u 5 -r 1 --run-time 100s --stop-timeout 99") # os.system("locust -f main.py --host=https://www.baidu.com --headless -u 5 -r 1 --run-time 100s --stop-timeout 99")
\ No newline at end of file os.system("locust -f main.py --host=https://www.baidu.com")
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册