Forum Discussion

ohaya's avatar
ohaya
Contributor
3 years ago
Solved

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, 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:

 

${#TC57#Username}

${#TestStep#Username}

 

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?

 

Thanks,

Jim

....

1 Reply