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 OneTest Server so that others can view them from the web browser.

Before you begin

You must have completed the following tasks:
  • Accessed HCL OneTest Server.

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

  • Created or joined a project in HCL OneTest Server.

  • 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 HCL OneTest Performance. See Generating functional reports.

Procedure

  1. Open HCL OneTest Performance, and then go to Functional Reports in the Test Navigator.
  2. Select the functional report that you want to publish to HCL OneTest Server.
  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 HCL OneTest Server.
    Note: If you had added the URL of HCL OneTest Server in the product Preferences, then the Server field auto-populates the URL of HCL OneTest Server.
  7. Enter an offline user token that you created on HCL OneTest Server.
  8. Select a project from the Project Name drop-down list.

    The Project Name drop-down list displays all the projects on HCL OneTest Server. 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 HCL OneTest Server.

What to do next

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