Testing shared assets with Rational Quality Manager

You can make Rational® Performance Tester and Rational Service Tester for SOA Quality projects and test assets shareable in Rational Quality Manager. This allows any computer with Rational Performance Tester or Rational Service Tester for SOA Quality which is connected to Rational Quality Manager to execute a test or schedule which has been shared in Rational Quality Manager.

Before you begin

When you are working with tests or schedules from a remote shared location, Rational Performance Tester or Rational Service Tester for SOA Quality uses a local workspace for the Rational Quality Manager adapter. This adapter workspace is different from normal workspaces because the test assets are stored remotely. This means that every asset related to the test or schedule is downloaded from the shared location into the local workspace before execution. The following limitations apply:
  • Assets in the adapter workspace might be deleted or overwritten with newer versions when updates are made to the shared location.
  • If you change the shared location in the adapter workspace, the entire project is removed from the adapter workspace.
  • Test results are stored in a different project, called RQM_Results, and are never deleted. The Rational Quality Manager test result page links to the correct location.
Note: Do not edit test assets in the adapter workspace because you might lose your work. Use these assets only for running tests and schedules.
If you are using source control and want to include only the minimum required assets, then include the following files:
  • All *.testsuite tests and schedule files.
  • The /src directory if you use custom code.
  • All *.dp datapool files.
  • All *.location location files.
  • Any digital certificates.
  • Any WSDL and SOA security files.
All other assets, such as test results, are not required.

Any custom code Java™ classes in the shared assets cannot use libraries which exist outside of the workspace. If your custom code must use such a library, then copy the library into the project and update the classpath to use the local copy.

About this task

To share performance or service tests and schedules in Rational Quality Manager

Procedure

  1. Create a shared directory on the computer that hosts the UNC file system containing the Rational Performance Tester or Rational Service Tester for SOA Quality projects that you want to share. For example: C:\MyRemoteWorkspace.
  2. Copy the Rational Performance Tester or Rational Service Tester for SOA Quality projects that you want to share into th shared directory. If a project is stored in source control software, then copy it from there.
  3. Check that the Rational Quality Manager server can access the shared directory using UNC paths. For example: \\MyServer\RPTRemoteAssets\ must be mapped to C:\MyRemoteWorkspace.
  4. In Rational Quality Manager, specify the directory containing the actual test projects located in the shared directory.
  5. Check that you have correctly specified the UNC shared directory by browsing for the shared resource. Ensure that the first dialog contains the projects at the first level. You must not have intermediate directories between the UNC shared directory and the project directory.

What to do next

See the Rational Quality Manager information center for more information about setting up shared resource locations and importing shared scripts.

Feedback