Integration with DevOps Test Integrations and APIs
You can use HCL DevOps Test Integrations and APIs (Test Integrations and APIs) extension to run API tests from Test Performance. You can either import the projects from Test Integrations and APIs or manage them from Test Performance by establishing the connection between the products. You can also create a schedule or compound test to run the tests by using the Agents.
You can either use Test Performance Agent or Test Integrations and APIs Agent to generate the load. You must create a compound test or schedule that contains the Test Integrations and APIs tests.
When you make changes to your API tests within Test Performance and you want to sync the changes on Test Integrations and APIs, you must install Test Integrations and APIs and specify the installation directory path to establish the connection.
You can find the following use cases to work with API tests in Test Performance:
-
If you install both Test Performance and Test Integrations and APIs 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 Test Integrations and APIs is not installed and you import the projects in the workspace of Test Performance.
Note: The imported tests must be edited in Test Integrations and APIs. Similarly, the schedules and compounds tests must be edited in Test Performance.
If you are using Test Integrations and APIs 10.2.1 or earlier, you must define the environment variable INTEGRATION_TESTER_AGENT_HOME on each location where the Agent is installed and point to the root installation directory of Test Integrations and APIs Agent See Setting environment variable.