You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Leslie - <so...@hotmail.com> on 2010/08/27 18:36:49 UTC

Stop adding load if response times go over threshold

Hey everyone,

 

If I want to stop adding load after the average response time stays above a threshold (say, 0.5 secs) over a duraction (say, 10 seconds), is there a way to either cancel the test immediately or to just stop adding load, so I can take a look at the results? The way the thread groups are set up on J-Meter, it doesn't look like it allows this.

 

If this isn't possible, I'd greatly appreciate suggestions on work-arounds.

 

Thanks in advance!

 

Leslie
 		 	   		  

Re: Stop adding load if response times go over threshold

Posted by sebb <se...@gmail.com>.
On 27 August 2010 17:36, Leslie - <so...@hotmail.com> wrote:
>
> Hey everyone,
>
>
>
> If I want to stop adding load after the average response time stays above a threshold (say, 0.5 secs) over a duraction (say, 10 seconds), is there a way to either cancel the test immediately or to just stop adding load, so I can take a look at the results? The way the thread groups are set up on J-Meter, it doesn't look like it allows this.
>

You can add :

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Duration_Assertion

which will mark the overlong response as failed

Also set "Action to be taken after Sampler error" to "Stop Test" in:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Thread_Group

>
> If this isn't possible, I'd greatly appreciate suggestions on work-arounds.
>
>
>
> Thanks in advance!
>
>
>
> Leslie
>

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


Re: Stop adding load if response times go over threshold

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

Namaskara~Nalama~Guten Tag

I have tried that option in Webload (www.webload.org) (It is also open
source)

Deepak
   --
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
"



On Fri, Aug 27, 2010 at 10:06 PM, Leslie -
<so...@hotmail.com>wrote:

>
> Hey everyone,
>
>
>
> If I want to stop adding load after the average response time stays above a
> threshold (say, 0.5 secs) over a duraction (say, 10 seconds), is there a way
> to either cancel the test immediately or to just stop adding load, so I can
> take a look at the results? The way the thread groups are set up on J-Meter,
> it doesn't look like it allows this.
>
>
>
> If this isn't possible, I'd greatly appreciate suggestions on work-arounds.
>
>
>
> Thanks in advance!
>
>
>
> Leslie
>