tradel/vault-load-testing

TypeError: 'module' object is not callable

elancheziyan opened this issue · 0 comments

I am trying this project unfortunately I am getting the below error.

Environment
RHEL 7.8
Python 3.6.8
locustio (0.9.0)
Vault 1.6.2

Locust Run
locust -H https://localhost:8200 -c 25 -r 5 --no-web
getting the below error
[2021-02-10 16:20:29,358] localhost.localdomain/ERROR/stderr: Traceback (most recent call last):
[2021-02-10 16:20:29,358] localhost.localdomain/ERROR/stderr: File "/home/es89247/vault_app/vault-load-testing/venv/bin/locust", line 11, in
[2021-02-10 16:20:29,358] localhost.localdomain/ERROR/stderr:
[2021-02-10 16:20:29,358] localhost.localdomain/ERROR/stderr: sys.exit(main())
[2021-02-10 16:20:29,358] localhost.localdomain/ERROR/stderr:
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr: File "/home/es89247/vault_app/vault-load-testing/venv/lib64/python3.6/site-packages/locust/main.py", line 515, in main
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr:
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr:
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr: TypeError
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr: :
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr: 'module' object is not callable
[2021-02-10 16:20:29,359] localhost.localdomain/ERROR/stderr:
[2021-02-10 16:20:29,360] localhost.localdomain/INFO/locust.runners: Hatching and swarming 22 clients at the rate 5 clients/s...
Name # reqs # fails Avg Min Max | Median req/s


Total 0 0(0.00%) 0.00

How to fix this? ..thanks