0

I am using soapui free version to generate the report of test cases,but it is only generating a junit report in XML form, now I want to convert that into an HTML form.

jonsca
  • 10,218
  • 26
  • 54
  • 62
pshekhar
  • 166
  • 1
  • 7
  • 1
    Welcome to Stack Overflow! We encourage you to [research your questions](http://stackoverflow.com/questions/how-to-ask). If you've [tried something already](http://whathaveyoutried.com/), please add it to the question - if not, research and attempt your question first, and then come back. –  Oct 12 '12 at 09:14

1 Answers1

1

There are several ways to do that, but you can simply use XSL transformation (junitreport option) as suggested by this answer How can I generate an HTML report for Junit results?

<junitreport todir="${outputdir}">
    <fileset dir="${jrdir}">
        <include name="TEST-*.xml"/>
    </fileset>
    <report todir="${outputdir}/html"
        styledir="junitreport"
        format="frames">
        <param name="key1" expression="value1"/>
        <param name="key2" expression="value2"/>
    </report>
</junitreport>

I would also suggest to consider the possibility to use TestNG, please find out all details here https://stackoverflow.com/questions/12768214/testng-or-junit-in-java/12768737#12768737

Community
  • 1
  • 1
Renat Gilmanov
  • 17,735
  • 5
  • 39
  • 56