ohaya
3 years agoContributor
How to access TestCase custom property in a request?
Hi, It has been a long time since I worked with SOAPUI, but I am trying to use a custom test step property in a request, but I cannot seem to get it working :(... In the test step custom properties...
- 3 years ago
Hi,
I found the answer. The following works:
${#Username}
The explanation is in the message from "richie" in https://community.smartbear.com/t5/SoapUI-Open-Source-Questions/SoapUi-Property-Expansion-within-the-json-of-the-request-body/m-p/217487#M32009.
This part:
"using the 'scope' thing, youre specifying the "level" at which your properties are held relative to your current focus"
Since the property is at teststep level, and I am using the property at the same level, there is no need for any level above the current level.
Jim