Dear all,

we are running JMeter tests from within a Java application. Test plans are created and test runs are initiated programmatically, based on user input.

Now we would like to build while loops with complex conditions like that:

${__groovy([not more than x iterations] && [last test failed] && [further condition])}

which means that we need a function, e.g. __groovy, to evaluate the condition.

The problem is that we could not get the JMeter functions running in this setting so far: the condition of the while loop is not evaluated correctly, and we run into an infinite loop.

Running exactly the same test plan in the JMeter GUI the loop stops, as expected, as soon as the condition evaluates to false.

We supposed that this is probably an issue of missing libraries. However, importing ALL JMeter libraries did not solve the problem.


We are grateful for any idea!

Thank you in advance,

Elke Michalsky


--
Trilobyte Software Engineering GmbH
Schliemannstr. 45, 10437 Berlin
Geschäftsführer: Stefan Seide, Sven Gerhardt
Berlin, Amtsgericht Charlottenburg, HRB 103208

Reply via email to