Is it possible to use test lists across different environments if a list contains tests that use different URLs? For example, Test A uses URL abc.com to hit an API that determines the status of a widget. In the middle of Test A, it calls Test B, which uses URL xyz.com to hit a different API that updates the status of the widget. Test A then continues and verifies that the status of the widget has changed.
Currently, I'm "hard-coding" the URL in Test A and Test B and dropping the tests into a list. This works fine for one environment, but we will be moving our APIs to Production eventually, so I'd like to be able to just change the test list to point to the new environment rather create separate tests for each environment.
I'm not seeing a way to make this work, but I thought maybe I'm overlooking something. Any insight (or a work-around) you can provide me will be appreciated!