开发者

Packet sniffing between different applications in same server

I have two differe开发者_开发技巧nt applications in one tomcat. One application performs an HTTP request to the REST API on the second application.

How can I sniff packets (the request)?

This is my development machine, not the production architecture.

Thanks!


As in the comments, aside from packet sniffing you can try enabling Tomcat's RequestDumperValve to write out all the request parameters being sent to the target server.

This will help confirm the data the 2nd server receives and what values are missing


Wireshark will do everything you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜