Thank Todd
Unfortunately, your proposal is not conclusive for me.
I use SoapUI-5.7.0 free version, added line:
<con:setting id="Script Library">C:\Program Files\SmartBear\SoapUI-5.7.0\bin\scripts</con:setting>
on %USERPROFILE%\soapui-settings.xml
Saved script on folder C:\Program Files\SmartBear\SoapUI-5.7.0\bin\scripts\soapui\utils\
Restart SoapUI-5.7.0 and trying to mock up, i got the following error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 2: unable to resolve class soapui.utils.SingleBehavior
I am attaching the project and the groovy script.
Thanks.
Marco Malziotti