I have a bamboo plan which utilises a junit test to call SOAP UI tests.
while trying to load the soap ui project file via the SOAP UI API like below:
String path = "something";
SoapUITestCaseRunner testCaseRunner = new SoapUITestCaseRunner(); testCaseRunner.setProjectFile(path);
i am getting an exception "org.apache.xmlbeans.XmlException: error: Unexpected end of file after null"
The soap ui project runs fine when i run it from the SOAP UI interace itself.
This used to work just fine some time back, i havent made any changes to any parts of the code.
Except i keep seeing the following lines now in my soap ui project file:
<con:content><![CDATA[<wsdl:definitions targetNamespace="something.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="something.com" xmlns:intf="something.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
Any ideas on what is going wrong here?
I've found a similar question - the solution there was to uncheck the Discard OK Results option to save the memory consumption. Please make sure if this option is unchecked in your project. You can find more information about it here:
@TanyaGorbunova i have already looked at the post you mentioned and i am already using it as unchecked.