Genericl URL load test with Locust #3164
Closed
nicholaswkc34
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all forumers, Our company has 40 applications. let say i want to construct load test with single python file. How to implement it with locust?
`class webSiteUser(FastHttpUser):
HTTPConnection.debuglevel = 1
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True
`
Then, run it with this command
locust -f systemLoadTesting.py --html=report.html --host="https://staging-xxxxxxxxxxxxxxxxxxxx/" --process 12
Questions:
Beta Was this translation helpful? Give feedback.
All reactions