Forum Discussion

jeffgaer's avatar
jeffgaer
Occasional Contributor
9 years ago
Solved

how to create a groovy script

I am looking at the tutorial at https://www.soapui.org/scripting---properties/scripting-and-the-script-library.html. It does not seem to include the first step, creating the groovy script. Is there a...
  • rupert_anderson's avatar
    rupert_anderson
    9 years ago

    Ok, that does sound like a good candidate for adding a Java/Groovy library and then referring to it. Is the code/library in jar file format? If so, have you tried adding it to the bin/ext folder and restarting? Then you should be able to import its classes from scripts etc.

     

    I was having a search on the community, but I couldn't see any good examples of using java/groovy library jar files in the open source version, most of the discussion seem to be about the pro version's script library functionality. Possible a good quick idea for a blog, am starting a site on this kind of stuff.

     

    Thanks about the book, I hope it proves useful, if there's any feedback/problems please let me know so I can hopefully improve :-)