vendredi 11 décembre 2020

Groovy If controller execute if var is even

I'm using jmeter 5.0 and I'm trying to execute the if block only if the number is even, the expression in if block is ${var} % 2 == 0. but the expression is always false even for the even number, I believe the syntax is wrong, could please point out the right syntax to check did the ${var} is even, please give an example.

Aucun commentaire:

Enregistrer un commentaire