Talk

Mocking your microservices with mock-server

Tools-in-Action
Cloud, Containers & Infrastructure

How can I test my microservices? It's an often heard question that leads to a lot of debate. Deployment and interdependence with other services are the challenges we're facing there. So, what if we could treat our microservices tests just like our familiar unit tests? What if we could isolate the microservice and mock all its dependencies? With mock-server you can do just that. Mock-server lets you mock any http service, making you independent of other teams building those services. And the best part is, you can use it with the tools you already know like JUnit, Maven and Docker and do all the things you already know from your favorite Java mocking framework. You can run mock-server locally, as part of your Maven build or as a Docker image in your cloud environment. In this session I will show you exactly how you can use mock-server for your tests.

Scheduled on Monday from 18:15 to 18:45 in Room 8

MicroServices
Testing
Automation
Mocks

Jaap Coomans

GROUP9

Jaap is a Java and Kotlin developer with more than 10 years of experience in Java development in various environments. He's passionate about the JVM ecosystem and Open Source technology and likes to combine architecture and design with hands-on development. Outside IT he loves playing board-games and drinking craft beer with friends and colleagues.

Talks by tracksTalks by session typesList of SpeakersSchedule