Publishing test results to Rational® Test Automation Server

The test result indicates the quality of the application under test. Different stakeholders to the application might want to check the quality of application but do not have Rational® Integration Tester installed. You can publish the test result reports to Rational® Test Automation Server so that others can view it from a web browser.

Before you begin

You must have completed the following tasks:
  • Installed Rational® Test Automation Server and configured a project.
  • Logged in to Rational® Test Automation Server and copied the offline user token generated by using the Create Token option from the menu in the Rational® Test Automation Server Header. You must have copied the offline user token in the Rational® Integration Tester UI. For more information, see Rational® Test Automation Server Documentation.

About this task

You can configure the auto-publishing option for publishing test result reports to Rational® Test Automation Server by using the Project Settings menu option. When the auto-publishing option is activated, the test result report is automatically published to Rational® Test Automation Server whenever you run a test suite or test in Rational® Integration Tester.

Procedure

  1. Click Project > Project Settings, and then click the Server Settings tab.
    Image of the Server Settings tab.
  2. Use the fields under Results Database to create or modify a database connection:
    1. Select the provider and enter the connection details about where and how the database is set up for Rational® Integration Tester.
    2. Click Test Connection to test the connection to the configured Results Database.

      If the test is successful, no further configuration is required. If the test is unsuccessful, you must verify whether the connection settings are correct and then try again.

  3. In the Rational® Test Control Panel section, complete the following steps:
    1. Specify the URL for Rational® Test Control Panel.

      The server URL (https://localhost:5443/RTCP, by default) must point to the base URL of the server instance that runs the published stubs and manages the scheduled test runs.

    2. Optionally, click Open to open an instance of Rational® Test Control Panel.
    3. Select the default domain name to use from the list under Domain when Rational® Integration Tester publishes stubs to Rational® Test Control Panel.
    4. Optionally, click SSL to specify SSL connection details for that server instance.

      The Server SSL Options dialog box opens.

    5. Select one of the following options if you have opted to specify the SSL details:
      Option Description

      Trust all certificates

      Use this option to accept any certificate that is presented by the server.

      Trust certificates signed by the inbuilt certificate authority

      Use this option to accept any certificate presented that was signed by the inbuilt certificate authority.

      Trust specific trust store

      Use this option to select a specific Java keystore within the project. This keystore contains the trusted certificates that is used to verify the certificate that is presented by the server.

    6. Click Publish results database connection to publish the details of your results database to the server if you have configured a results database and a server URL.
  4. In the Rational® Test Automation Server section, complete the following steps:
    1. Select the Rational® Test Automation Server check box to enable the fields in this section.
    2. Enter the host name of Rational® Test Automation Server.
    3. Paste the offline user token that you generated on Rational® Test Automation Server.
    4. Optionally, click SSL to specify SSL connection details for that server instance.

      The Server SSL Options dialog box opens.

    5. Select one of the following options if you have opted to specify the SSL details:
      Select one of the following options:
      Option Description

      Trust all certificates

      Use this option to accept any certificate that is presented by the server.

      Trust certificates signed by the inbuilt certificate authority

      Use this option to accept any certificate presented that was signed by the inbuilt certificate authority.

      Trust specific trust store

      Use this option to select a specific Java keystore within the project. This keystore contains the trusted certificates that is used to verify the certificate that is presented by the server.

      Important: You must enter the offline user token before you test the connection to Rational® Test Automation Server.
    6. Click Test to test the connection to Rational® Test Automation Server.
    7. Click Select.
      The list of projects on Rational® Test Automation Server that you are a member of are displayed. Image of the select project dialog box.
    8. Select the project to which you want to publish test reports.
      Notes:
      • Select the projects in which you are assigned an owner or tester role. Only owners or testers can publish test reports to the project on Rational® Test Automation Server.
      • The Publish result after execution check box is enabled only after you select a project on Rational® Test Automation Server.
    9. Click the Publish result after execution check box.
  5. Click OK.

    You have configured Rational® Integration Tester to publish test result reports to the selected project on Rational® Test Automation Server.

  6. To publish a test result report, open the Test Lab perspective, and complete the following steps:
    1. Select the test suite.
    2. Right-click and then click Run.

    The selected test suite runs and the test result reports are published to the selected project on Rational® Test Automation Server.

Results

Test results are automatically published to the selected project on Rational® Test Automation Server whenever the tests are run in Rational® Integration Tester.

What to do next

You can view the test result reports published to Rational® Test Automation Server. See Viewing reports published to Rational Test Automation Server.