Publishing functional reports to the server

If you have generated functional reports for your test results, you can associate functional reports to test results and then publish them to HCL DevOps Test Hub (Test Hub) so that others can view them from the web browser.

Before you begin

You must have completed the following tasks:
  • Accessed Test Hub.

  • Created an offline user token to connect to Test Hub from Test Performance. For more information, refer to Managing access to the server.

  • Created or joined a project in Test Hub.

  • Upgraded legacy reports to the Web Analytics report format.
    Note: You can right-click the report and select Upgrade to upgrade the legacy report to the Web Analytics report.
  • Generated functional reports in Test Performance. See Generating functional reports.

Procedure

  1. Open Test Performance, and then go to Functional Reports in the Test Navigator.
  2. Select the functional report that you want to publish to Test Hub.
  3. Right-click the selected report, and then click Publish Report.
  4. Expand the project folder, and then select the test result to associate with the functional report.

    For example, if you have generated a functional report for the test result test1, then you must select the test1 to associate the test result with functional report.

  5. Click OK.
  6. Click New Server and specify the URL of Test Hub.
    Note: If you had added the URL of Test Hub in the product Preferences, then the Server field auto-populates the URL of Test Hub.
  7. Enter an offline user token that you created on Test Hub.
  8. Select a project from the Project Name drop-down list.

    The Project Name drop-down list displays all the projects on Test Hub. The name of the team space for the project is displayed within parenthesis. You can select the appropriate project when there are identical project names in different team spaces.

    You cannot create a project from the desktop client. If there are no projects or if you are not a member of any project or team space, then you must create a project or become a member of a project or team space on the server.

  9. Enter the name of the label in the Labels field to add labels to the test result.
    Note: If you run the test assets by using the -labels parameter from the Command-line interface (CLI), then the Labels field contains the name of the labels that you provided during the run time and labels that you added to the performance report.
  10. Select the Functional Report checkbox from the Reports field.
  11. Click Publish.

Results

You have published the functional report to Test Hub.

What to do next

You can log in to Test Hub and analyze the test results. For more information refer to Test results and reports overview.