mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-25 01:59:52 +08:00
add locust installation command
This commit is contained in:
@@ -101,7 +101,9 @@ def main_locust():
|
|||||||
try:
|
try:
|
||||||
from httprunner import locusts
|
from httprunner import locusts
|
||||||
except ImportError:
|
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)
|
exit(1)
|
||||||
|
|
||||||
sys.argv[0] = 'locust'
|
sys.argv[0] = 'locust'
|
||||||
|
|||||||
Reference in New Issue
Block a user