Forum Discussion

soylentx's avatar
15 years ago

use groovy result as variable in other groovy script

Hi all,

So, I'm pretty new at this soapui stuff. But it's looking great. I've got one question:

Can I address the result of a groovy script as a variable in a other script? For instance:

Grovy script1 gives a result. I want to set this result to property "number" via a property transfer. And then I want to use the property "number" in another groovy script where I use a variable named "number"?

or

can I get two results from one groovy script each of which I can use as separate properties?

Kind regards,

Jeroen