Forum Discussion
https://community.smartbear.com/t5/API-Functional-Security-Testing/A-bit-more-groovy-help-Populating-a-REST-URI-with-Properties-Set/m-p/177463
- kite0014 years agoNew Contributor
Thank you, i found a easy way to do it:
add my property in resources. then it will set the value for child resource and also in my testcase. The problem is now when i change the value its not updated. A workaround to update is to remove the property, make a new one with same name and my new value. Then the new value is stored again in all resource-childs and teststeps.When i change the value and press "Revert all parameters to default value" then i get the actual value. but i have to do in all teststeps.. Is there anoth method to "push" or "update"
- nmrao4 years agoChampion Level 3Sorry, I could not follow you.
Would you please show with a screen shot? or a sample test case, export the same and attach here so that it is easy to reproduce.- kite0014 years agoNew Contributor
In step 1) i add the "anyid" to my "main-resource" Shop. And in step 2 its added with correct value for all my requests in child-resource and TestStep. Thats what i want. But when i change the "anyid" to another value in step 1 my "anyid" parameter in step 2 is not overwritten with the new value. Its still my value that i set first time. My workaround is to delte the "anyid" in main-resource and add it again with name the same name "anyid" and my new value. Than the new value is set for all like in step 2. Is there an option to push the new value after changed it in my main resource to all my requests in step 2? I hope that was understandable. otherwise you can gladly ask again
Related Content
- 6 years ago
- 6 years ago
Recent Discussions
- 2 days ago
- 2 days ago