Forum Discussion
Any help?
Only thing i am stuck on is how to instantiate my custom class using standard licensed plugin.
- rupert_anderson9 years agoValued Contributor
Hi,
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:
http://rupertanderson.com/blog/1-how-to-develop-add-and-use-a-custom-groovy-library-in-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?
Regards,
Rupert
- ripplegupta9 years agoContributor
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.
Related Content
- 3 years ago
- 10 months ago
Recent Discussions
- 6 days ago