ChristianB
12 years agoContributor
Nested Properties Example
Hi everyone,
on http://soapui.org/Scripting-Properties/ ... nsion.html the following example "code" is given:
I don't quite understand how the
Also, do I have to enter the quotes (") in the value boxes for the properties?
on http://soapui.org/Scripting-Properties/ ... nsion.html the following example "code" is given:
test = "value"
testexp = "${test}"
-> "${testexp}" evaluates to "value"
testexp = "value"
exp = "${exp}"
-> "${test${exp}}" evaluates to "value"
testxml = "hello"
testxpath = "//value[@id=${id}]/text()"
id = "123"
-> "${#testxml#${testxpath}}" evaluates to "hello"
I don't quite understand how the
exp = "${exp}"bit works. Isn't that variable (property) referencing itself?
Also, do I have to enter the quotes (") in the value boxes for the properties?