Automatic Generation of Testbeds for