Forum Discussion

Alex_Walker's avatar
16 years ago

How does a time limit relate to the variance strategy?

I'm wondering how, in a load test, the time limit relates to the variance strategy.

Using these settings, it seemed like the test just kept going and going:
Threads: 10
Strategy: Variance
Interval: 10
Variance: 0.5
Limit: 1 second

Also, I'm assuming "min," "max" and "avg" are in milliseconds. Is this correct?

Thanks!
  • Hi Alex,


    Time limit defines the time period during which variance strategy will be applied to creation of threads used for load testing.

    The line representing a number of load testing threads over time would look like a chainsaw:
    1. starting at startThreadCount
    2. linearly increasing the thread count  to startThreadCount + startThreadCount*variance
    3. linearly decreasing the thread count  to startThreadCount - startThreadCount*variance
    4. linearly increasing the thread count to startThreadCount

    An example in User Guide (look for LoadTest Variance Strategy) also explains this.

    Your assumption is correct - min, max and avg are values in milliseconds in load test reports.


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla