Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix for: #529
Printing
ON_START running
inside on_start before fix:`
~/P/m/p/responsive_gecis (master↑) locust -f all_links.py --host=http://test.com --clients=5 --hatch-rate=1 --num-request=25 --no-web --only-summary
[2017-02-06 18:15:16,959] Mesuts-MacBook.local/INFO/locust.main: Starting Locust 0.7.5
[2017-02-06 18:15:16,959] Mesuts-MacBook.local/INFO/locust.runners: Hatching and swarming 5 clients at the rate 1 clients/s...
[2017-02-06 18:15:16,959] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:15:16,960] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:15:17,959] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:15:17,960] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:15:18,962] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:15:18,962] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:15:19,963] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:15:19,964] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:15:20,966] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:15:20,966] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:15:21,968] Mesuts-MacBook.local/INFO/locust.runners: All locusts hatched: User: 5
[2017-02-06 18:15:21,969] Mesuts-MacBook.local/INFO/locust.runners: Resetting stats
[2017-02-06 18:15:31,089] Mesuts-MacBook.local/INFO/locust.runners: All locusts dead
[2017-02-06 18:15:31,089] Mesuts-MacBook.local/INFO/locust.main: Shutting down (exit code 0), bye
`
after fix:
`
python /Users/mesutgunes/Projects/locust/locust.py -f all_links.py --host=http://test.com --clients=5 --hatch-rate=1 --num-request=25 --no-web --only-summary
[2017-02-06 18:13:51,758] Mesuts-MacBook.local/INFO/locust.main: Starting Locust 0.8a2
[2017-02-06 18:13:51,758] Mesuts-MacBook.local/INFO/locust.runners: Hatching and swarming 5 clients at the rate 1 clients/s...
[2017-02-06 18:13:51,759] Mesuts-MacBook.local/INFO/stdout: ON_START running
[2017-02-06 18:13:51,759] Mesuts-MacBook.local/INFO/stdout:
[2017-02-06 18:13:56,768] Mesuts-MacBook.local/INFO/locust.runners: All locusts hatched: User: 5
[2017-02-06 18:13:56,768] Mesuts-MacBook.local/INFO/locust.runners: Resetting stats
[2017-02-06 18:14:07,871] Mesuts-MacBook.local/INFO/locust.runners: All locusts dead
[2017-02-06 18:14:07,871] Mesuts-MacBook.local/INFO/locust.main: Shutting down (exit code 0), bye.
Name # reqs # fails Avg Min Max | Median req/s
`