Management of virtualized services
You can find information about the tasks that you can perform on and manage the virtualized services that run on Rational® Test Automation Server. You can start or stop the virtual services that are available to Rational® Test Automation Server. You can view the routing rules and usage statistics of virtualized services, agents, or intercepts that are connected to Rational® Test Automation Server.
You can create stubs or virtual services in Rational® Integration Tester. You must commit the virtual service resources to a remote Git repository, and then add the Git repository to your project on Rational® Test Automation Server if you used Rational® Integration Tester to create virtual service resources.
- A registered API agent.
- The default Kubernetes cluster of Rational® Test Automation Server.
- A remote Kubernetes cluster.
You can run all virtual services on registered API agents except the virtual services that use CICS transport, DB2/Z transport, or Istio.
- Virtual services that utilize the WebSphere® MQ transport.
- Virtual services that utilize the HTTP transport.
- Virtual services that virtualize the Istio based services. You can run virtual
services for the following types of requests received or sent by the Istio
service mesh:
- Requests received by services in the Istio service mesh.
- Requests sent from namespaces in the Istio service mesh to external services that are not in the Istio service mesh.
- Before a container is selected to run a virtual service, it is checked for a previous failure to start a virtual service or for a low heap size, and other conditions. If the container was not found suitable, then it is not selected for running the virtual service.
- Multiple virtual services can be run in the same container if the following
conditions are satisfied:
- Subsequent virtual services are started by the same project member.
- All virtual services are created and contained in the same Rational® Integration Tester project.
- The requests to run the virtual services refer to the same version, meaning that the git commit IDs on which they are based are the same. If you use the UI, this means that the Version field in the Execute virtual service dialog are the same.
- The settings that you configure in the Advanced settings for the virtual services are the same.
- The datasets selected for an override are the same, if datasets are used.
Working with virtual services
- Read about the considerations before you configure a run of the virtual services. See Prerequisites for running HTTP virtual services.
- Read about the considerations before you configure a run of the Istio based services that are virtualized. See Prerequisites for running virtualized Istio based services in IBM Rational Test Automation Server.
- Read about the considerations before you configure a run of the virtual service on an API agent. See Considerations for running virtual services on remote API agents.
- Set up the HTTP proxy, if you have configured stubs in the test assets to use an HTTP proxy to route requests. See Setting up intercepts.
- View all intercepts that are registered with Rational® Test Automation Server including those that you have not configured. See Viewing intercepts that are registered with a team space on IBM Rational Test Automation Server.
- View virtual service resources in the test assets that are in the repositories added to a project on Rational® Test Automation Server. See Viewing virtual service resources.
- Configure runs of virtual services. See Configuring a run of a virtual service.
- Configure runs of HTTP virtual services to run without using proxies. See Running HTTP virtual services in Kubernetes cluster without using proxies.
- Run Istio stubs that were created in Rational® Integration Tester to virtualize services in the Kubernetes cluster on which Rational® Test Automation Server is installed.
- View running instances of virtual services. See Viewing running instances of virtual services.
- View configurations of a running virtual service instance. See Viewing configurations of running instances of virtual services.
- Modify the configurations of a running virtual service instance. See Modifying configurations of running instances of virtual services.
- View details of the usage statistics of the virtual services. See Viewing usage statistics of virtual services.
- View routing rules of the intercepts. See Viewing routing rules of the virtual services.
- Stop a running virtual service instance. See Stopping virtual services.