Forum Discussion
SmartBear_Suppo
10 years agoSmartBear Alumni (Retired)
Hi,
You could create another environment for the endpoints you do not want to be changed and then switch to that environment using a groovy test step before those requests are ran. You can switch environments dynamically with below code in a Groovy test step.
Regards,
Marcus
SmartBear Support
You could create another environment for the endpoints you do not want to be changed and then switch to that environment using a groovy test step before those requests are ran. You can switch environments dynamically with below code in a Groovy test step.
testRunner.testCase.testSuite.project.setActiveEnvironment("your environment")
Regards,
Marcus
SmartBear Support