Forum Discussion

JimL's avatar
JimL
Contributor
14 years ago

Suggestion: Slightly improve/enhance "Variance" strategy

Hi,

With the "Variance" strategy, you can specify an "Interval" (e.g., 60 secs) over which the number of threads used in the loadtest will varied.

From my understanding (and testing), when the "Variance" strategy is used, SOAPUI will fire off requests in each of those threads as quickly as possible, so say we have:

Interval: 60 secs
Threads: 5
Variance: 1.0

The number of threads will, in a period of 60 secs, start a 5, go up to 10 (= 5 + 5), go down to 1, then begin ramping back up to 10, etc.

However, since SOAPUI will fire off requests, one-after-the-other within each of those threads, there will be (variably) many requests during each "Interval".

In SOAPUI 4.0.0, for "Limit", you can also specify "Total runs" or "Runs per thread", but this "Limit" setting only applies to the entire loadtest.

The bottom line is that there is no way to specify or limit the number of requests per "Interval", either per thread or (total) per interval.

The suggestion here is to add an additional setting to the "Variance" strategy, to limit the number of requests ("runs") during the specified "Interval".

Ideally, if this could offer similar choices as with the "Limit", and give the choice of "Total runs per interval" or "Runs per thread within interval", with possibly empty setting ==> the current no-limit that would be great.

Thanks,
Jim
No RepliesBe the first to reply