In IBM® Rational® Integration Tester,
tests and stubs reference the logical resources in a project, so you
must create at least one logical HTTP connection for each HTTP 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.
About this task
Two alternative methods to manual creation of a logical HTTP connection are available:
Procedure
- Open the Logical View of the Architecture School perspective
of Rational Integration Tester.
- On the toolbar of the Logical View, click .
- In the New HTTP Connection window,
enter a name for the connection in the Name field
and click OK. The new logical
HTTP connection is displayed in the canvas of the Logical View.
- Optional: To bind the connection to a physical web server
in an environment, right-click the HTTP connection and click or existing_web_server . For information about creating a new web server, see Creating physical web server resources.
- Double-click the new logical HTTP connection.
The HTTP
Connection window is displayed.
Alternatively, right-click
the logical HTTP connection and click Open in
the pop-up menu.
- If you want to associate the new logical HTTP connection
with a different logical resource, complete the following steps:
- Click Parent.
The Select
a Resource window is displayed.
- Under Logical, select a different
parent resource.
- Click OK.
The Resource
Path field on the Properties tab
of the HTTP Connection window displays the updated
resource path information.
- Optional: Click the Bindings tab.
If you did not bind the HTTP connection to a physical HTTP server
resource, UNBOUND is displayed in the Binding column.
To bind the HTTP connection, click UNBOUND and
choose a web server from the list. If no physical web servers
are displayed, you must create one. See Creating physical web server resources.
Note: Alternatively,
you can modify the bindings for an environment in the Environment
Editor window ().
- Optional: If you want to add a log file for
the new logical HTTP connection, click the Monitoring tab.
The log file can be monitored during the execution of a test
that involves the new logical HTTP connection.
- Optional: If you want to enter additional information
about the new logical HTTP connection, click the Documentation tab. This information can help with the maintenance of the resources
in your Rational Integration Tester project
or help future users of your project.
- Optional: If you want to change the Display
Color option for this transport in the Events View, click
the Recording Studio tab.
- Click OK.
Results
The new logical HTTP connection is added to your Rational Integration Tester project.
What to do next
After you have a logical HTTP connection that is bound to a physical web server in an
environment, use those resources to create tests and virtual services (stubs). See
HTTP testing and
Virtualizing HTTP.