So you have different tests that have different properties requirements and you want to change the springboot properties at runtime for some of the tests. The simplest way to do that is to set the properties using @TestPropertySource annotation. Continue reading