Contributions
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?8 years agoPlace ReadyAPI QuestionsReadyAPI Questions8.2KViews0likes4CommentsHow I can setting DataConnection one time?
Hi! I use pro version of SoapUI and I use the DataConnection, that testing my project on few servers. All is cool, BUT! All time, when I close SoapUI and starting him next time - all my properties for DataConnections are broken. "Connections has changes, build Query?" - is show for me all time. How I can fix that? I don't want setting my tests all time. Help me, please!816Views0likes1CommentRe: Urgently, Please! Compare sub-parameters to string
redfish4ktc2 wrote: hi next time, do not create topic with "urgent", "help please", you won't have quick answer and your post may be removed by moderators about your issue, could you provide more details about what you really want to achieve? what is sub-parameters? regarding your example, explain which data you want to extract and compare with Ok, I am sorry. Next time i will create correct posts. The sub-parameters are in tags <patientDateOfBirth>. I want to get the string all these sub-parameters as a string of '2014-07-07, 2014-07-08, 2014-06-11, 2014-06-18' Problem in the following. Each time we get misc quantity of parameters (<laboratoryTest>).739Views0likes0CommentsUrgently, Please! Compare sub-parameters to string
In my dataBase i have a string: 2014-07-07, 2014-07-08, 2014-06-11, 2014-06-18 and etc. in response I get a list of parameters. Each parameter contains some sub-parameters (2014-07-07, 2014-07-08, 2014-06-11 and other). I need to compare these with my datas in data base. Well, I need get sub-parameters and make a string with them. And I had to compare them together. Can I do it? If yes, then HOW? A piece of code for example: <list> <laboratoryTest> <patientDateOfBirth>1983-05-14</patientDateOfBirth> <patientFullName>Bla Bla Bla</patientFullName> </laboratoryTest> <laboratoryTest> <patientDateOfBirth>1998-04-12</patientDateOfBirth> <patientFullName>Tu Ru Tu</patientFullName> </laboratoryTest> <laboratoryTest> <patientDateOfBirth>1943-03-19</patientDateOfBirth> <patientFullName>La La La</patientFullName> </laboratoryTest> <laboratoryTest> <patientDateOfBirth>1988-11-22</patientDateOfBirth> <patientFullName>U Ru Ru</patientFullName> </laboratoryTest> </list> Earlier Thanks for answer at my question.1KViews0likes3Comments