We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
You want your Resource to give just what the parameters are, not the values for them.
/{projectId}/newpricing/{pcode}/unitsThen in the Test Requests themselves, you set:
projectId = ${Project#ID}or
projectId = ${Project#InvalidID}Yes, this is a typical thing to do. See attached picture for how to structure it.
Thank you for sharing structure and i gave this approach a try! .... but looks like i am not able to change the resource URL in the rest test step level .How did you change the resource URL in these below test steps as i am unable to edit that section ?
For Valid Project ID i see the resource URL is : ${#Project#somevalidproject ID}/newpricing/
and for invalid Project ID is see the resource URL says : : ${#Project#Invalidproject ID}/newpricing
Rest method invoke for request when the test step created looks like this :https://endpointURL/${#Project#project ID}/newpricing/