Forum Discussion
CByler wrote:You can open the project xml, and do a find/replace in there. Close the project, replace, reopen :)
Thanks for your reply. I find this a bit ugly, though. It's a bit like unzipping and opening a docx in a text editor and do a replace on the xml. :smileyhappy:
You could use properties (eg. at Project level). Setup Request fields to use properties, then when a property changes (eg. URL, password, etc) simply change the property, and all requests will pick up that new value. Phil.
- mneiferbag9 years agoContributor
Hi Phil,
PhilK wrote:You could use properties (eg. at Project level). Setup Request fields to use properties, then when a property changes (eg. URL, password, etc) simply change the property, and all requests will pick up that new value. Phil.
Yes. This is a way to avoid the need to search and replace. However, there are times when I don't know in advance what request fields are static and what fields will change. For simplicity, I'm trying to avoid using properties for all fields.
- nmrao9 years agoChampion Level 3Define/Edit endpoint at the service level and then use assign to all requests and test steps.
- mneiferbag9 years agoContributor
Hi Rao
nmrao wrote:
Define/Edit endpoint at the service level and then use assign to all requests and test steps.Yes. This is a way to change the endpoint. But I have a test suite with a lot of requests and I need to change a text inside several requests of this test suite.
Related Content
Recent Discussions
- 5 days ago
- 10 days ago