Publishing specific results to the server

If you have a single test result or multiple test results that are not published to HCL OneTest Server, you can publish a single or all of them simultaneously.

Before you begin

  • You must have installed the HCL OneTest Server and started it. The server is part of the product package. For more information about HCL OneTest Server, see the Information Center.
  • If the HCL OneTest Server server is behind a firewall, you might not be able to connect to it. You must configure the firewall so that it can allow connections on ports 5443 and 7828.

About this task

You can publish the statistical reports to HCL OneTest Server at this moment.

Procedure

  1. Open HCL OneTest Performance, and then go to File > Export.
  2. Expand the Test folder, and then select Execution Result to HCL OneTest Server.
  3. Click Next.
  4. Expand the project, and then select one or more test results that you want to publish.

    Alternatively, you can right-click on all the test results that you want to publish from Test Navigator, and then select Publish Results.

    Tip: You can press the Ctrl key to select the results from across projects.
  5. Click New Server and specify the URL of HCL OneTest Server.

    The format of the URL is https://fully-qualified-domain-name:443.

    Note: If you had added the publish parameters in the product Preferences, then the Server field auto-populates the URL of HCL OneTest Server.
  6. Enter an offline user token that you created on HCL OneTest Server.
  7. Select a project from the Project Name drop-down list.

    The Project Name drop-down list displays all the projects on HCL OneTest Server.

  8. Click a row against the result and type the name of the label in the Labels column to add labels to the result.
    Note: If you run the test assets by using the -labels option from the command-line interface, 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.
  9. Optional: Click Add Common Labels and type the name of the label to apply a common label to the selected results.
  10. Select the reports that you want to publish to the server from the Reports section.
  11. Click Publish.

Results

You have published the test results to HCL OneTest Server.

What to do next

To view the test results:
  1. Log in to the server.
  2. Click the Results page and then expand the test.
  3. Click the published report links. The report opens in a new browser.