cancel
Showing results for 
Search instead for 
Did you mean: 

Change URL/Resource that a test step is using.

Highlighted
Occasional Contributor

Change URL/Resource that a test step is using.

We are refactoring some services to live at a different end point. When I edit a test step I do not see an option to change the endpoint! I can select a different one if I re-create the test step but that is too time intensive of a fix. Can I change only some test steps to use a different end point?

2 REPLIES 2
Community Hero

Re: Change URL/Resource that a test step is using.

Hey,

 

I know this is not the most elegant way, but you should be able to fix your issue by opening the xml project file and then use find/replace.



If my answer helped please click on the 'Accept as Solution' button.
Community Hero

Re: Change URL/Resource that a test step is using.

Is the change in the host / port of the service or in the resource path? or request ? parameters?

If change is only in host / port it is easy to change; double click the service and go to 2nd tab, change host / port and click on Assign and select all request and test steps. You are done.

However, if the change is in resource or parameters, I believe there is no simple way to change all tests. Thats is the risk at the beginning of the service implementation if that is prone to changes frequently.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors
Top Kudoed Posts