Contributions
Trying to read a composite project file from java getting an error as "Unexpected element: CDA"
Hi Team, Not able to readcomposite project file from java getting an error as "Unexpected element: CDATA". WsdlTestCase testCase = new WsdlProject("src/test/resources/xml/SoapUI") .getTestSuiteByName("TestSuite 1") .getTestCaseByName("TestCase 1"); I also tried to use WsdlProjectPro but getting error as "java.lang.NoClassDefFoundError: com/eviware/soapui/impl/wsdl/WsdlProjectPro". Regards,7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes4CommentsRe: Trying to read a composite project file from java getting an error as "Unexpected element: CDA"
Hi Rao, Thank you. I have added all the Jar in ReadyAPI_HOME/bin/and READYAPI_HOME/lib to class path but still i get the error as given below. Code1:WsdlTestCase testCase = new WsdlProject("src/test/resources/xml/SoapUI") .getTestSuiteByName("TestSuite 1") .getTestCaseByName("TestCase 1"); Error : org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA Code2:WsdlTestCase testCase = new WsdlProjectPro("src/test/resources/xml/SoapUI") .getTestSuiteByName("TestSuite 1") .getTestCaseByName("TestCase 1"); Error:java.lang.NoClassDefFoundError: com/eviware/soapui/impl/wsdl/WsdlProjectPro7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes0CommentsRe: Trying to read a composite project file from java getting an error as "Unexpected element: CDA"
Hi Rao, Thank you for the help. I did add the jar, now I get an different error as "java.lang.NoClassDefFoundError: com/eviware/soapui/model/project/MockServiceLifecycleListener". Regards,7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1Comment- 7 years agoPlace ReadyAPI QuestionsReadyAPI Questions985Views0likes1Comment
package com.smartbear.ready.cmd.runner.pro does not exist
Hi, I am trying to upgrade my Soapui - cucumber test framework to soapui pro - cucumber framework. I am getting a error as "package com.smartbear.ready.cmd.runner.pro does not exist". I have added the plugin as given below in my pom file <plugin> <groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>2.3.0</version> <!-- <configuration> <projectFile>project_path</projectFile> <reportFormat>HTML</reportFormat> <junitReport>true</junitReport> <reports>${basedir}/target/surefire-reports</reports> <environment>Dev</environment> </configuration> --> <executions> <execution> <phase>test</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> Couldsomeone please help.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes3Comments