[Download] | [Documentation Home] | [Release Note]
The aim of this simple tutorial is to explain how the TCPMon works. It explains how messages are exchanged and other important features such as Slow Connection Simulation and HTTP Proxy Support.
Step 1 - Add a listener with the host as www.apache.org and port as 80. Set the listener to port 8080, which may be any unused port in the local machine.
Step 2 - Point the browser to the localhost:8080 instead of www.apache.org.
Once the exchange of messages start, they can be seen on the relevant tab as seen below.
The options at the bottom of the screen can be used to have the messages in XML format (useful in debugging Web services), save and resend the messages, and also to switch the layout of the message windows.
TCPMon can also be used as a request sender for Web services. The request SOAP message can be pasted on the send screen and then sent directly to the server.
TCPMon can act as a proxy. To start the TCPMon in proxy mode, just select the Proxy option. When acting as a proxy, TCPMon only needs the listener port to be configured.
TCPMon can simulate a slow connection, in which case the delay and the bytes to be dropped can be configured. This is specially useful in testing Web services.
If HTTP proxy support is required, then that can also be set on the admin screen.
TCPMon is a simple and easy to use tool that has many benefits when developing message driven applications. It is particularly useful in developing Web services.