Archive: February 2023

Building a Stub Server using WireMock and Spring Boot

Posted on by  
Reggie Ebendal

WireMock is a stub framework that helps you create stubs for outgoing HTTP traffic during your tests. Most people use WireMock in their test suite during build time of the application. Spin up the WireMock server, configure some stub rules, run the application tests, and tear everything down. This is a good way of testing your HTTP clients, using real traffic towards an external server.

Continue reading →