https://issues.apache.org/bugzilla/show_bug.cgi?id=51866

--- Comment #8 from Sebb <[email protected]> 2011-10-05 16:06:50 UTC ---
(In reply to comment #7)
> If I put JMeterContextService.getContext().isWithinRestartNextLoop() test 
> in fireIterEvents() instead, 
> do you see a case where it could fail ?

Yes, if fireIterationStart() is called directly.
But adding it to both won't necessarily help either, as that only fixes the
issue with iteration listeners.

But as I pointed out in Comment 3, it's not just the counter that misbehaves;
the counter problem is just one symptom.

I think the whole "Start next loop" code needs rewriting.

Effectively the option means "go to end of loop" for each controller up to the
Thread Group. [At least I assume this is the intention, as the option only
appears on the Thread Group controller.]

So we need to code the feature as if this has happened, and then everything
else should happen naturally.

-- 
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]

Reply via email to