Recording TCP traffic
The Rational® Integration Tester HTTP/TCP Proxy, enables Rational® Integration Tester to record general TCP traffic that is routed through the proxy or to route TCP traffic to stubs automatically when they start instead of routing traffic through the live system.
Before you begin
- In
Rational® Integration
Tester, create the required physical TCP server
resource and logical TCP connection in your project. Completing this
task enables
Rational® Integration
Tester to connect to the physical TCP server
and to record logical resources.Note: In the Recording tab of the TCP Server window, click External Proxy Server in the Recording Mode list.
- Ensure that your
Rational® Integration
Tester project is connected to a
valid instance of
Rational® Test Control
Panel. Completing this task enables
Rational® Integration
Tester to issue
commands to the HTTP/TCP proxy.Note: To ensure that the connection is working correctly, click Project > Project Settings on the menu bar, click the Server Settings tab on the Project Settings window, and verify that a green checkmark icon is displayed next to the URL field on the Rational® Test Control Panel area of the tab. If there is no URL displayed or if there is a red cross icon next to the URL field, contact your Rational® Integration Tester project administrator.
- Ensure that a domain is selected on the Server Settings tab
on the Project Settings window. If there are
no domains, a domain must be created by a
Rational® Test Control
Panel administrator.
Recording occurs within a domain and the HTTP/TCP proxy can be registered
with all domains or a single domain in the
Rational® Test Control
Panel instance
that you are using. Therefore, selecting a domain in
Rational® Integration
Tester
enables the application to record TCP transport traffic.Note: If you are using Rational® Test Control Panel 8.5.1.1 or later and domain-level security is enabled, you can connect only to domains to which you have been granted access.
- Install and configure the HTTP/TCP proxy and ensure that the host name and port number of the proxy are entered under Port Forwarding Proxy in the Client tab of the TCP Server window. Completing this task enables Rational® Integration Tester to record TCP transport traffic.
About this task
The Rational® Integration Tester HTTP/TCP proxy supports any data that are sent over TCP/IP but it also supports richer functionality if the messages that are being sent are Financial Information eXchange (FIX) protocol messages.
This additional support enables content-based routing, that is, routing messages by deriving a destination from the actual content of each message rather than by using a specified end-point reference.
Procedure
- Open the Recording Studio perspective.
- Create a recording monitor for the TCP traffic that you want to record.
- Start a recording session by clicking Start Recording () on the toolbar of the Events View window.
- In Rational® Test Control Panel, open the Infrastructure Dashboard, expand the agent card, and from the Activities tab verify that recording has started.
- Wait for recorded events.
- Stop the recording session by clicking Pause recording () on the toolbar of the Events View window.