Setting up the HTTP proxy
When you want to run HTTP virtual services on HCL OneTest™ Server, you can set up an HTTP proxy to route requests to the virtual service. You must configure the HTTP proxy with the HCL OneTest™ Server URL and offline user token generated from HCL OneTest™ Server so that the HTTP proxy can register with HCL OneTest™ Server.
Before you begin
You must have installed the proxy component from HCL® Quality Server of the same version as that of HCL OneTest™ Server.
About this task
You must edit the registration.xml file that is located in the <QS_install_directory>\httptcp directory for the following attributes:
- server base-url
- security-token
Procedure
-
Perform the following steps in HCL OneTest™ Server:
- Log in to HCL OneTest™ Server.
- Generate the offline user token.
- Copy the offline user token to a text file.
-
Perform the following steps to edit the registration.xml file that is located in the <QS_install_directory>\httptcp directory:
-
Perform the following steps in HCL OneTest™ Server:
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.