line = myBread.readLine();
} else {
line = ERR_IND;
if (myEnd != COUNT_UNUSED){// Are we processing a file sequence?
log.info(tn + " Detected end of sequence.");
throw new JMeterStopThreadException("End of sequence");
}
}
}
myValue = line;
}
catch (IOException e)
{
String tn = Thread.currentThread().getName();
log.error(tn + " error reading file " + e.toString());//$NON-NLS-1$
}
} else { // File was not opened successfully
if (myEnd != COUNT_UNUSED){// Are we processing a file sequence?
String tn = Thread.currentThread().getName();
log.info(tn + " Detected end of sequence.");
throw new JMeterStopThreadException("End of sequence");
}
}
if (myName.length() > 0){
vars.put(myName, myValue);