Forum Discussion

ripplegupta's avatar
8 years ago

URGENT HELP!! How do I begin to implement a custom JUnitReportCollector?

I have already seen lot of blogs and post but not much clear about how can i modify existing junitreportcollector class to generate custom report. I need success test step as well in my report.


My current implementation just run mvn test over xml file like:



<environment>Default environment</environment>


Can somebody help here?

3 Replies

  • Any help?

    Only thing i am stuck on is how to instantiate my custom class using standard licensed plugin.

    • rupert_anderson's avatar
      Valued Contributor



      Do you mean you have written a custom Java or Groovy class that you want to use with SoapUI?


      Have you seen the standard way to add libraries to SoapUI:





      The same approach can be used when running from Maven, but the location of the bin/ext folder defaults to the Maven project root. It can also be set by a parameter mvn integration-test "-Dsoapui.ext.libraries=src/test/resources"


      Is this anything like what you mean't?




      • ripplegupta's avatar

        Hi Rupert, thanks for answering.


        I wanted to use method of my class named "MyJunitReportCollector" instead of  "JunitReportCollector" that is used by default in ready api maven plugin. Something like method override.


        But looks like that is not allowed but we can add listeners having my custom code that can run after each step and server my purpose.


        I have groovy code that do step level reporting but i want that to add in my repo instead of  of in events in project.