Not able to read composite 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"
.
Please Note: I have added all the Jar in ReadyAPI_HOME/bin/ and READYAPI_HOME/lib to class path but still i get this error. Can someone help.
Used this code to add the ReadyAPI_HOME jars in pom.xml
<plugin>
<groupId>com.googlecode.addjars-maven-plugin</groupId>
<artifactId>addjars-maven-plugin</artifactId>
<version>1.0.5</version>
<executions>
<execution>
<goals>
<goal>add-jars</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${basedir}/src/lib</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>