You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Pieter Ennes <li...@spam.ennes.nl> on 2007/10/30 22:05:05 UTC

Specifying a max execution time

Hi!

Is there a way to specify a maximum execution time for a script on the
command line?

I looked at the threadgroup duration field, but that seems more related
to scheduling.

Thanks,
Pieter

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


Re: Specifying a max execution time

Posted by sebb <se...@gmail.com>.
On 31/10/2007, Pieter Ennes <li...@spam.ennes.nl> wrote:
>
> On Wed, 2007-10-31 at 01:10 +0000, sebb wrote:
> > On 30/10/2007, Pieter Ennes <li...@spam.ennes.nl> wrote:
> > > Hi!
> > >
> > > Is there a way to specify a maximum execution time for a script on the
> > > command line?
> > >
> > > I looked at the threadgroup duration field, but that seems more related
> > > to scheduling.
> >
> > The duration field is what you want.
> > Try it and see.
>
> Thanks, indeed that works of course.
> But is there any way to see whether the script was terminated by this
> duration condition or completed by itself? That would be great...
>

Not directly.

You could check to see if the last expected samplehas occurred. If
necessary, add a dummy sample at the end.

> Pieter
>
>
>
> ---------------------------------------------------------------------
> 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: Specifying a max execution time

Posted by Pieter Ennes <li...@spam.ennes.nl>.
On Wed, 2007-10-31 at 01:10 +0000, sebb wrote:
> On 30/10/2007, Pieter Ennes <li...@spam.ennes.nl> wrote:
> > Hi!
> >
> > Is there a way to specify a maximum execution time for a script on the
> > command line?
> >
> > I looked at the threadgroup duration field, but that seems more related
> > to scheduling.
> 
> The duration field is what you want.
> Try it and see.

Thanks, indeed that works of course.
But is there any way to see whether the script was terminated by this
duration condition or completed by itself? That would be great...

Pieter



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


Re: Specifying a max execution time

Posted by sebb <se...@gmail.com>.
On 30/10/2007, Pieter Ennes <li...@spam.ennes.nl> wrote:
> Hi!
>
> Is there a way to specify a maximum execution time for a script on the
> command line?
>
> I looked at the threadgroup duration field, but that seems more related
> to scheduling.

The duration field is what you want.
Try it and see.

> Thanks,
> Pieter
>
> ---------------------------------------------------------------------
> 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