Currently I have 20+ Test Suite which run as individual Job in jenkins. This will generate respective testng report on the nodes that it ran (index.html). can i consolidate all the 20+ reports into one report and show the reports for each cycle of execution.

  • are those test suite running in parallel of each other at the same time or not?
    – Yu Zhang
    Commented Dec 13, 2017 at 17:38
  • @YuZhang Yes all the test suites/jobs runs in parallel on available nodes Commented Dec 14, 2017 at 8:40

1 Answer 1


While generating reports I use org.uncommons.reportng.HTMLReporter and org.uncommons.reportng.JUnitXMLReporter from reportNG framework.

I use the following Ant Task to combine reports:

<target name="report.nightly" description="Generates the junit test report  project."> 

        <junitreport todir="${reports.combine}/logs"> 

            <!--testNg reports --> 
                <fileset dir="${reports.testng}/logs"> 
                        <include name="*/*.xml"/> 

          <!--junit  reports --> 
                <fileset dir="${reports.junit}/logs"> 
                        <include name="TEST-*.xml" /> 

                <!--consolidated reports --> 
                <report format="frames" todir="${artifacts.tests}" /> 


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.