07 November 2008 - 2.5-beta2 user guide blog eclipse intellij netbeans maven PDF files forums bugs sourceforge eviware.com


Eviware Logo

Apache TcpMon Integration for testing Web Services

The Apache TcpMon utility can be used to "listen in" on any HTTP traffic, including of course SOAP request or response messages. Download and install TcpMon as described on their site and specify the installation directory in the soapUI Integrated Tools Settings.

soapUI provides 2 simple integrations with this useful tool:

  1. From the main Tools menu which will just start TcpMon in a separate process
  2. From the Interface Menu which can be used to create a local proxy for the designated service. This will bring up the following dialog:

TCPMon Launcher

The dialog contains the following options:

  • Endpoint - the target endpoint that TcpMon should invoke
  • Local Port - the local port to that TcpMon should listen on
  • Add Local Endpoint - adds an endpoint to the current service pointing at the created TcpMon proxy

Launching with the above settings will start TcpMon with the following monitor:

TCPMon Launcher

In soapUI, an endpoint has been added to the current service that can be used to invoke TcpMon instead of the service directly (this endpoint must be removed manually):

Endpoint handling for TCPMon

Using this endpoint results in the SOAP request being "proxied" through TcpMon which will be shown as follows:

TCPMon Endpoint Replacement


Next: Command Line Tools