This documentation is for WSO2 Carbon 4.2.0. View documentation for the latest release.
Page Comparison - Message Monitoring with TCPMon (v.6 vs v.7) - Carbon 4.2.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

As an intermediary, TCPMon only receives messages and forwards them to the back end server. Therefore, it is a safe tool to be used for debugging purposes.


Follow the steps given below to configure TCPMon to monitor messagesTo monitor messages from client to server using TCPMon:
 
  1. Start TCPMon. Follow the instructions on Starting TCPMon
  2. Give 8081 (the listening port of TCPMon) in the Listen Port field (This could be any unused port in your local machine).
  3. Give the address of the back end server as the target hostname. For example, if you are monitoring messages sent to www.apache.org, enter this web address as the hostname.
  4. Give 80 as the target port, which is the listening port of www.apache.org.
  5. Click Add to save the setting.
  6. Now, point the browser to 'localhost:8081' instead of www.apache.org.

  7. A new tab in TCPMon will indicate the 8081 port. You can view the requests and responses passing through TCPMon as shown below.
  8. The options at the bottom of the screen can be used to have the messages in XML format (useful in debugging Web services), to save and resend the messages and also to switch the layout of the message windows.