Prerequisites for running virtualized Istio based services in IBM® Rational® Test Automation Server

Disclaimer: This release contains access to the Virtual services that virtualize the Istio based services feature in IBM® Rational® Test Automation Server as a Tech Preview. The Tech Preview is intended for you to view the capabilities for virtualized services offered by Rational® Test Automation Server, and to provide your feedback to the product team. You are permitted to use the information only for evaluation purposes and not for use in a production environment. IBM provides the information without obligation of support and "as is" without warranty of any kind.

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

Configuring virtualized Istio based 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.

Considerations for 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 install Rational® Test Automation Server with the demo configuration.

When you install Rational® Test Automation Server by using the demo configuration, then Rational® Test Automation Server is preconfigured to use the bookinfo namespace as the virtualization namespace.
Note: You can change or add virtualization namespaces by adding the helm installation argument execution.istio.namespaces along with a list of namespaces in a helm command.

After you author the virtualized Istio based services, you must commit the virtual service resources to a repository and add the repository to the project on Rational® Test Automation Server. You can configure a run of the virtualized Istio service. See Configuring a run of a virtual service.

Collection of usage metrics

If you want Rational® Test Automation Server to display the usage statistics of the virtual service instances, you must install the Prometheus server at the time of server installation.