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 that use a transport other than HTTP or MQ.
- The test suite refers to local stubs that use the HTTP transport.
- 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 that use a transport other than HTTP or MQ. |
You must perform any of the following actions before you commit the
test asset to the remote repository:
|
The tests in an API Suite refer to local stubs that use the HTTP transport. | You must perform the following actions before you commit the test
asset to the remote repository:
|
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 and 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 and 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
You must configure test suites in HCL OneTest™ API 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. 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 use with HCL OneTest™ API. See Adding Microsoft SQL Server and MySQL drivers.
To run an API Suite, see Configuring an API Suite run.