Forum Discussion

ohaya's avatar
3 years ago

How to access TestCase custom property in a request?


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, I have a property named "Username" with value "XXXXXXXXXX".  The test step name is "TC57".

Then, in the request I have I want to get the value of that property in the request.

I have tried:





but neither of those cause the "XXXXXXXXXX" to be inserted into the request.


If I try the same thing with ${#Project#Username} it works fine (it pulls in the value into the request, but I need the property to be at test step level.


What am I doing wrong?





1 Reply