Forum Discussion

JKelsey's avatar
JKelsey
Occasional Contributor
15 years ago

Change property name, not all references are updated

I'm using SoapUI Pro, v 3.6.1.

When you change a property name, not all the references to the original name are updated.

E.g., I started with a suite property called ID, with references in the following locations:
Property Transfer step, Target property
Groovy step, property expansion
REST Request step, request parameter
REST Request step, assertion, XPath match
REST Request step, property expansion within request XML

Then I changed the name of the suite property from ID to OrderID. Some of the references were updated, but not all:
OK - Property Transfer step, Target property - updated to ${#TestSuite#OrderID} as expected
OK - Groovy step, script expansion - updated to ${#TestSuite#OrderID} as expected
*** REST Request step, request parameter - remains ${#TestSuite#ID}
*** REST Request step, assertion, XPath match - remains ${#TestSuite#ID}
OK - REST Request step, property expansion within request XML - updated to ${#TestSuite#OrderID} as expected