Forum Discussion
SmartBear_Suppo
Alumni
14 years agoHi Chris,
I think you would basically need to loop through all the teststeps in each testcase prior to executing it and
1) check if the teststep is a HttpRequestTestStep
2) if it is, cast it to such and use the getHttpRequest() method to get the request object on which you can call setEndpoint( .. ) to change the endpoint
does that help?
regards,
/Ole
eviware.com
I think you would basically need to loop through all the teststeps in each testcase prior to executing it and
1) check if the teststep is a HttpRequestTestStep
2) if it is, cast it to such and use the getHttpRequest() method to get the request object on which you can call setEndpoint( .. ) to change the endpoint
does that help?
regards,
/Ole
eviware.com