Creating logical TCP connections

In IBM® Rational® Integration Tester, tests and stubs reference the logical resources in a project, so you must create at least one logical TCP connection for each TCP transport that you want to use.

Before you begin

Ensure that there is at least one environment in your Rational Integration Tester project. If there are no environments, you must create one.

Procedure

  1. Open the Logical View of the Architecture School perspective of Rational Integration Tester.
  2. On the toolbar of the Logical View, click General > TCP Connection.

    The New TCP Connection window is displayed.

  3. In the Name field, enter a name for the connection.
  4. Click OK.

    The New TCP Connection window is closed and the new logical TCP connection is displayed in the canvas of the Logical View.

  5. Optional: To bind the connection to a physical TCP server resource in an environment, right-click the TCP connection and click Set Binding in > Environment name > Create new TCP Server or Existing TCP server in the pop-up menu.
  6. Double-click the new logical TCP connection.

    The TCP Connection window is displayed.

    Alternatively, right-click the logical TCP connection and click Open in the pop-up menu.

  7. If you want to associate the new logical TCP connection with a different logical resource, complete the following tasks:
    1. Click Parent.

      The Select a Resource window is displayed.

    2. Under Logical, select a different parent resource.
    3. Click OK.

      The Resource Path field on the Properties tab of the TCP Connection window displays the updated resource path information.

  8. Optional: Click the Bindings tab.
    Note: As an alternative to using the Bindings tab in the TCP Connection window, you can click Project > Edit Environments in the menu bar to open the Environment Editor window and click the Bindings tab to modify the bindings of the selected environment.
  9. Optional: If you did not bind the TCP connection to a physical TCP server resource, UNBOUND is displayed under Binding. To bind the TCP connection, complete the following tasks:
    1. Clicking UNBOUND displays a list of all physical TCP server resources in your Rational Integration Tester project.
    2. Select a physical TCP server resource.
      Note: If there are no physical TCP server resources displayed, you must create one.
  10. Optional: Click the Monitoring tab if you want to add a log file for the new logical TCP connection.

    The log file can be monitored during the execution of a test that involves the new logical TCP connection.

  11. Optional: Click the Documentation tab if you want to enter additional information about the new logical TCP connection.
    Note: Although you do not have to enter this additional information, it might help with the maintenance of the resources in your Rational Integration Tester project or it might help future users of your project.
  12. Click OK.

Results

The new logical TCP connection is added to your Rational Integration Tester project.


Feedback