Groovy Scripting in SoapUI

I realized I couldn’t automate my XML without the use of Groovy Script.
Still to this day nice features of Groovy Scripting for SoapUI are hidden throughout Forums, Websites and yet not exactly coded where it will work in SoapUI. i.e. vs. println etc..

So I compiled all working scripts that worked in my testing, all of which I’ll explain in layman’s terms so even beginners can grasp the concept.

Use the menu to see various code snipets for SoapUI/Groovy Script