06 August 2007 - 1.7.5 | home user-guide eclipse jbossws intellij netbeans maven 1.X/2.X PDF files forums bugs sourceforge

Home
Getting Started
User Guide

- Overview
  - Tabbed Desktop
  - License Management
  - Preferences
  - XPath Selection
  - Script Library
- Workspaces
- Projects
- Interfaces
  - Interface Viewer
- Operations
- Working with Requests
  - Form Editor
  - Outline Editor
  - Message Inspectors
  - Attachments/Inline Files
- Functional Testing
  - Getting Started
  - TestSuites
  - TestCases
    - Test Requests
      - Assertions
      - Editor Wizards
    - Property Transfers
    - Conditional Gotos
    - Groovy Scripts
      - Examples
      - GroovyUtils
    - Properties Step
    - Delay Step
    - Mock Response
    - DataSource
    - DataSource Loop
  - Property Expansion
- Load Testing
  - Getting Started
  - Limit & Strategies
  - Execution
  - Assertions
  - Diagrams
  - JMeter comparison
- Mocking
  - Getting Started
  - Mock Services
  - Mock Operations
  - Mock Responses
- Usage Scenarios
  - Data-Driven Testing
  - Template-Driven Testing
  - Interactive Testing
  - Surveillance Testing
- Tool Integrations
  - Code Generation
  - WSDL Generation
  - WS-I Tools
  - Apache Tcp-Mon
- CommandLine Tools
  - TestCaseRunner
  - LoadTestRunner
  - MockServiceRunner
  - ToolRunner
- Keyboard shortcuts

IDE/Tool Plugins
Search soapUI site
Project Documentation

- About soapUI
- Project Info
- Project Reports

## Apache Tcp-Mon Integration

The Apache Tcp-Mon utility can be used to "listen in" on any http-traffic, including of course SOAP request/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 usefull tool:

1. From the main Tools menu which will just start TcpMon in a seperate 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:

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:

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):

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

Next: Command-Line Tools