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 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.
-
Configured the firewall so that HCL OneTest™ Server enables connection on port number 443.
About this task
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 HCL OneTest™ Server 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 HCL OneTest™ Server. 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 HCL OneTest™ Server.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 HCL OneTest™ Server 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 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.
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 HCL OneTest™ Performance to HCL OneTest™ Server. When you publish large test results then the report publishes to HCL OneTest™ Server in chunks of predefined size.
Procedure
- Click .
-
Specify the URL of the server and click Test Connection.
Note: In Linux operating systems, the Password recovery setup pop-up window is displayed, but it is hidden behind the Preferences dialog and you might not be able to close it. To work around this problem, you must press ALT+TAB repeatedly until the Password recovery setup pop-up window comes to the foreground.
- Enter the offline user token that you generated on the server and click OK.
- Optional:
Click Manage Offline Tokens to view and remove the tokens that are
associated with the desktop client, and click Apply and Close.
For example, if there is one instance of the desktop client for multiple testers to publish reports, each tester must remove the token created by other testers and add a new token.
- Click the Results page from the navigation to apply settings for publishing reports.
-
Clear the Use default HCL OneTest Server
URL checkbox if the URL of the server is different than that is
specified at .
The format of the URL is https://fully-qualified-domain-name:443.
-
In Publish result after execution field, select when to publish test
result.
In the initial stage when you are debugging a test, you might not want to publish the test result. Select one of the following options based on the requirement:
- Select Never to never publish the test results to the server.
- Select Prompt to prompt you to publish the test results after every test
run.Notes:
- A command-line interface always publishes test results to the server even if the product preference is set to Prompt.
- After each test run, the Publish Result dialog is displayed to publish reports to HCL OneTest™ Server.
- Select Always to publish test results after every test execution.
-
In Publish to project field, select a project that you
are a member of on the server.
The Publish to project 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.
- In Reports, select the reports that you want to publish to the server.
- Click Apply and Close.
Results
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.