HCL OneTest API test integration overview

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

You can also choose to import the projects to HCL OneTest Performance from HCL OneTest API, add the tests to a schedule or compound test to run them. You can either use HCL OneTest Performance Agent or HCL OneTest API Agent to generate the load. You must create a compound test or schedule that contains the HCL OneTest API tests.

When you make changes to your API tests within HCL OneTest Performance and you want to sync the changes on HCL OneTest API, you must install HCL OneTest API and specify the installation directory path to establish the connection.

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

  • If you install both HCL OneTest Performance and HCL OneTest API you can connect to the API project. Alternatively, you can directly open the API resource from the Test Navigator view, and then work directly with the source files.

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

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

Running the compound test or schedule

You can initiate the test run by clicking Run Compound Test, Run VU Schedule, or Run Rate Schedule. See Running compound tests and Running a local schedule or test.
Note: When you run the integration tests as part of the compound tests, an integration test log is generated and accessible in the Extended Properties section. See Viewing test logs.