I am trying to setup Test Automation process to be executed on multiple Under Test Environments acting on intermediate proxy. See below picture
Existing test automation process is based on data-driven testing and it contains urls provided by manual testers from production analysis (e.g. bugs, new features, etc...).
This test automation process can be executed on various testing environment (e.g. pre-production and production) depending various factors decided at run time.
I don't want to have one data-driven scenario for environment because I prefer to avoid multiple scenarios maintenance. Perhaps I am thinking to resolve with intermediate proxy. In my idea this proxy will be part of TA setup and switch traffic toward only one environment for run.
I am studying Squid as possible solution but I have not clear if:
My idea can work
Squid is the correct tool or maybe there is something that fits better
It's preferable to have:
- one proxy instance/environment
- one proxy instance and TA setup changes dynamically destination environment.
Regards