}
// Run test
perfTestService.markStatusAndProgress(perfTest, START_TESTING, "The test is ready to start.");
// Add listener to detect abnormal condition and mark the perfTest
singleConsole.addListener(new ConsoleShutdownListener() {
@Override
public void readyToStop(StopReason stopReason) {
perfTestService.markAbnormalTermination(perfTest, stopReason);
LOG.error("Abnormal test {} due to {}", perfTest.getId(), stopReason.name());
}