multithreading - Jmeter : While controller counter does not allow threads to exit if condition not met -


i have put condition in while controller: ${__javascript("${status5}" != "success" && parseint("${counter}") < 5,)} , put counter in while controller. enabled track counter independently each user , reset counter each thread group iteration.

once http sampler called, have added beanshell postprocessor capture response value in file.

while running test 100 threads , 10 iteration, of threads fails , retries till 5 times iteration progress further. looks checking 1st iteration , not able move next iteration. dont see error on jemter.log or outofmemory hangs there.

can please me why threads not progressing? wrong in validation? or in while controller?

you don't need parseint() function here, javascript type agnostic recommend changing condition line following:

${__javascript(("${status5}" != "success"  && ${counter} < 5),)} 

see using while controller in jmeter article more information on conditional looping in jmeter tests.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -