Spring Boot Testing Mini-Series Part #5: WebClient Tests
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: https://www.arhohuttunen.com/spring-boot-webclient-mockwebserver/
Example source code: https://github.com/arhohuttunen/spring-boot-test-examples/tree/main/spring-boot-webclient-mockwebserver
Did you find this content useful? You can now support me: https://www.buymeacoffee.com/arhohuttunen
Видео Spring Boot Testing Mini-Series Part #5: WebClient Tests канала Code With Arho
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: https://www.arhohuttunen.com/spring-boot-webclient-mockwebserver/
Example source code: https://github.com/arhohuttunen/spring-boot-test-examples/tree/main/spring-boot-webclient-mockwebserver
Did you find this content useful? You can now support me: https://www.buymeacoffee.com/arhohuttunen
Видео Spring Boot Testing Mini-Series Part #5: WebClient Tests канала Code With Arho
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Spring Boot Testing Mini-Series Part #4: Serialization TestsJUnit 5 Nested Tests TutorialSeven Useful Time Management Tips For Developers to Boost ProductivityUnit Testing Best Practices: The DRY and DAMP PrinciplesSpring Boot Testing Mini-Series Part #2: Web ControllersSpring Boot Testing Mini-Series Part #3: Database TestsA More Practical Guide to JUnit 5 Parameterized TestsSpring Boot Testing Mini-Series Part #1: Unit TestingJUnit 5 with Kotlin for Java DevelopersTips For Using Kotlin With Spring Boot Web ServicesSpring Boot Testing Mini-Series #6: Integration TestsUsing Mockito with JUnit 5