Prerequisites for running Istio stubs that virtualize services in Rational® Test Automation Server

You can find information about the tasks that you must complete before you run Istio stubs that virtualize services in Rational® Test Automation Server.

Configuring Istio stubs that virtualize services in Rational® Test Automation Server

When you intend to virtualize services in the Istio mesh in Rational® Test Automation Server, you can create stubs in Rational® Integration Tester.

When you create the Istio stubs in Rational® Integration Tester, you must ensure that you are aware of the fully qualified domain name (FQDN) or the short name of the service that you want to virtualize in the Kubernetes cluster that hosts Rational® Test Automation Server.

The FQDN of the service is as follows:
<service-name>.<namespace>.<svc>.<cluster-name>
The short name of the service is as follows:
<service-name>
For example, if you want to virtualize the HTTP traffic in the service named as reviews that runs in a namespace named as bookinfo, and in the resource named as svc in the Kubernetes cluster named as mycluster, then the FQDN of the service is as follows:
reviews.bookinfo.svc.mycluster
The short name of the service is as follows:
reviews

You must enter the host of the service that you want to virtualize, in the Host field of the physical transport in Rational® Integration Tester. You can provide either the FQDN or the short name of the service.

Note: The pass-through action in the stubs is not supported when the short name of the service is entered in the Host field.

Enabling the running of stubs that virtualize Istio services

Before you run the stubs that virtualize services in namespaces contained in the Rational® Test Automation Server Kubernetes cluster, you must enable Rational® Test Automation Server to determine the namespace that contains the service that you want to virtualize.

Rational® Test Automation Server determines the namespace based on the following configurations of the Host of the physical transport:
  • If you configured the FQDN in the host, Rational® Test Automation Server uses the namespace that is specified in the FQDN.
  • If you configured the short name in the host, Rational® Test Automation Server uses the namespace from among the virtualization namespaces that were provided at the time of installation of Rational® Test Automation Server.

You must specify the namespaces that contain the services that you want to virtualize at the time of the installation of Rational® Test Automation Server.