Setting up the HTTP proxy
When you want to run HTTP virtual services on IBM® Rational® Test Automation Server, you can set up an HTTP proxy to route requests to the virtual service. You must configure the HTTP proxy with the Rational® Test Automation Server URL and offline user token generated from Rational® Test Automation Server so that the HTTP proxy can register with Rational® Test Automation Server.
Before you begin
You must have completed the following tasks:
- Installed the proxy component from Rational® Test Control Panel of the same version as that of Rational® Test Automation Server.
- Read the following procedures:
- Generating offline user tokens. See Managing access to IBM Rational Test Automation Server.
- Viewing the Team Space ID as the URL alias of the team space. See Viewing the configuration of a team space.
About this task
You must edit the registration.xml file that is located in the
<RTCP_install_directory>\httptcp directory for the
following attributes:
- server base-url
- security-token
- team-space-id
Procedure
-
Perform the following steps in Rational® Test Automation
Server:
-
Perform the following steps to edit the registration.xml
file that is located in the <RTCP_install_directory>\httptcp directory on the computer on
which you have installed
Rational® Test Control
Panel:
-
Perform the following steps in Rational® Test Automation
Server to view the HTTP
proxies that are registered in the team space:
Results
What to do next
- Read for the prerequisite tasks that you must perform before you can run the HTTP stubs. See Prerequisites for running HTTP virtual services.
- Run the virtual service resource. See Configuring a run of a virtual service.
- View the routing rules for the intercept. See Viewing routing rules of the virtual services.
- View the routing rules for the intercept in a running instance of the virtual service. See Viewing configurations of running instances of virtual services.