Test logs
When you start a run of a test asset, HCL OneTest™ Server starts to log information about the test run in a test log. You can view the test log while the test runs and after the run is completed from the Test Log page.
Overview
HCL OneTest™ Server captures the test log for the supported tests that you can run on HCL OneTest™ Server. For the list of supported tests, see Suites and tests that are supported on HCL OneTest Server.
HCL OneTest™ Server uses an in-built PostgreSQL database to store information about the test while the test runs on the server. HCL OneTest™ Server captures and displays the test log as the default configuration and you do not have to configure other settings during or after installation of the server.
Supported formats of test logs
Log format | Description | Action |
---|---|---|
Default format | Displays the test log in the in-built format on the Test log page. For example, the test log can be as follows: | You do not have to set any Program argument while you configure the test run. |
Text format | Displays the test log in a plain text format and is displayed in a different browser tab or window than the one that displays the Test log page. For example, the test log can be as follows: | You must set the -history testlog Program Argument in the Advanced settings dialog while you configure the test run. |
Jaeger trace | Displays the test log as Jaeger traces and is displayed in a different browser tab or window than the one that displays the Test log page. For example, the test log can be as follows: | Before you can configure the server to display the test log as a Jaeger trace, you must ensure that you have enabled Jaeger in the cluster. See Considerations for using Jaeger traces in reports. You must set the -history jaeger Program Argument in the Advanced settings dialog while you configure the test run. |
Activities and events
Information type | Description |
---|---|
Activity |
Specifies the events that are performed when the test runs as part of a test step. An activity comprises different events and is represented as a collection of events that were performed over time. For example, opening a specific web page by using a web browser in the test can be an activity that comprises the different events such as connecting to the web site, sending of a request, and receiving a reply. Each of these events might take a specific amount of time, which are captured in the test log. |
Event |
Specifies an action performed as part of a test step. For example, start connection can be an event in a test that requires a specific web page to be opened in a web browser, as detailed in the example for an activity. The exact time at which this event occurred when the test ran is captured in the test log. |
Test log tasks
You can find information about the tasks that you can perform on the the test logs in the Test log page. The test logs for the tests that you ran on HCL OneTest™ Server are displayed in the Test log page.
Task | More information |
---|---|
Viewing test logs after you start a test run on the Execution page. | Viewing test logs after you start a test run |
Viewing test logs after the test run is completed. | Viewing test logs after the test run is completed |
Viewing details about the test log. | Test log details |