Test automation has been a key factor in the optimization of test preparation and execution for years, removing the burden of repetitive manual (regression) test execution and enabling tests to be run more often and at any given moment. More recently, the use of service virtualization to simulate the behavior of critical yet (partially) unavailable systems or system components has become an increasingly popular solution in removing test environment constraints and enabling earlier and more extensive testing. When these two are combined, a setup can be created that is even more powerful than the sum of its parts. This presentation will show you how you can dynamically control and configure your virtualized test environments from within your automated test scripts to achieve increased flexibility in your automated test suite. This synergy also works the other way round: virtualized test environments can enable your automated test setup to check parts of the functionality of your application under test that wouldn’t have been testable when using ‘real’ external test environments. The benefits of this integrated test automation and service virtualization setup is illustrated by means of its implementation at one of my clients, where it has enabled the test team to test more, test better and test faster.