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

You can stop a running virtual service instance from the Instances page by using the Stop icon Image of the stop run icon..

Procedure

  1. Log in to HCL OneTest Server.
  2. Open the project that contains the stubs in the test assets by clicking Projects > My Projects > project_name.
  3. 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.
  4. Click the Stop icon Image of the stop run icon. in the Actions column of the virtual service.

    The Stop stub instance dialog box is displayed.

  5. 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.