Calling APIs is business as usual. Building API clients is always good fun, testing them is somewhat trickier.
Wiremock is one of the most frequently used tools to mock APIs. Setting it up for testing purposes in your Spring Boot application is a bit daunting. Or should I say: WAS daunting. Enter WireMock Spring Boot, making your life easier.
In this short talk I’ll introduce the idead behind Wiremock. Next, we’ll put this newly gained knowledge into practice and craft unittests for a JsonPlaceholder client. To conclude, I’ll give an overview of resources and documentation where you can review the covered topics.
Voxxed Days Brussels
General info
- date: 21 - 22 May 2024
- Event information: available on The Voxxed Days Brussels website
- format: Quickie - 15 minutes
- slides: PDF
Resources:
- Wiremock.org
- Wiremock Spring Boot
- Repository of this talk
- Speed up writing tests with Wiremock Spring Boot at devoxx.be 2023
Socials
With over 15 years in IT, @pjdrouillon brings expertise in Java, Data, and education. Join him at #VoxxedDaysBrussels as we learn how WireMock Spring Boot simplifies API testing in Spring Boot applications, making your life easier! ๐
— Voxxed Days Brussels (@VoxxedBrussels) April 25, 2024
More info ๐๐ป https://t.co/hYfpy9MFQJ pic.twitter.com/qdZtZKkn1l