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

Is there a Default Duration of Load Test? 10 min? #317

Open
langong347 opened this issue Jan 25, 2024 · 0 comments
Open

Is there a Default Duration of Load Test? 10 min? #317

langong347 opened this issue Jan 25, 2024 · 0 comments

Comments

@langong347
Copy link

Hi,

I used the following command to send num_requests = {1,10,20,40,....} using a single worker

./hey_linux_amd64 -n $num_requests -c 1 -m POST -H 'Content-Type: application/json' -t 0 -D $test_file $endpoint

On my service dashboard, I noticed that each test lasted for a fixed interval, approx 10 minutes, during which the latency stayed at a constant level. I'm wondering whether hey persists each test until enough response data is gathered such that the results are statistically meaningful?

Screenshot 2024-01-25 at 11 39 43 AM

If this is the correct understanding, should I wait for at least 10min between tests? Previously, I noticed that sending the tests (using one worker each) more frequently would result in overlapping request blocks on my dashboard, although it didn't seem to affect the latencies returned by hey.

Screenshot 2024-01-25 at 11 58 14 AM

Thanks.

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

1 participant