Running HCL OneTest API tests

You can use HCL OneTest UI Extension for HCL OneTest API to run API tests.

You also have the option to just import the projects to HCL OneTest UI from HCL OneTest API, add the tests to a compound test to run them. You can either use HCL OneTest Performance Agent or HCL OneTest API Agent to generate the load. You need a compound test that contains the HCL OneTest API tests.

If you update API tests in HCL OneTest UI and want to apply the updates back to HCL OneTest API, you must install HCL OneTest API and define the path to its installation directory to set the connection.

You can find the following use cases to work with API tests in HCL OneTest UI:

  • You have installed both the products and then you connect to the API project. Alternatively, you open the API resource directly from the Test Navigator view, and then work directly with the sources files.

  • HCL OneTest API is not installed and you import the projects in the workspace of HCL OneTest UI.

    Note: The imported tests must be edited in HCL OneTest API. Similarly, the compounds tests must be edited in HCL OneTest UI.

Running the compound test

Click Run Compound Test.

After the run completes, the HCL OneTest API report displays statistics on the executed sequences and Timed Sections if some are defined in the tests.

Overall page of the report