I have an issue that I am trying to solve, I have a loop controller and inside it I created if controller. I want something to be done if the "if controller" is true. the condition is that: def loop_counter2 = ${__counter(TRUE)}; and the if controller condition is "${loop_counter2}" == "1". the loop is set to run 3 times, so the expected results is that the condition will be correct only once. I have 2 problems 1. the condition never set true for some reason 2. the loop is performed only once and not as set to 3 (I print the loop counter to Jmeter consul and only 1 displayed). Can someone please advise why this is happening? if I remove the If controller the loop performed 3 times
Check Arr - the loop controller that I want to run 3 times regardless what in the if controller. test2 - put in variable (loop_counter2) the number of the loop iteration if controller - the if controller that should be true only once, when we in iteration 1 JSR223 SAMPLER - Print to consul if entered to if controller
Aucun commentaire:
Enregistrer un commentaire