Forum Discussion
ltbawd
14 years agoOccasional Contributor
I have tried the latest version of LoadUI to see if this issue is fixed and it seems it does not work at all now in distibuted mode.
After the first tableLog is encountered I get the following exception on the Agent (also latest) which I assume is related to the logging.
The TableLog itself also does not display anythning and the script ends its run. Turning the enable in distributed mode off did not help.
java.lang.UnsupportedOperationException: Groovy script is missing the Closure: output
at com.eviware.loadui.util.groovy.GroovyEnvironment.invokeClosure(GroovyEnvironment.java:199)
at com.eviware.loadui.groovy.categories.GroovyOutput.output(GroovyOutput.java:45)
at com.eviware.loadui.impl.component.categories.OutputBase.onTerminalMessage(OutputBase.java:78)
at com.eviware.loadui.groovy.categories.GroovyOutput.onTerminalMessage(GroovyOutput.java:67)
at com.eviware.loadui.impl.model.ComponentItemImpl$TerminalEventHandler.run(ComponentItemImpl.java:446)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:197)
at java.lang.Thread.run(Unknown Source)
Thanks
After the first tableLog is encountered I get the following exception on the Agent (also latest) which I assume is related to the logging.
The TableLog itself also does not display anythning and the script ends its run. Turning the enable in distributed mode off did not help.
java.lang.UnsupportedOperationException: Groovy script is missing the Closure: output
at com.eviware.loadui.util.groovy.GroovyEnvironment.invokeClosure(GroovyEnvironment.java:199)
at com.eviware.loadui.groovy.categories.GroovyOutput.output(GroovyOutput.java:45)
at com.eviware.loadui.impl.component.categories.OutputBase.onTerminalMessage(OutputBase.java:78)
at com.eviware.loadui.groovy.categories.GroovyOutput.onTerminalMessage(GroovyOutput.java:67)
at com.eviware.loadui.impl.model.ComponentItemImpl$TerminalEventHandler.run(ComponentItemImpl.java:446)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:197)
at java.lang.Thread.run(Unknown Source)
Thanks