Testing multiple servers with spring boot test

I have a multi-module maven project with a spring service in each module.

The problem I have is that I want to create a test with multiple servers.

So currently I have a couple of tests that are actually starting a server and doing some requests to it using the annotation @SpringBootTest. And preferably I would like to test multiple servers with the same approach as it gives me the opportunity to mock for example the database connections. And I can of course mock parts of the HTTP calls if needed so...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts