mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 19:39:44 +08:00
add locust installation command
This commit is contained in:
@@ -101,7 +101,9 @@ def main_locust():
|
||||
try:
|
||||
from httprunner import locusts
|
||||
except ImportError:
|
||||
print("Locust is not installed, exit.")
|
||||
msg = "Locust is not installed, install first and try again.\n"
|
||||
msg += "install command: pip install locustio"
|
||||
print(msg)
|
||||
exit(1)
|
||||
|
||||
sys.argv[0] = 'locust'
|
||||
|
||||
Reference in New Issue
Block a user