private void notifyTestListeners() {
threadVars.incIteration();
Iterator iter = testListeners.iterator();
while (iter.hasNext()) {
TestListener listener = (TestListener) iter.next();
if (listener instanceof TestElement) {
listener.testIterationStart(new LoopIterationEvent(controller, threadVars.getIteration()));
((TestElement) listener).recoverRunningVersion();
} else {
listener.testIterationStart(new LoopIterationEvent(controller, threadVars.getIteration()));
}
}
}