Summary
In this chapter, we discussed a lot of topics on testing and debugging microservices. First, we considered unit and integration tests, and also saw some examples of using these in Rust. After this, we explored tools that help us with debugging microservices, including curl and Postman, to send requests manually; mitmproxy to trace all incoming requests and outgoing responses of a microservice; LLDB to explore the running code of a microservice; and Visual Studio Code as a GUI frontend for the LLDB Debugger.
Lastly, we discussed two techniques that used for the largest applications, where you can't simply debug: structural logging and distributed tracing using OpenTracing API.
In the next chapter, you'll learn about some techniques ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access