Publishing test results to the server
The test results indicate the quality of the application under test. Different stakeholders might want to check the quality of the application but do not have the desktop client installed. As a desktop client user, you can publish test results to IBM® DevOps Test Hub (Test Hub) so that others can view them from the web browser.
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.
You can publish both performance and functional reports. You can set the publish parameters in the Preference page so that you do not have to do it after every run or you can set the parameters every time for the specific result that you want to publish. Based on the parameters, the test result is published to Test Hub after the test run is complete.
If you select Prompt from the drop-down list for the Publish result after execution option, after each test run, the Publish Result dialog is displayed to publish test results to Test Hub. You can modify the following options before publishing the results:
-
If you want to publish reports to other than the default server added in the Preferences window, you can change the URL of Test Hub.Note: If you change the server URL, you must enter an offline token to enable the publishing of test results.
-
The default value for the Result Name field is the test result that you selected. You can provide a different name that you want to use.
-
To identify specific test results, you can enter a name in the Labels field to associate it with the test result.
Note: The Results page of Test Hub displays the labels that you added in the Labels field. -
You can change the project name if you want to publish reports to a different project.Note: 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.
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.
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.
You can log in to Test Hub and analyze the test results. For more information refer to Test results and reports overview.