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
Support for exact number of calls #82
Conversation
Fixes #75 If you set RunnerOptions.Exactly to any number that exact number of calls will be made, and without additional warmup - it will still try to reach the target QPS but if the service is slower it will take the time it will take On the command line this mode is selected using “-n num” (The replaces/extends the grpc ping count flag)
Codecov Report
@@ Coverage Diff @@
## master #82 +/- ##
========================================
+ Coverage 82.2% 82.9% +0.8%
========================================
Files 6 6
Lines 1311 1313 +2
========================================
+ Hits 1077 1089 +12
+ Misses 164 155 -9
+ Partials 70 69 -1
Continue to review full report at Codecov.
|
Set the requested duration to be the expected number of calls
@mandarjog this could help tracking down the rate limit and metrics issues: |
@ldemailly used it right away with |
@mandarjog cool! I'm glad ! you can also use the ui if you run fortio server either inside or outside your cluster And once istio/istio#2596 goes in, from test code, using
or |
Fixes #75
If you set RunnerOptions.Exactly to any number that exact number of
calls will be made, and without additional warmup - it will still try
to reach the target QPS but if the service is slower it will take the
time it will take
On the command line this mode is selected using “-n num”
(The replaces/extends the grpc ping count flag)