On 2 October 2013 15:40, arihan <[email protected]> wrote: > Hi All, > > I've one scenario where there are two http samplers inside the if controller > > When the if condition is true , its only running the first HTTP sampler.Its > not executing the HTTP sampler2. > > as example:- > if-controller ( condition true, none of the check-box got checked) > ++HTTP sampler1 > ++HTTP sampler2 > > output :- only HTTP sampler1 runs . It never execute the sampler2 even if > the sampler 1 result is pass state
That works for me. What version of JMeter are you using? Have you checked the jmeter log file for errors? > I know I can split it into two if-controllers which would work fine. but I > don't want that. Because if I have say 5 HTTP samplers to execute on basis > of if-controller then I shouldn't split that to 5 if-controllers each embed > with individual HTTP sampler. > if-controller ( condition true, none of the checkbox got checked) > ++HTTP sampler1 > if-controller ( condition true, none of the checkbox got checked) > ++HTTP sampler2 > > Is there a way I can club all HTTP samplers underneath IF-controller and > execute. I tried with simple controller but no luck. Then there's something wrong - it should work. > > > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/How-to-run-Multiple-HTTP-samplers-inside-the-IF-controller-tp5718288.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
