I have a bunch of HTTP Requests inside my Threads group and I want all of them to be evaluated inside an IF Controller which has a specific condition.
JRS233 Listener contains this script:
if (!prev.isSuccessful()) {
vars.put('samplerFailed', 'true')
}
if(prev.isSuccessful()) {
vars.put('samplerSuccess', 'true');
}
if CONTROLLER OK cointains this condition:
${samplerFailed}
and if Controller KO has this condition:
${samplerSuccess}
I want the two IF CONTROLLERS to be executed for all the samplers.
How can I achieve it?
thanks