sch39
Articles
About
ID
☾
Articles
All
spring-boot
14
go
9
go-engineering-notes
9
java-reactive-microservices-engineering-notes
7
webflux
5
apache-kafka-engineering-notes
4
grpc
3
java
3
validation
1
+62 more
Validation, Global Error Handler, and Integration Test in WebFlux
Oct 2026
This article adds Bean Validation and a global error handler to movies-info-service, then proves them with WebFluxTest and DataMongoTest on top of embedded MongoDB. An invalid body yields 400 with per-field messages, an unexpected exception yields 500 without leaking details, and the old tests from CRUD Reaktif with`ReactiveMongoRepository`(https://sch39.dev/articles/spring-boot-reactive-mongo-crud) still pass without MongoDB in Docker.