-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Wrong metrics on timed out HTTP requests #925
Comments
I would guess that we don't calculate |
Yes, seems to me that |
The |
This test looks like it will probably need some pretty heavy setup which might require something like docker-compose to run it easier. Although my experience with making network shitty is that VM and docker have some random problems ... Maybe we should first try to make a simple setup that we can run and test stuff and than figure out if we can make it into a test ? |
That's how I started the issue 😜 and I'm all for that approach, for finding the bugs and for the final verification that we've fixed them. But for the actual fixing, I'd really like if we have a repeatable automated test that should work according to our expectations, but currently fails, at least until we fix the bug. Ideally, we should have at least one such test for each And locally, we should be able to simulate most of the delays without any docker containers, just by spinning up a Go http server in the test and either messing with the connection, or with the server response. For sure, we won't be able to simulate every possible shitty network, and we're bound to have a ton of issues with HTTP/2, but we should be able to have one simple test per metric... |
When we time out an HTTP request like this:
The metrics k6 emits don't make sense:
The
http_req_*
metrics should add up roughly to 3 seconds, but they're very far from it...The text was updated successfully, but these errors were encountered: