use of org.apache.jmeter.testelement.TestIterationListener in project jmeter by apache.
the class JMeterThread method notifyTestListeners.
void notifyTestListeners() {
threadVars.incIteration();
for (TestIterationListener listener : testIterationStartListeners) {
if (listener instanceof TestElement) {
listener.testIterationStart(new LoopIterationEvent(threadGroupLoopController, threadVars.getIteration()));
((TestElement) listener).recoverRunningVersion();
} else {
listener.testIterationStart(new LoopIterationEvent(threadGroupLoopController, threadVars.getIteration()));
}
}
}
Aggregations