You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tech Newbie <te...@yahoo.com> on 2012/08/30 07:40:21 UTC
Scheduler and Graceful Termination
I have a set of samplers that I'd like to execute as a complete set (transaction): login, create, list, delete, logout. When using the scheduler in a thread group, the threads just abruptly terminates when time's up, without completing the transaction. How do I setup my testplan so that the last transaction have a chance to complete all the steps?
I've seen recommendation of using scheduler plus a loop count but I don't understand how that would work.
Re: Scheduler and Graceful Termination
Posted by sebb <se...@gmail.com>.
On 30 August 2012 18:12, Tech Newbie <te...@yahoo.com> wrote:
> Thanks, the suggestion works.
>
> I was thinking that the transaction controller will has this ability and, in addition, in the Constant Throughput Timer, I can specify transaction throughput, not "transactions * N samples". Let me know if I'm wrong.
>
Please use a new thread - with suitable new subject - for a new question.
>
> ________________________________
> From: sebb <se...@gmail.com>
> To: JMeter Users List <us...@jmeter.apache.org>; Tech Newbie <te...@yahoo.com>
> Sent: Thursday, August 30, 2012 12:25 AM
> Subject: Re: Scheduler and Graceful Termination
>
> On 30 August 2012 06:40, Tech Newbie <te...@yahoo.com> wrote:
>> I have a set of samplers that I'd like to execute as a complete set (transaction): login, create, list, delete, logout. When using the scheduler in a thread group, the threads just abruptly terminates when time's up, without completing the transaction. How do I setup my testplan so that the last transaction have a chance to complete all the steps?
>
> I think you will need to use a Test Action/Stop Thread element as a
> child of an If Controller that checks the elapsed time, i.e. $__time()
> - ${TESTSTART.MS}
>
>> I've seen recommendation of using scheduler plus a loop count but I don't understand how that would work.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Scheduler and Graceful Termination
Posted by Tech Newbie <te...@yahoo.com>.
Thanks, the suggestion works.
I was thinking that the transaction controller will has this ability and, in addition, in the Constant Throughput Timer, I can specify transaction throughput, not "transactions * N samples". Let me know if I'm wrong.
________________________________
From: sebb <se...@gmail.com>
To: JMeter Users List <us...@jmeter.apache.org>; Tech Newbie <te...@yahoo.com>
Sent: Thursday, August 30, 2012 12:25 AM
Subject: Re: Scheduler and Graceful Termination
On 30 August 2012 06:40, Tech Newbie <te...@yahoo.com> wrote:
> I have a set of samplers that I'd like to execute as a complete set (transaction): login, create, list, delete, logout. When using the scheduler in a thread group, the threads just abruptly terminates when time's up, without completing the transaction. How do I setup my testplan so that the last transaction have a chance to complete all the steps?
I think you will need to use a Test Action/Stop Thread element as a
child of an If Controller that checks the elapsed time, i.e. $__time()
- ${TESTSTART.MS}
> I've seen recommendation of using scheduler plus a loop count but I don't understand how that would work.
Re: Scheduler and Graceful Termination
Posted by sebb <se...@gmail.com>.
On 30 August 2012 06:40, Tech Newbie <te...@yahoo.com> wrote:
> I have a set of samplers that I'd like to execute as a complete set (transaction): login, create, list, delete, logout. When using the scheduler in a thread group, the threads just abruptly terminates when time's up, without completing the transaction. How do I setup my testplan so that the last transaction have a chance to complete all the steps?
I think you will need to use a Test Action/Stop Thread element as a
child of an If Controller that checks the elapsed time, i.e. $__time()
- ${TESTSTART.MS}
> I've seen recommendation of using scheduler plus a loop count but I don't understand how that would work.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org