title: Proxy for multiple test environment
body: <p>I am trying to setup Test Automation process to be executed on multiple Under Test Environments acting on intermediate proxy. See below picture</p>
  
  <p><a href="https://i.stack.imgur.com/3uabr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3uabr.png" alt="enter image description here"></a></p>
  
  <p>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...).</p>
  
  <p>This test automation process can be executed on various testing environment (e.g. pre-production and production) depending various factors decided at run time. </p>
  
  <p>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. </p>
  
  <p>I am studying <a href="http://www.squid-cache.org/" rel="nofollow noreferrer">Squid</a> as possible solution but I have not clear if:</p>
  
  <ol>
  <li><p>My idea can work</p></li>
  <li><p>Squid is the correct tool or maybe there is something that fits better</p></li>
  <li><p>It's preferable to have:</p>
  
  <ul>
  <li>one proxy instance/environment</li>
  <li>one proxy instance and TA setup changes dynamically destination environment.</li>
  </ul></li>
  </ol>
  
  <p>Regards</p>