Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

randomization issue in StandardWarmupStrategy #11

Open
jatingoel37 opened this issue Jun 14, 2019 · 0 comments
Open

randomization issue in StandardWarmupStrategy #11

jatingoel37 opened this issue Jun 14, 2019 · 0 comments

Comments

@jatingoel37
Copy link

jatingoel37 commented Jun 14, 2019

Consider the case when:

  1. defaultInvocationCount = 8
  2. iterationCount = 1
  3. then invocationCountPerIteration will be 8
    so loop will run only one. So far so good.
  4. Now this if-condition will be true and randomization will be false. So thundra will make 8 calls to the target lambda and hence all 8 instances will be busy for 100ms.

Why this behavior? Why we set randomize false in every first iteration?

You can run StandardWarmupStrategyTest junit to see this behavior

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

No branches or pull requests

1 participant