Musaffir
9 years agoContributor
Running SoapUI tests with Maven : Getting org.xml.sax.SAXParseException; Premature end of file excep
Hi,
I am running my SoapUI tests with maven plugin : soapui-maven-plugin version 5.2.0
The test happens successfullly
But in the console i see some ugly exceptions like below . Though this is not affecting the tests , I would like to know the reason for it and possibly remove this exception from the console logs .
org.xml.sax.SAXParseException; Premature end of file. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
I have tried with the soapui-maven-plugin version 5.2.1 too and expereinced the same.
Please let me know if any one has faced this issue and resolved it .
Following is the full content of this exception.
16:32:12,690 ERROR [SoapUI] An error occurred [Premature end of file.], see error log for details org.xml.sax.SAXParseException; Premature end of file. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.eviware.soapui.impl.wsdl.submit.filters.AbstractWssRequestFilter.getWssDocument(AbstractWssRequestFilter.java:63) at com.eviware.soapui.impl.wsdl.submit.filters.WssAuthenticationRequestFilter.setWssHeaders(WssAuthenticationRequestFilter.java:69) at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.copyToRequest(DefaultEndpointStrategy.java:277) at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.applyDefaultsToWsdlRequest(DefaultEndpointStrategy.java:215) at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.filterRequest(DefaultEndpointStrategy.java:196) at com.eviware.soapui.impl.wsdl.submit.filters.EndpointStrategyRequestFilter.filterRequest(EndpointStrategyRequestFilter.java:36) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:172) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119) at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:79) at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:192) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:794) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:211) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Thanks ,
Musaffir