Delay Thread Creation Until Needed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Delay Thread Creation Until Needed

Riji K
Hi all,

Can someone explain me what is the "Delay Thread creation until needed" in
simple Thread group of JMeter. I had googled so much on this, however the
definition was not the exact when i run a simple test from JMeter.

My JMX file has a simple scenario "Login ->Default Page -> Logut". I
executed the jmx for 10 concurrent users with RUT 10 seconds with "Delay
Thread creation until needed = false(checkbox unchecked) and the same jmx
with Delay Thread creation until needed = true (checkbox checked).

Test Observations:

During both the tests, i didn't find any difference in the creation of the
threads.

Can someone help me with this please.

Regards,
Riji K
Reply | Threaded
Open this post in threaded view
|

Re: Delay Thread Creation Until Needed

Scott Dean
Greetings!

My understanding of "Delay thread creation until needed" is that each
thread is created (forked, memory allocated, etc) when it is needed rather
than all at the beginning of the test.  For 10 concurrent users, it
probably doesn't make a difference but if you were doing 600 concurrent
users and a RUT of 20 min (1200 sec), rather than create all 600 thread at
once, jmeter will create one every 2 seconds, when this is needed, thus
spreading out the resource impact of thread creation over the course of the
scenario (or at least over the ramp up). And I think this is more related
to not overtaxing the machine running jmeter than impacting on the results
of the test.

If someone with more knowledge about the topic wants to chime in and
correct me, feel free.

HTH!

-- Scott D



On Thu, Jan 18, 2018 at 1:41 AM, Riji K <[hidden email]> wrote:

> Hi all,
>
> Can someone explain me what is the "Delay Thread creation until needed" in
> simple Thread group of JMeter. I had googled so much on this, however the
> definition was not the exact when i run a simple test from JMeter.
>
> My JMX file has a simple scenario "Login ->Default Page -> Logut". I
> executed the jmx for 10 concurrent users with RUT 10 seconds with "Delay
> Thread creation until needed = false(checkbox unchecked) and the same jmx
> with Delay Thread creation until needed = true (checkbox checked).
>
> Test Observations:
>
> During both the tests, i didn't find any difference in the creation of the
> threads.
>
> Can someone help me with this please.
>
> Regards,
> Riji K
>