jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Once only per thread group
Date Wed, 22 Jun 2011 17:12:50 GMT
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Test_Plan
RunThread Groups consecutively.
The other option is an IF controller which is true only when the thread
number is one , followed by a dummy sampler .which has sync timer (with a
value = total number of threadS)
regards
deepak


On Wed, Jun 22, 2011 at 10:06 AM, E S <electric.or.sharp@gmail.com> wrote:

> I have a setup in which I have a single thread group that runs 50 threads
> and each of those threads runs one HTTP Request like this:
>
> Test Plan
> -- Thread Group (50 threads running one time each)
> -- -- HTTP Request
> -- -- View Results Tree
>
> I need to add another HTTP Request but it has to execute one time as the
> very first thing for the entire test plan. The Once Only Controller doesn't
> work because it executes once per thread, not per thread group. I tried
> adding another thread group above the first one like this:
>
> Test Plan
> -- Thread Group (1 thread doing one thing, must run before the one below
> it)
> -- -- HTTP Request
>
> -- Thread Group (50 threads running one time each)
> -- -- HTTP Request
> -- -- View Results Tree
>
> However, I would need to make sure the first thread group executes in full
> before the second one starts and I couldn't figure out how to do that. Is
> there another way to achieve this?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message