You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by shankykurella <sh...@gmail.com> on 2011/11/07 06:34:21 UTC

does jmeter runs in sequential or simultaneously

hi everyone...
i have a doubt on the execution of the thread group.... if i mention a count
of 100 (number of thread (users) ) under Thread group, does jmeter execute
the 100 users in a sequential order or simultaneously???

regards
shankar k b 

--
View this message in context: http://jmeter.512774.n5.nabble.com/does-jmeter-runs-in-sequential-or-simultaneously-tp4970264p4970264.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: does jmeter runs in sequential or simultaneously

Posted by Adrian Speteanu <as...@gmail.com>.
Hi shankykurella,

There is no easy answer to general questions. You have to learn the
behaviour yourself, by reading the documentation of the thread group and by
experimenting yourself.

There are several options on how to run a test that impact your solution
  - In Test Plan Gui: "Run Thread Groups consecutively"
  - In the Thread Group GUI: "Number of threads", "Ramp-up" and "Loop Count"
  - application under test response times
  - the timers that you use in the test plan

As others said and as you may find on older discussion, all threads run in
paralel (depending on the variables above) and their actions synchronize
(somehow, depending on how you configure the test plan). Each loop of a
thread runs (obviously) after the previous loop ended and this is
consecutive and also completely unrelated to the state of the other threads
or how many loops they executed. To control this, it depends strictly on
you, how you design the test script.

Its an endless discussion. You understand this by experimenting yourself.

Regards,
Adrian


On Mon, Nov 7, 2011 at 11:40 AM, shankykurella
<sh...@gmail.com>wrote:

> deicool the count i mentioned as 100 is just a rough count
>
> and with what you said i can conclude that jmeter is running sequentially
> and parallel....
>
> because i was asked to check a set of queries simultaneously
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/does-jmeter-runs-in-sequential-or-simultaneously-tp4970264p4970705.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: does jmeter runs in sequential or simultaneously

Posted by shankykurella <sh...@gmail.com>.
deicool the count i mentioned as 100 is just a rough count 

and with what you said i can conclude that jmeter is running sequentially
and parallel.... 

because i was asked to check a set of queries simultaneously 

--
View this message in context: http://jmeter.512774.n5.nabble.com/does-jmeter-runs-in-sequential-or-simultaneously-tp4970264p4970705.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: does jmeter runs in sequential or simultaneously

Posted by Deepak Goel <de...@gmail.com>.
Hey

We would like to know the precision you are looking out to measure at.
>From the data given if you are looking at results less than millisec
or microsec, then threads will run sequentially. Or they run parallely
otherwise.

Trivia:
--------

To what precision...If you get deep down to decimal places...10 to the
order of 3...then 10 to the order of 6...then 10 to the order of
9..and so on...as permitted by the vendor..you would find the threads
to be running sequentially...and if you go in the other way, without
decimal places...10 to the order of 3 ....then 10 to the order of
6..and so on..you would find the threads to be running parallel...and
then at a certain point you will find it is difficult to find whether
the threads are running sequentially or parallely ..and they too might
be one and the same thing (Quantum Mechanics)

For all practical purpose, if you are a connosieur, the threads will
run in sequential manner till you go crazy or start writing poetry. If
you dislike the Big Machine and manual labour and are in the favour of
general life and its colour, the threads will run in a parallel
manner.


Deepak
www.simtree.net

On 11/7/11, Deepak Shetty <sh...@gmail.com> wrote:
> simultaneously
>
> On Sun, Nov 6, 2011 at 9:34 PM, shankykurella
> <sh...@gmail.com>wrote:
>
>> hi everyone...
>> i have a doubt on the execution of the thread group.... if i mention a
>> count
>> of 100 (number of thread (users) ) under Thread group, does jmeter execute
>> the 100 users in a sequential order or simultaneously???
>>
>> regards
>> shankar k b
>>
>> --
>> View this message in context:
>> http://jmeter.512774.n5.nabble.com/does-jmeter-runs-in-sequential-or-simultaneously-tp4970264p4970264.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>>
>


-- 
Namaskara~Nalama~Guten Tag~Bonjour


   --
Keigu

Deepak
+91-9765089593
deicool@gmail.com
http://www.simtree.net

Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com
Facebook: http://www.facebook.com/deicool

"Contribute to the world, environment and more : http://www.gridrepublic.org
"

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: does jmeter runs in sequential or simultaneously

Posted by Deepak Shetty <sh...@gmail.com>.
simultaneously

On Sun, Nov 6, 2011 at 9:34 PM, shankykurella
<sh...@gmail.com>wrote:

> hi everyone...
> i have a doubt on the execution of the thread group.... if i mention a
> count
> of 100 (number of thread (users) ) under Thread group, does jmeter execute
> the 100 users in a sequential order or simultaneously???
>
> regards
> shankar k b
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/does-jmeter-runs-in-sequential-or-simultaneously-tp4970264p4970264.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>