Ask a Question

Not able to execute the test cases in SOAP UI ready API ver 1.7 at the project level

nsharma
Occasional Visitor

Not able to execute the test cases in SOAP UI ready API ver 1.7 at the project level

I am not able to execute the test cases in SOAP UI ready API ver 1.6/1.7 at the project level with below combination.

 

  • Ready API 1.6/1.7
  • Data base Oracle 12 c with ojdbc7 driver

where I am able to execute the test cases using at the test suite and test case level but the execution terminates at the project level when the run is initiated using test runner.

 

Could you please help me out?

5 REPLIES 5
TanyaYatskovska
SmartBear Alumni (Retired)

Hi Nsharma,

 

 

Could you please give us more details? What exactly doesn't work in your case?

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



When I am executing from project level using launch test runner, application throws below error and execution gets stopped.

 

16:51:46,550 ERROR [AbstractTestRunner] Exception during Test Execution

groovy.lang.MissingPropertyException: No such property: con 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:89)

                at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)

                at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runScript(WsdlProject.java:2318)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runBeforeRunScript(WsdlProject.java:2322)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:81)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalRun(WsdlProjectRunner.java:1)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:76)

                at com.eviware.soapui.impl.wsdl.WsdlProject.run(WsdlProject.java:2360)

                at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1064)

                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)

16:51:46,851 ERROR [SoapUI] An error occurred [No such property: con for class: Script2], see error log for details

16:51:46,851 ERROR [errorlog] groovy.lang.MissingPropertyException: No such property: con for class: Script2

groovy.lang.MissingPropertyException: No such property: con for class: Script2

                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 Script2.run(Script2.groovy:39)

                at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)

                at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runScript(WsdlProject.java:2318)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runAfterRunScript(WsdlProject.java:2342)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:169)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:1)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:154)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:76)

                at com.eviware.soapui.impl.wsdl.WsdlProject.run(WsdlProject.java:2360)

                at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1064)

                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)

groovy.lang.MissingPropertyException: No such property: con for class: Script2

                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 Script2.run(Script2.groovy:39)

                at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)

                at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:79)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runScript(WsdlProject.java:2318)

                at com.eviware.soapui.impl.wsdl.WsdlProject.runAfterRunScript(WsdlProject.java:2342)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:169)

                at com.eviware.soapui.impl.wsdl.testcase.WsdlProjectRunner.internalFinally(WsdlProjectRunner.java:1)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:154)

                at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:76)

                at com.eviware.soapui.impl.wsdl.WsdlProject.run(WsdlProject.java:2360)

                at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1064)

                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)

16:51:46,856 INFO  [SoapUIProTestCaseRunner] Project [WDL_AUTOMATION_10mar_DB_INT_Regression] finished with status [FAILED] in 1342ms

16:51:49,758 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,759 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

16:51:49,759 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,759 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

16:51:49,759 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,759 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

16:51:49,894 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,895 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

16:51:49,895 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,895 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

16:51:49,895 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.

16:51:49,895 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

Hi, I also receive the same warnings after build is completed:

11:07:57,800 WARN  [JRConditionalStyleFillerFactory] Conditional style should not have an 'isDefault' attribute.
11:07:57,800 WARN  [JRConditionalStyleFillerFactory] Conditional style cannot have a 'style' attribute.

Any solution for this ?

Thanks

@cata12  Were you able to fix this issue?

TanyaYatskovska
SmartBear Alumni (Retired)

Hi @SomeNameQA,

This topic is 3 years old.

If you face a similar issue, I suggest that you create a separate thread to describe the actual and the expected behavior. The Community will help you.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



cancel
Showing results for 
Search instead for 
Did you mean: