Deploying virtual services by using HCL OneTest™ Virtualization
When Rational® Quality Manager is integrated with HCL OneTest™ Virtualization, you can deploy virtual services by using HCL Quality Server while running tests.
Before you begin
Integrate HCL OneTest™ Virtualization with Rational® Quality
Manager as
described in Integrating HCL OneTest Virtualization with Rational Quality Manager.
Important: When
you integrate HCL OneTest™ Virtualization with Rational® Quality
Manager (that
uses HTTPS communication) for deploying virtual services, ensure that HCL Quality Server also
uses HTTPS. For more information, see the procedures described in Configuring HCL Quality Server.
About this task
Run stubs or scenarios as a virtual service:
Procedure
- In Rational® Quality Manager, on the artifact list, find the test case execution records or test suite execution records that you want to run.
- Select the execution record.
- Open Run Test menu and click Run with Options.
- Click the edit icon next to the Deployment Plan field. The deployment plan selection dialog box shows the stubs and scenarios that are available from HCL Quality Server.
- Click Environment to select an environment in which to run the virtual service. There is also an option to choose whether to run a scenario or a stub as a virtual service. Create a scenario containing the configuration to use for the test in advance. Click OK.
- Optional: In the Run with Options dialog, select Remember selected deployment plan for future run. Doing so helps you repeat the tests any number of times based on the same deployment configuration.
- Click OK. This Deployment dialog box is displayed.
- Select whether to use an existing deployment or a new deployment.
-
Click OK, Start
scenario, or Start stub based
on your action in the previous step. The execution
view for executing the Rational® Quality
Manager test
or suite that you selected is displayed. In this view,
you will see a link to the virtual service that you are using.
- Move the cursor over the link to view the status of the stub or scenario.
- Wait for the status to change to "Running" before you start using the service.
- After the test is completed, stop the virtual service by clicking Stop in the hover window. If a stub has multiple instances, you must stop each one of them individually; stopping all the instances at once is only possible on HCL Quality Server.