Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
If you have copied the jar file you want to use in the SOAPUI_HOME/bin/ext directory and restart SoapUI Pro you should be able to use the classes and methods in the jar file as usual doing Groovy coding. We do not support custom code solutions, therefore it is up to the user to know how to use the methods and classes in their libraries.
I have a jar file just for an example (the source is included in the jar file) which I can not attach to this forum because the extension .jar is not allowed. Open a ticket at http://www.soapui.org/Support/support-overview.html to get this jar fie. Copy this jar file in SOAPUI_HOME/bin/ext directory and restart SoapUI Pro. Then create a Groovy script test step and add the following code to invoke the class and use one of its methods as an example.
Regards,
Marcus
SmartBear Support
If you have copied the jar file you want to use in the SOAPUI_HOME/bin/ext directory and restart SoapUI Pro you should be able to use the classes and methods in the jar file as usual doing Groovy coding. We do not support custom code solutions, therefore it is up to the user to know how to use the methods and classes in their libraries.
I have a jar file just for an example (the source is included in the jar file) which I can not attach to this forum because the extension .jar is not allowed. Open a ticket at http://www.soapui.org/Support/support-overview.html to get this jar fie. Copy this jar file in SOAPUI_HOME/bin/ext directory and restart SoapUI Pro. Then create a Groovy script test step and add the following code to invoke the class and use one of its methods as an example.
Test t = new Test("joe","smoe");
log.info t.concat()
Regards,
Marcus
SmartBear Support