Stopping a virtual service
When you want to stop a virtual service instance that is running in HCL OneTest™ Server, you can stop the running virtual service from the Instances page.
Before you begin
You must have started the virtual service from the Resources page. See Configuring a run of a virtual service.
About this task
Procedure
- Log in to HCL OneTest™ Server.
- Open the project that contains the stubs in the test assets by clicking .
-
Go to the Instances page and identify the instance of the virtual service that you want to stop.
Note: You can stop a running stub if it is in the In Transition or Running state.
-
Click the Stop icon in the Actions column of the virtual service.
The Stop stub instance dialog box is displayed.
-
Click Ok.
A notification message is displayed that the running virtual service instance is being stopped.
Results
You have stopped a running virtual service instance. The stopped virtual service instance on the Instances page is displayed with the status as Stopped by User in the State column. Stopped stubs are not considered in the count of test assets run that is displayed on the Overview page.
What to do next
You can restart the virtual service by completing the configurations that you want from the Resources page.
You can open and view the Main container log of the stopped virtual service.