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.
精彩评论