/** Initialize the thread. */ public void prepare() throws BenchmarkException { try { scenario.prepare(); } catch (Exception e) { String msg = "Scenario init() method call failed: " + scenario.getClass(); logger.debug(msg, e); throw new BenchmarkException(msg, e); } }