Back to Browse

[Episode 23] API Integration Testing, Postman, JSON Infinite Recursion, and Data Transfer Object

1.9K views
Mar 6, 2023
29:17

🔗 Postman API collection: https://drive.google.com/file/d/1sjpcUldKLfgBtAdt-L4e7ntyk2i3IYsB/view?usp=sharing With the H2 database populated with some test data, in this video, we performed some API Integration testing using Postman. We encountered a stack overflow exception when Jackson tried to serialize an artifact object. This is the "JSON Infinite Recursion in One-to-Many Relationship" problem. The solution is to use a Data Transfer Object (DTO). This video belongs to a playlist "Learn Spring Boot 3 with Bingyang": https://www.youtube.com/playlist?list=PLqq9AhcMm2oPdXXFT3fzjaKLsVymvMXaY I don't want to make a super long video so I split it into smaller ones. If you want to learn Spring Boot 3 systematically, please visit the playlist (and save the playlist) for more Spring Boot 3 tutorials. Feel free to leave a comment if you have any questions. As always, thanks for watching, and happy learning!

Download

0 formats

No download links available.

[Episode 23] API Integration Testing, Postman, JSON Infinite Recursion, and Data Transfer Object | NatokHD