How to collect network requests trace of a microservice program and make it run independently with proper mock tools?
I have a microservice program that runs on physical machines, which receives requests from other upstream services on the network and requests data from other downstream services on the network. I want to test the performance of this microservice program individually, so I want to exclude the influence factors of the network and the status of upstream and downstream services.