Forum Discussion
austino
10 years agoContributor
Hopefully I can help, although I'm fairly new myself.
If you have an authenticate step that creates these IDs, you can use a Property Transfer to transfer them to a variable. Variables can be set at a Global, Project, Test Suite, or Test Case level. (Here's a good link: http://www.soapui.org/Functional-Testin ... rties.html) On my project I've been using variables at a project level, so if you had a variable called BusinessID and UserID, your endpoint would look like this <host>/smallbusiness-user-accessrole/small-business/businesses/${#Project#BusinessID}/users/${#Project#UserID}
If you want to set these as parameters, go to the Method level and just use these variables and it will work.
For example, I have my authenticate method show as this: Endpoint: ${#Project#Endpoint}, Resource: /v1/m1/Organization, Parameters; ?Token=${#Project#Token}
I learned all of this from that properties link above, so I hope that helps get you on the right track.
If you have an authenticate step that creates these IDs, you can use a Property Transfer to transfer them to a variable. Variables can be set at a Global, Project, Test Suite, or Test Case level. (Here's a good link: http://www.soapui.org/Functional-Testin ... rties.html) On my project I've been using variables at a project level, so if you had a variable called BusinessID and UserID, your endpoint would look like this <host>/smallbusiness-user-accessrole/small-business/businesses/${#Project#BusinessID}/users/${#Project#UserID}
If you want to set these as parameters, go to the Method level and just use these variables and it will work.
For example, I have my authenticate method show as this: Endpoint: ${#Project#Endpoint}, Resource: /v1/m1/Organization, Parameters; ?Token=${#Project#Token}
I learned all of this from that properties link above, so I hope that helps get you on the right track.
Related Content
- 6 years agorg2018