mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
fix #797: locusts command error
This commit is contained in:
@@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
- feat: report user id to sentry
|
- feat: report user id to sentry
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
|
- fix #797: locusts command error
|
||||||
|
|
||||||
## 2.4.6 (2019-12-23)
|
## 2.4.6 (2019-12-23)
|
||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ requests-toolbelt 0.9.1 A utility belt for advanced users of python-requests
|
|||||||
$ poetry run python -m httprunner -h
|
$ poetry run python -m httprunner -h
|
||||||
|
|
||||||
# 调试运行 locusts
|
# 调试运行 locusts
|
||||||
$ pipenv run python -m httprunner.plugins.locusts -h
|
$ pipenv run python -m httprunner.ext.locusts -h
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ $ locusts -f xxx.yml --processes
|
|||||||
```
|
```
|
||||||
|
|
||||||
```shell script
|
```shell script
|
||||||
$ python3 -m httprunner.plugins.locusts -h
|
$ python3 -m httprunner.ext.locusts -h
|
||||||
|
|
||||||
Usage: locust [options] [LocustClass [LocustClass2 ... ]]
|
Usage: locust [options] [LocustClass [LocustClass2 ... ]]
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ coverage = "^4.5.4"
|
|||||||
hrun = "httprunner.cli:main"
|
hrun = "httprunner.cli:main"
|
||||||
ate = "httprunner.cli:main"
|
ate = "httprunner.cli:main"
|
||||||
httprunner = "httprunner.cli:main"
|
httprunner = "httprunner.cli:main"
|
||||||
locusts = "httprunner.plugins.locusts.cli:main"
|
locusts = "httprunner.ext.locusts.cli:main"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=1.0.0"]
|
requires = ["poetry>=1.0.0"]
|
||||||
|
|||||||
Reference in New Issue
Block a user