Management of virtualized services
Disclaimer: This release
contains access to the Virtual services that virtualize the Istio based
services feature in HCL OneTest™ Server as a Tech
Preview. The Tech Preview is intended for you to view the capabilities for
virtualized services offered by HCL OneTest™ 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. HCL provides
the information without obligation of support and "as is" without warranty
of any kind.
You can find information about the tasks that you can perform on and manage the virtualized services that run on HCL OneTest™ Server. You can start or stop the virtual services that are connected to HCL OneTest™ Server. You can view the routing rules and usage statistics of virtualized services, agents, or intercepts that are connected to HCL OneTest™ Server.
You must create stubs or virtual services in HCL OneTest™ API for the following types of
services. You must commit the virtual service resources to a remote repository and then
add the repository to your project on HCL OneTest™ Server before you can run the
virtual services on HCL OneTest™ Server:
- 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.
Important: You can run virtual services only in
the Default Cluster location of HCL OneTest™ Server. You cannot run
virtual services on a remote Docker host.
The following are the considerations that decide how a container of the HCL OneTest™ Server cluster is selected to run
virtual services:
- 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 HCL OneTest™ API 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
You can perform the following tasks on virtual services on HCL OneTest™ Server:
- Read about the considerations before you configure a run of the virtual services. See Prerequisites for running 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 HCL OneTest Server.
- 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 the HTTP proxy.
- View all intercepts that are registered with HCL OneTest™ Server including those that you have not configured. See Viewing intercepts that are registered with a team space on HCL OneTest Server.
- View virtual service resources in the test assets that are in the repositories added to a project on HCL OneTest™ 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 without using proxies.
- Run Istio stubs that were created in HCL OneTest™ API to virtualize services in the Kubernetes cluster on which HCL OneTest™ 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.