Test run considerations for API Suites
Before you configure an API Suite run, you must read the considerations you must take into account.
Important information about API Suites
- The Test Suite refers to local stubs.
- The transport used in the tests in the Test Suite is configured with the host name set to localhost for the HTTP/TCP proxy.
- The Test Suite has tests that use a transport and the transport requires third-party application Jar files for a successful run.
If... | Then... |
---|---|
The tests in an API Suite refer to local stubs. |
You must remove the local stubs referenced in the tests or published the stubs to HCL Quality Server before you commit the test asset to the remote repository. To publish and edit stubs, see Publishing stubs. |
The transport used in the tests in an API Suite is configured with the host name set to localhost for the HTTP/TCP proxy. |
You must replace the host name with fully-qualified-domain-name or IPAddress of the proxy host in the tests before you commit the test asset to the remote repository. |
You plan to run the API Suite on the computer where HCL OneTest™ Server is installed. The API Suite contains tests that use a transport from any of the following third-party applications:
|
You must complete the following tasks:
|
You plan to run the API Suite on a remote Docker host. The API Suite contains tests that use a transport from any of the following third-party applications:
|
You must complete the following tasks:
|
Important information about report configuration in API Suites
HCL OneTest™ API Test Suites must be configured to use a results database so that the details of the test results can be captured and displayed in the HCL OneTest™ Server API results reports. If you have such API Suites, you must have configured a results database in the project used in HCL OneTest™ API. See Configuring the project results database.
If your server projects use either a Microsoft SQL Server, MYSQL, or both as a project results database, you must copy the Microsoft SQL Server and MySQL database JAR files to the JDBC folder in the path /data/JDBC on HCL OneTest™ Server. See Copying third-party application Jars to Kubernetes.
The database JAR files that you need are based on the version of Microsoft SQL Server or MQSQL that you using with HCL OneTest™ API. See Adding Microsoft SQL Server and MySQL drivers.
For running an API Suite, see Configuring a run for an API Suite.