Forum Discussion

justkaissy's avatar
justkaissy
New Contributor
9 years ago

groovy.lang.MissingPropertyException: No such property: testRunner for class: Script1

Hello!
Can you help me with my problem?

If I run my tests from console (Launch TestRunner or Jenkins) - I receive some errors like:

 

 

groovy.lang.MissingPropertyException: No such property: testRunner for class: Script1

at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307)
at Script1.run(Script1.groovy:14)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:91)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)
at com.eviware.soapui.eventhandlers.support.DefaultSoapUIScript.invoke(DefaultSoapUIScript.java:42)
at com.eviware.soapui.eventhandlers.support.DefaultSoapUIEventHandler.invoke(DefaultSoapUIEventHandler.java:27)
at com.eviware.soapui.eventhandlers.support.AbstractEventHandlerMetaData.invokeHandlers(AbstractEventHandlerMetaData.java:79)
at com.eviware.soapui.eventhandlers.support.AbstractEventHandlerMetaData.invokeHandlers(AbstractEventHandlerMetaData.java:60)
at com.eviware.soapui.eventhandlers.impl.EventHandlersProjectRunListener.afterRun(EventHandlersProjectRunListener.java:35)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner$1.notifyListener(WsdlProjectRunner.java:189)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.notifyListeners(WsdlProjectRunner.java:252)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.notifyAfterRun(WsdlProjectRunner.java:186)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:174)
at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:1)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:152)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:74)
at com.eviware.soapui.impl.wsdl.WsdlProject.run(WsdlProject.java:2403)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1070)
at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runProject(SoapUITestCaseRunner.java:495)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runProject(SoapUIProTestCaseRunner.java:246)
at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:441)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:98)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78)

But all my tests, who use TestRunner - disabled. How I can dispose of these errors?