Exception executing testrunner whit a composite project
Hi,
I have ReadyAPI 3.30.
I convert 2 projects form "normal" to composite project, one work the other no,
Viewing logs I figure out this issue:
12:27:10,027 ERROR [SoapUI] An error occurred [Failed to load project from file [file:/C:/Progetti/UAA/Readyapi/UAA---Get-for-ReadyAPI-readyapi-project/Test-Suite-1/]], see error log for details
12:27:10,034 ERROR [errorlog] com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Progetti/UAA/Readyapi/UAA---Get-for-ReadyAPI-readyapi-project/Test-Suite-1/]
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Progetti/UAA/Readyapi/UAA---Get-for-ReadyAPI-readyapi-project/Test-Suite-1/]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:619) ~[ready-api-soapui-pro-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:330) [ready-api-soapui-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:309) [ready-api-soapui-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:232) [ready-api-soapui-pro-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:93) [ready-api-soapui-pro-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1) [ready-api-soapui-pro-3.30.0.jar:3.30.0]
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:533) [ready-api-runners-3.30.0.jar:?]
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:206) [ready-api-runners-3.30.0.jar:?]
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:101) [ready-api-runners-3.30.0.jar:?]
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:97) [ready-api-runners-3.30.0.jar:?]
Caused by: org.apache.xmlbeans.XmlException: Element testSuite@http://eviware.com/soapui/config is not a valid soapui-project@http://eviware.com/soapui/config document or a valid substitution.
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:332) ~[xmlbeans-3.1.2-sb-fixed.jar:?]
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1279) ~[xmlbeans-3.1.2-sb-fixed.jar:?]
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263) ~[xmlbeans-3.1.2-sb-fixed.jar:?]
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345) ~[xmlbeans-3.1.2-sb-fixed.jar:?]
at com.eviware.soapui.config.SoapuiProjectDocumentConfig$Factory.parse(Unknown Source) ~[ready-api-soapui-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:715) ~[ready-api-soapui-pro-3.30.0.jar:3.30.0]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:502) ~[ready-api-soapui-pro-3.30.0.jar:3.30.0]
... 9 more
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/C:/Progetti/UAA/Readyapi/UAA---Get-for-ReadyAPI-readyapi-project/Test-Suite-1/]
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:619)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:330)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:309)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:232)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:93)
at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.getWsdlProject(AbstractSoapUIRunner.java:533)
at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:206)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:101)
at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:97)
Caused by: org.apache.xmlbeans.XmlException: Element testSuite@http://eviware.com/soapui/config is not a valid soapui-project@http://eviware.com/soapui/config document or a valid substitution.
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:332)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1279)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.eviware.soapui.config.SoapuiProjectDocumentConfig$Factory.parse(Unknown Source)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.b(WsdlProjectPro.java:715)
at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:502)
... 9 more
I solved.
My project have 2 test suites, and I wanted to execute just one, so with testrunner i put the tree path not the root.
I put the root and everything is ok