LoadScripts not working: SOAPUI claims it may contain "malicious code" ||-( Why?
On a a colleague's machine SOAPUI refuses to start up mocks automatically. On my system (using same SOAPUI-version v5.6.0, same OS (Windows 10), same soapui project files) it works as it always did. On his machine mocks can be started manually and individually but not by running the LoadScript.
In his log file I found multiple entries reading:
"In project '<project name here>' we have detected Load script that may contain malicious code, if you do not want to receive this message please change the setting in preferences."
What the heck is this supposed to mean? ||-(
The loadscript reads:
for (ms in project.mockServiceList) {
// open window:
def dp = com.eviware.soapui.support.UISupport.showDesktopPanel(ms)
// start mockservice:
ms.start()
// minimize window:
com.eviware.soapui.SoapUI.desktop.minimize(dp)
}
We are using this very same load script since several years in misc. projects. What causes SOAPUI to suddenly consider this as malicious code?
Where is that preference setting that is referenced in the error message? We found nothing in preferences that sounds even vaguely related to maliscious code nor loadscripts (except the checkbox to disable them).
And how to we convince SOAPUI to run this script?