Add support for dynamic ports in load tester