When Rational® Quality Manager is
integrated with Rational Test
Virtualization Server, you can deploy virtual services by using Rational Test Control Panel while
running tests. This topic describes how to run stubs or scenarios
as a virtual service in Rational Quality Manager.
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 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. 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 Rational Test Control Panel.
Results
Virtual services from Rational Test
Control Panel are available for use by the automated or
manual tests that are run from Rational Quality Manager and
that can benefit from service virtualization. For more information
on service virtualization and how to configure the system
under test to use virtual services, see
Virtualizing
HTTP.