https://tcpmon.dev.java.net/
http://ws.apache.org/commons/tcpmon/tcpmontutorial.html
Deploy service
Deploy a server a local host, e.g, http://127.0.0.1:8080/axis2/
Start TCPMON (As a Explicit Intermediate)
Local Port(Listen port):input any valid port number, e.g 8383
Target Port: the port you want to listening, e.g 8080 here

Send request to Listen port
Now, instead of sending request to target port, send your request to listen port. So TCPMON will forward the request to target port, and display the request/response in UI.
E.g, http://127.0.0.1:8383/axis2/
Start as a Proxy
if work as a proxy. only need input listen port same with your target port, 8080 here
Deep into code: how to implment a proxy ?
本文介绍了如何利用TCPMon工具部署本地服务器,并将其配置为显式中间代理来监听指定端口上的请求。通过将请求发送到监听端口而非目标端口,TCPMon能够转发请求并显示UI中的请求/响应信息。此外,还提供了将TCPMon设置为代理的工作原理和技术实现细节。
1599

被折叠的 条评论
为什么被折叠?



