djangofan
13 years agoContributor
Documentation change suggestion for Scripting-Properties/tip
The documentation has this example multiple times:
But nowhere on the page do they explain where the variable context comes from or how it was initialized.
http://www.soapui.org/Scripting-Propert ... ricks.html
Can this explanation be added to the document? I am having trouble getting that code to work. I understand that context is a PropertyExpansionContext but I do not know how it loads soapui.properties and whether it gets initialized static or not?
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
But nowhere on the page do they explain where the variable context comes from or how it was initialized.
http://www.soapui.org/Scripting-Propert ... ricks.html
Can this explanation be added to the document? I am having trouble getting that code to work. I understand that context is a PropertyExpansionContext but I do not know how it loads soapui.properties and whether it gets initialized static or not?