Unexpected error when running test case that has groovy test step in 1.5.0
Hi,
I get the following error appearing on the logs for a test case with the groovy test step is not completing (steps remain greyed out):
Wed Nov 18 08:04:34 GMT 2015:ERROR:Error notifying listener after run
java.lang.IllegalStateException: Test history is disabled
at com.eviware.soapui.impl.wsdl.history.DefaultLatestRunsProvider.a(DefaultLatestRunsProvider.java:95)
at com.eviware.soapui.impl.wsdl.history.DefaultLatestRunsProvider.getLatestRun(DefaultLatestRunsProvider.java:138)
at com.eviware.soapui.impl.wsdl.panels.testcase.ProWsdlTestCaseDesktopPanel$InternalTestRunListener.afterRun(ProWsdlTestCaseDesktopPanel.java:921)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.notifyAfterRun(AbstractTestCaseRunner.java:316)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalFinally(AbstractTestCaseRunner.java:188)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalFinally(AbstractTestCaseRunner.java:1)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:154)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The test history is disabled due to feedback I got on a previous post reply:
Re: Test Case not completing gracefully when Groovy Test Step accessing database.
Hi Tanya,
Support supplied me with the following steps that resolved my problem.
Please try to re-enable the Test Run History:
1. Remove the "-Dtest.history.disabled=true" option to the <R!API installation folder>\bin\ReadyAPI-1.5.0.vmoptions file.
2. Update the Test Run History database (http://screencast.com/t/x0GRPJCp).Regards,