@Test
public void testRunGroovyScript() throws EngineException, NoSuchFieldException, IllegalAccessException {
JUnitThreadContextInitializer init = new JUnitThreadContextInitializer();
init.initialize();
// for test, used to get groovy source file.
String file = getClass().getClassLoader().getResource("org/ngrinder/TestRunner.groovy").getFile();
GroovyScriptEngine engine = new GroovyScriptEngine(new ScriptLocation(new File(file).getAbsoluteFile()));