Test run considerations for API Suites or API tests
Before you configure an API Suite or API test run, you must first read the considerations that you need to take into account.
Important information about API Suites or tests
- The Suite or test refers to local stubs that use a transport other than HTTP or MQ.
- The Suite or test refers to local stubs that use the HTTP transport.
- The transport used in the tests or Suite is configured with the host name set to localhost for the HTTP/TCP proxy.
- The Suite or test has tests that use a transport and the transport requires third-party application Jar files for a successful run.
If... | Then... |
---|---|
The test asset refers 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 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 Suite or tests 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 or test on the computer where Rational® Test Automation
Server is installed and the API Suite or
test 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 or test on a remote Docker host and the API Suite or test 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 or tests
You must configure test Suites or tests in Rational® Integration Tester to use a results database so that the details of the test results can be captured and displayed in the Rational® Test Automation 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 IBM® Rational® Test Automation 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 Rational® Integration Tester. See Adding Microsoft SQL Server and MySQL drivers.
To run an API Suite, see Configuring an API Suite or an API test run.