You can deploy virtual services while you are running tests
in IBM® Rational® Quality Manager by
integrating it with Rational Test
Virtualization Server. The integration is accomplished by using Rational Test Control Panel.
This topic describes how to configure Rational Test Virtualization Server as the
automatic deployment provider for virtual services.
Before you begin
Ensure that both
Rational Quality Manager and
Rational Test Control Panel use
the same networking protocol, either HTTP or HTTPS. For information
about how to configure
Rational Test Control Panel to
use HTTPS, see
Configuring Rational Test Control Panel to use HTTPS.
Important: If you set up the integration with a mix of protocols,
with Rational Test Control Panel using
HTTP and Rational Quality
Manager using HTTPS, web browsers will not display the Rational Test Control Panel-contributed
parts of the user interface. For example, the Deployment
Plan selection dialog box will not be displayed. Also,
such configuration is insecure.
About this task
Configure Rational Test Virtualization Server as the
deployment provider for a Rational Quality Management
project area:
Procedure
- In the Rational Quality
Manager console, click .
- Under the Communication drop-down
in the left pane, click Friends (Outbound).
Click Add.
- In the Add Friend dialog, enter
values for the parameters, as follows:
Field |
Description |
Name |
The name of the application to which you are connecting - for
example, RTCP. |
Root Services URI |
The Root Services URI of the application to
which you are connecting (for
example,
http://rtcp.local:7819/RTCP/rootservices). |
OAuth Secret |
A string of your choice. You will not need it
again for this particular integration. |
Trusted |
A parameter that indicates whether the
connection is trusted. Make sure you select the
check box. |
- Click Create Friend. A success message
is displayed.
- Click Next. The OAuth provisional
key that was generated for the connection between Rational Test Virtualization
Server and Rational Test Control Panel is
displayed. You are prompted to authorize this key on the other
server. You can ignore this message because such
authorization is not required for this integration.
- Click Finish. The connection is
established between Rational Test Virtualization Server and
Rational Test Control Panel.
- Go to the settings for your project area in either of the
following ways:
- On the administration page, choose the project area under the
Project Area menu
at the top of the page.
- On any other page in the project area, click the settings icon
at the top-right of the page and click Manage
This Project Area.
In both cases, the Overview page is
displayed.
- In the Associations section, click
Add. In the Add
Association dialog box, enter
values for the parameters as follows:
Field |
Description |
Application |
The application you configured from the list -
for example, RTCP. |
Association |
The type of association that you want to
establish between Rational Test
Virtualization Server and Rational Test Control Panel.
This should always be Uses -
Automation. |
Artifact
Containers |
The domain from which you want to run virtual
services. |
- Click OK and then Save
to save the project area configuration.
What to do next
Run stubs or scenarios as a virtual service in Rational Quality Manager. See
Deploying virtual services using Rational Test Virtualization Server