https://issues.apache.org/bugzilla/show_bug.cgi?id=51868
--- Comment #11 from Philippe Mouawad <[email protected]> 2011-10-01 16:58:11 UTC --- A fix to issue would be to flag we are in a restartNextLoop try{ JMeterContextService.getContext().setIsWithinRestartNextLoop(); // Last not ok. start get the begining of the tree sam = controller.next(); // need perfom a until loop for special case (tc as parent) while (sam != null && !sam.equals(firstSampler)) { // while the thread is NOT on the begining of the tree sam = controller.next(); } // At this point: begining tree, thus Last must Ok threadContext.getVariables().put(LAST_SAMPLE_OK, TRUE); } finally { JMeterContextService.getContext().unsetIsWithinRestartNextLoop(); } In IfController#next: Test for flag and don't eval condition but what to return ? What's your opinion ssebb ? Regards Philippe -- 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: [email protected] For additional commands, e-mail: [email protected]
