This video is the fifth part of the Spring Boot Testing mini-series. In this video, we look at how to write tests for WebClient REST calls.
00:00 Intro
00:18 WebClient responsibilities
03:15 Don't try to mock WebClient
06:03 MockWebServer
07:25 Requests
08:19 Input mapping and serialization
09:15 Deserialization and output mapping
11:00 Error handling
Check out the related blog post: [ Ссылка ]
Example source code: [ Ссылка ]
Did you find this content useful? You can now support me: [ Ссылка ]
![](https://i.ytimg.com/vi/GBKY8QyfNDk/maxresdefault.jpg)