You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by tc...@freesurf.fr on 2006/01/13 18:43:01 UTC
How to delay a thread execution?
Hi,
I have configure a thread group to run each thread N times. I would like
the thread to pause T seconds after each of the N executions.
How should I set the timer?
ThreadGroup
Number of threads 2
Rampup 4 seconds
Number of executions 5
login
|
| Samples <== must run 5 times by each thread with a delay of T
|
logoff
Constant Timer
Simple Data writer Listener
[Setting the timer this way does not work since the timer is applied to
all requests in its scope]. Is it possible to delay each thread execution?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to delay a thread execution?
Posted by Michael Stover <ms...@apache.org>.
Attach the time to the first sample only.
On Fri, 2006-01-13 at 18:43 +0100, tchris22@freesurf.fr wrote:
> Hi,
> I have configure a thread group to run each thread N times. I would like
> the thread to pause T seconds after each of the N executions.
> How should I set the timer?
> ThreadGroup
> Number of threads 2
> Rampup 4 seconds
> Number of executions 5
> login
> |
> | Samples <== must run 5 times by each thread with a delay of T
> |
> logoff
> Constant Timer
> Simple Data writer Listener
>
> [Setting the timer this way does not work since the timer is applied to
> all requests in its scope]. Is it possible to delay each thread execution?
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: How to delay a thread execution?
Posted by sebb <se...@gmail.com>.
Add the timer as a child of the login element.
On 13/01/06, tchris22@freesurf.fr <tc...@freesurf.fr> wrote:
> Hi,
> I have configure a thread group to run each thread N times. I would like
> the thread to pause T seconds after each of the N executions.
> How should I set the timer?
> ThreadGroup
> Number of threads 2
> Rampup 4 seconds
> Number of executions 5
> login
> |
> | Samples <== must run 5 times by each thread with a delay of T
> |
> logoff
> Constant Timer
> Simple Data writer Listener
>
> [Setting the timer this way does not work since the timer is applied to
> all requests in its scope]. Is it possible to delay each thread execution?
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org