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

added test for skipping first N #4

Merged
merged 1 commit into from
Jul 20, 2020
Merged

added test for skipping first N #4

merged 1 commit into from
Jul 20, 2020

Conversation

michaelperel
Copy link
Collaborator

The test runs 10 requests and skips the first 5. I manually verified that reporting metrics are only on the 5 requests that are not skipped, by setting a break point in

(r *Reporter) Finalize(stopReason StopReason, total time.Duration) *Report

in the file reporter.go.

In this diff, you can see that report.Count = 5, meaning that the report metrics are only calculated on the 5 requests that are not skipped.

@sujitdmello sujitdmello merged commit 29532c1 into sujitdmello:master Jul 20, 2020
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

Successfully merging this pull request may close these issues.

2 participants