Forum Discussion

Sebastian_Vilst's avatar
Sebastian_Vilst
Contributor
17 years ago

JUnit reporting has a bug

I'm trying to run the testrunner and do a command line run of my project:


testrunner -r -j -freport soapui-project.xml >out.txt 2>&1


It runs, but some of the link in the junit report are not working, they just lead to a blank page.

I've captured std out and std error, and attached my project, the soapui logs and the generated reports.
If you look at the end of out.txt your can see that soapui has some errors:

SystemId Unknown; Line #831; Column #84; java.lang.IllegalArgumentException: argument type mismatch
SystemId Unknown; Line #831; Column #84; java.lang.NullPointerException

13 Replies

  • Tt doesn't?

    It has the testrunner.bat and it's also possible to launch it from the gui.
    Are we thinkning of the same thing?

    I've attached a screenshot from the gui of the non-pro version
  • Hi!

    yes.. but the open-source version of the testrunner will not create JUnit reports in HTML format for you, just the report.xml file which you will have to transform yourself.. Can you show a screenshot of the error?

    regards!

    /Ole
    eviware.com
  • You are completely correct. I had forgotten to delete a pro junit html report from a previous run from the folder, so it appeared as if it was buggy.

    The nonpro edition runs the test just fine and outputs the xml file as you say.

    I apologize for the confusion.