List<Controller> controllersToReinit = pathToRootTraverser.getControllersToRoot();
// Trigger end of loop condition on all parent controllers of current sampler
for (Iterator<Controller> iterator = controllersToReinit
.iterator(); iterator.hasNext();) {
Controller parentController = iterator.next();
if(parentController instanceof AbstractThreadGroup) {
AbstractThreadGroup tg = (AbstractThreadGroup) parentController;
tg.startNextLoop();
} else {
parentController.triggerEndOfLoop();
}
}
if(transactionSampler!=null) {
process_sampler(transactionSampler, null, threadContext);
}