You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Riji K <kr...@gmail.com> on 2018/01/18 06:41:44 UTC

Delay Thread Creation Until Needed

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

Re: Delay Thread Creation Until Needed

Posted by Scott Dean <ps...@ncsu.edu>.
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 <kr...@gmail.com> 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
>