try {
threadIndex = Integer.parseInt(runContext.getProperty("ThreadIndex").toString());
} catch (Throwable t) {
}
LoadTestLogErrorEntry errorEntry = new LoadTestLogErrorEntry(assertion.getName(), error, result,
assertion.getIcon(), threadIndex);
loadTestLog.addEntry(errorEntry);
statisticsModel.addError(indexOfTestStep);