Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locust doesn't record all the requests #615

Closed
Chrisbuuren opened this issue Jun 29, 2017 · 2 comments
Closed

locust doesn't record all the requests #615

Chrisbuuren opened this issue Jun 29, 2017 · 2 comments

Comments

@Chrisbuuren
Copy link

Hello all,
I am using locust and there is a problem with the total number of requests recorded by the API and WebUI.
I started a tests with 1 client and hatch 1, and looked on my application log and counted the request. The locust WebUI showed me that they were 26 requests made after I stoped the test, but in the /var/log/httpd/access_log I counted 31 requests ..so there is a difference by 5 requests which haven't been displayed neither in API nor WebUI.

@aldenpeterson-wf
Copy link
Contributor

I have seen some requests happen while locust itself is initializing

@heyman
Copy link
Member

heyman commented Aug 18, 2017

This might also happen if a request returns a HTTP redirect, since I believe the default behaviour for python requests is to follow redirects, and Locust will then group them both (all) together and record them under a single request entry.

It could definitely be argued that they should be recorded separately, but that would cause problem in cases where one is using the name argument to group together URLs that have some dynamic parts (e.g. an ID).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants