Forum Discussion

mfields's avatar
mfields
New Contributor
13 years ago

Property transfer to pass a value into URL path

I'm creating RESTful  test cases

Having a new project level property set as: xyID to have a property transferred from one of the test steps to another.

The fist test step is to add a "unit" which would create an ID value.  I'm passing this value into the project level property xyID.  I can see that the transfer happens at the 2nd test step.

In the 3rd test step, I need to modify the URL since it holds this ID, thus I'm trying to pass in the value I got in the xyID property like:

http://1.1.1.1:8080/app/${#Project#xyID}_dc123&id=${#Project#xyID}. This change is being made in the resource I'm using as a blueprint for the request in the test suite.

The problem is: the URL does not take the property value. 



Could anyone tell me how I can pass a dynamic property value into a URL?


No RepliesBe the first to reply