WishMarine
14 years agoNew Contributor
How do I read global preferences in a Script Assertion?
How do I read global preferences in a Script Assertion?
http://www.soapui.org/Scripting-Propert ... ricks.html shows "def globalProperty = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "MyProp" )".
But this results in an error "No such property: com for class: Script3".
Something like "def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)" doesn't result in an error.
Probably related to my lack of Groovy skills.
http://www.soapui.org/Scripting-Propert ... ricks.html shows "def globalProperty = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "MyProp" )".
But this results in an error "No such property: com for class: Script3".
Something like "def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context)" doesn't result in an error.
Probably related to my lack of Groovy skills.