Hi Niraj,

just logic from my side
You can use counter, increment it till 10 and check its value by if
condition and stop using TestAction
OR
You can use autostop plugin with respect to error rate---
.http://jmeter-plugins.org/wiki/AutoStop/

Thanks,
Mahesh Bhasme
http://myloadtesting.blogspot.in/

On Thu, Jul 2, 2015 at 7:37 PM, Niraj <[email protected]> wrote:

> Hello,
>
> My Jmeter script have only one request which get's input from CSV file and
> which executes 1000 times.
>
> Now what I want, if my request failed for more than 10 times, I need to
> stop my Jmeter test automatically.
>
> I know there is Test Action sampler. But I am not sure how can get failure
> count. I can use If controller. But what condition should I use so after 10
> request failed. My If loop will execute and Test Action sampler will stop
> my test.
>
> If there is any other option, please let me know.
>
> Thanks,
> Niraj
>



-- 
Thanks,
MAhesh

Reply via email to