Prerequisites for running HTTP stubs

You can find information about the tasks that you must complete before you run HTTP stubs on Rational® Test Automation Server.

Conditions for running of HTTP stubs

Before you run the HTTP stubs from Rational® Test Automation Server, you must check for the following conditions and perform the actions indicated:
If... Then...

You want to route the HTTP traffic via the HTTP proxy either to the stubs or live systems, based on routing rules.

You must set up the HTTP proxy. See Setting up the HTTP proxy.

You are working with Rational® Test Automation Server V10.1.2 installed on Ubuntu.

HTTP stubs are exposed via host names as the default action and are of the following form:
in-<unique_id>.<INGRESS_DOMAIN>
Note: The DNS used by a computer that runs a client application or the HTTP proxy that routes traffic to the stubs can resolve such host names to the IP address of the ingress domain.
You must perform the following actions that depend on the way you have set up the ingress domain:
  • If you used nip.io, to form the ingress domain, then that stub host names are automatically resolved to the IP address of the ingress domain.
    For example, if you used nip.io to form the ingress domain as follows:
    10.1.2.3.nip.io
    Then the stub host names are resolved by nip.io to the IP address as 10.1.2.3.
  • If you did not use nip.io to form the ingress domain, then you must ensure that the DNS in use by the client application or the HTTP proxy resolves the ingress domain to the IP address of the ingress domain.
    For example, if the ingress domain is of the following form:
    *.<INGRESS_DOMAIN>
    Then the host name must resolve to the <INGRESS_DOMAIN_IP_address>.