Forum Discussion

mmoser18's avatar
mmoser18
Frequent Contributor
9 years ago
Solved

How to call some common Groovy code from multiple assertions?

I am really getting that hang of soapUI's scripting capabilities. They are totally groovy, indeed! :-)   I have meanwhile unified my test cases such, that they all execute the same code-snippet whi...
  • rupert_anderson's avatar
    rupert_anderson
    9 years ago

    Hi,

     

    Don't know if you saw this recent post, but despite the title, this might be similar to what you're asking about?

     

    http://community.smartbear.com/t5/SoapUI-Open-Source/how-to-create-a-groovy-script/m-p/115762#U115762

     

    Outlines a [resolved] discussion on how to include a custom Groovy (or Java) library (jar file) by adding it to the bin/ext folder, importing its classes and calling them from scripts.

     

    If you need me to elaborate on any of it or try to give examples I can,

     

    Regards,

    Rupert