The scenario I'm consdering is using Feign clients to help me write rest integration tests against mvc controllers. Moreover, I'd like to run these tests in parallel while leveraging @WebIntegrationTest(randomPort = true). The limitation I'm running into is not being able to set the port for the many feign clients(e.g. using local.server.port) cross-cuttingly. I know I can use @RibbonClient(name="foo", configuration= StaticServerListOverrideFooConfig.class) however this means I would need to add this annotation in 10s-100s of test classes(multiple times in the cases where an integration uses more then one rest client). I'm wondering if there is some other way to propagate the local port to feign/ribbon. Any ideas are greatly appreciated.