https://issues.apache.org/bugzilla/show_bug.cgi?id=50032
Summary: Last_Sample_Ok along with other controllers doesnt work correctly when the threadgroup has multiple loops Product: JMeter Version: 2.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Main AssignedTo: notifications@jakarta.apache.org ReportedBy: shet...@gmail.com Created an attachment (id=26105) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26105) Simplified test plan showing the issue if the test plan is Thread Group (Thread = 1 , Loop =2) +Sample1 +If Controller (${JMeterThread.last_sample_ok}) ++Sample2 ++Sample3 (always fails) ++Sample4 (always fails) Then the test plan executes correctly (i.e. Result is Sample1, Sample2, Sample3(failed) ,Sample1, Sample2, Sample3(failed) However if now we add a Simple Controller so that the plan is Thread Group (Thread = 1 , Loop =2) +Sample1 +If Controller (${JMeterThread.last_sample_ok}) ++Sample2 ++Simple Controller +++Sample3 (always fails) +++Sample4 (always fails) Then the test plan executes incorrectly(i.e. Result is Sample1, Sample2, Sample3(failed) ,Sample1, Sample2, Sample4(failed) The only workaround I can see is to not have the simple controller (but other controllers like the IF will similarly impact the behavior so this isnt very viable) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@jakarta.apache.org For additional commands, e-mail: notifications-h...@jakarta.apache.org