Forum Discussion

Anne_Blankert's avatar
Anne_Blankert
New Contributor
16 years ago

Incomplete stacktrace using testrunner

Hi,

Using the TestRunner from the user interface I've been getting error's I don't understand. It looks like an incomplete stacktrace. This seems to happen after a failed testcase returning a http response. Strangely enough it only happens for the last failure returning http within the testcase. For all the others assertions fail as expected.
My Main goal is to get detailed html reports from the testresults and I am uncertain if this error effects the the final output. For now it seems the html output halts at the first test that fails, only reporting "Cancelling due to failed test step".

Can anyone advice on solving this error or on getting a full html test output?

I've added the soapUi log which (to me) seems most relevant to the situation.

----------------------------------------------------
Encoding: UTF-8
Endpoint: http://localhost:8080/dictionary/services
Username: null
Password: null
Domain: null
---------------- Request ---------------------------

 

 
     ?
 

Request Headers: {Host=localhost:8080, Content-Length=312, SOAPAction="", User-Agent=Jakarta Commons-HttpClient/3.1, Content-Type=text/xml;charset=UTF-8}
---------------- Response --------------------------
Apache Tomcat/6.0.18 - Error report

HTTP Status 404 -


type Status report

message

description The requested resource () is not available.


Apache Tomcat/6.0.18


Response Headers: {Date=Tue, 17 Feb 2009 15:10:24 GMT, #status#=HTTP/1.1 404 Not Found, Content-Length=952, Content-Type=text/html;charset=utf-8, Server=Apache-Coyote/1.1}

at com.eviware.soapui.tools.SoapUITestCaseRunner.throwFailureException(SoapUITestCaseRunner.java:397)
at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:345)
at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:127)
at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:72)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:34)

PS: Using SoapUI Pro 2.5.1

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    hm... this actually looks ok to me, the command-line rune runner throws an exception in the main method if any of the tests fail. If you add the -I option the runner wont do this and return 0 (ie success)

    Or am I misunderstanding?

    regards!

    /Ole
    eviware.com
  • Well, if you say this exception is normal behavior it's ok i guess.
    If I add the -I option however, nothing changes. The same exception still appears.