scruzvx
5 years agoOccasional Contributor
Endpoint takes reference expression literally
Hi community
I am having an issue to run a REST GET, I need to sent a value as a header and I have a main service that generate the needed ID. In the header I add this reference ${#Project#ID} but the endpoint is literally taken "${#Project#ID}"
I already remove the ${#Project#ID} expression and put the ID generated "gbxsrtuiosnfj2$.483...etc" and it works fine.
I need to mandatory use the ${#Project#ID} or alternative way because this test is going to run automated.
I hope someone be able to help me with this problem.
Thank you.
I am having an issue to run a REST GET, I need to sent a value as a header and I have a main service that generate the needed ID. In the header I add this reference ${#Project#ID} but the endpoint is literally taken "${#Project#ID}"
I already remove the ${#Project#ID} expression and put the ID generated "gbxsrtuiosnfj2$.483...etc" and it works fine.
I need to mandatory use the ${#Project#ID} or alternative way because this test is going to run automated.
I hope someone be able to help me with this problem.
Thank you.
- No problem.
You may also look at the documentation
https://support.smartbear.com/readyapi/docs/requests/rest/types.html