Publishing specific results to the server
If you have a single test result or multiple test results that are not published to HCL DevOps Test Hub (Test Hub), you can publish a single or all of them simultaneously.
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.
-
Configured the firewall so that Test Hub enables connection on port number 443.
About this task
You can publish the statistical reports to Test Hub at this moment.
You can publish large test results from Test Performance to Test Hub. When you publish large test results then the report publishes to Test Hub in chunks of predefined size.
Procedure
- Open Test Performance, and then go to .
- Expand the Test folder, and then select Execution Result to DevOps Test Hub.
- Click Next.
-
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. -
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.
- Enter an offline user token that you created on Test Hub.
-
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.
-
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 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.
- Optional: Click Add Common Labels and type the name of the label to apply a common label to the selected results.
- Select the reports that you want to publish to the server from the Reports section.
- Click Publish.
Results
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.