Forum Discussion

ssteinhorst's avatar
ssteinhorst
Occasional Contributor
6 years ago

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

  • Lucian's avatar
    Lucian
    Community Hero

    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.

  • nmrao's avatar
    nmrao
    Champion Level 3
    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.