Using the HTTP/HTTPS proxies in transparent mode

Generally, you can configure the settings in the client to route the HTTP and HTTPS traffic through the proxy. In some cases, the client cannot be configured with the proxy settings. In such cases, the client is directly configured with the proxy as the end point that in turn defines the final destination. You can do this by configuring the forwarding rule in the proxy that directs the traffic arriving in a specific port to the final destination.

About this task

To configure the forwarding rule in the proxy and to configure the client with defined proxy details:

Procedure

  1. Find the destination URI used by the client.
  2. Using any text editor, open the registration.xml file that is available in Rational Integration Tester Platform Pack installation directory/httptcp location.
  3. In the registration.xml file, add the TCP forward rule for the destination URI and specify the proxy port for recording the HTTP or HTTPS traffic for the client.
    • Example of TCP forward rule for HTTP: <forward bind ="121.203.201.2:3333" destination ="www.example.com:80" type="http"/>
    • Example of TCP forward rule for HTTPS: <forward bind ="121.203.201.2:3334" destination ="www.example.com:443" type="https"/>
    Note: The host name or the IP address specified for the bind attribute determines which network interface the proxy listens on.
    • IP address: Binds to the specified adapter
    • 0.0.0.0: Binds to all the addresses/adapters on the machine. Specify this value if you do not know the specific hostname or IP that the machine is listening on
    • localhost: Allows connections only from the local machine
  4. Configure the client to use the defined proxy host and the port as the final destination.
  5. Restart the proxy.

Feedback