Synchronizing application resources of a Kubernetes cluster service in HCL OneTest™ API
After you configure the physical connection to a Kubernetes cluster in HCL OneTest™ API, and when you want to test internal services in a Kubernetes cluster, you can synchronize the application resources of the internal service by using HCL OneTest™ API. You can also select the tests and stubs that are automatically created for the operations.
Before you begin
- Verified that the service in a Kubernetes cluster that you want to use is running.
- Configured the physical connection to the Kubernetes cluster in HCL OneTest™ API. See Configuring a physical connection to a Kubernetes cluster.
- Noted the link to the application resource owned by the internal service in the Kubernetes cluster.
-
Opened your project in HCL OneTest™ API and the Physical View is displayed.
Procedure
- Open the Synchronization tab.
-
Click Web in the toolbar, and then select the type of
resource that the application uses.
For example, if the application uses the OpenAPI 3.0 definition, then select the OpenAPI 3.0 Definition option as the resource type.
The Create a new Synchronization Source dialog is displayed.
-
Complete the following steps in the Create a new Synchronization
Source dialog: