When I run the groovy script the second time, error message displayed as "NullPointerException"
My Ready!API version is 1.50.
I import an existing project. when I first run the script, it passed with no exception. But the second time error message displayed as following.
Mon Nov 16 15:26:07 CST 2015:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.setVariable(SoapUIGroovyScriptEngine.java:147)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:149)
at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:263)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Issue related to Run Test Case test step is addressed in maintenance build of ReadyAPI 1.5.0. Try the updated build from
https://support.smartbear.com/downloads/readyapi/nightly-builds/
And update this thread.