Forum Discussion
DLuks
14 years agoContributor
Found the issue:
ScriptEngineManager mgr = new ScriptEngineManager();
List<ScriptEngineFactory> allFactories = mgr.getEngineFactories();
for(ScriptEngineFactory engineFactory : allFactories){
log.info("Engine Name" + engineFactory.getEngineName());
}
ScriptEngine engine = mgr.getEngineByName("JavaScript");
assert engine.eval(resultJoin);
Seems mgr.getEngineByName("JavaScript") is returning null.
I thought this was supported after SoapUIPro v3?
Should I use mgr.getEngineByName("groovy") instead?
ScriptEngineManager mgr = new ScriptEngineManager();
List<ScriptEngineFactory> allFactories = mgr.getEngineFactories();
for(ScriptEngineFactory engineFactory : allFactories){
log.info("Engine Name" + engineFactory.getEngineName());
}
ScriptEngine engine = mgr.getEngineByName("JavaScript");
assert engine.eval(resultJoin);
Seems mgr.getEngineByName("JavaScript") is returning null.
I thought this was supported after SoapUIPro v3?
Should I use mgr.getEngineByName("groovy") instead?
Related Content
- 12 years ago
- 3 years ago
- 3 years ago
- 3 years ago