Deploying virtual services by using Rational® Test Virtualization Server
When IBM® Engineering Test Management is integrated with Rational® Test Virtualization Server, you can deploy virtual services by using Rational® Test Control Panel while you run tests.
Before you begin
Integrate Rational® Test Virtualization
Server with Engineering Test
Management as described in Integrating Rational Test Virtualization Server with IBM Engineering Test Management.
Important: When you integrate Rational® Test Virtualization
Server with Engineering Test
Management (that uses HTTPS communication) for deploying virtual services, ensure that Rational® Test Control Panel also uses HTTPS. For more information, see
the procedures described in Configuring Rational Test Control Panel.
About this task
Run stubs or scenarios as a virtual service:
Procedure
- In Engineering Test Management, 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 then click Run with Options.
- Click the edit icon next to the Deployment Plan field. The deployment plan selection dialog box displays the stubs and scenarios that are available from Rational® Test Control Panel.
- 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. The 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 Engineering Test
Management test or suite that you selected is
displayed. In this view, you can also 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 Rational® Test Control Panel.