Modifying database settings
Only an IBM® Rational® Test Control Panel administrator can set up and modify Rational® Test Virtualization Server project results databases.
Procedure
- Log into Rational® Test Control Panel.
-
Click the Administration navigation link.
Alternatively, click the Administration icon on the Home page.
The Administration page is displayed.
-
Click the Domains and environments tab.
- In the list of domains on the left of the Domains and environments tab, click the domain that you want to modify.
- Click Details (if necessary) to display the Details page.
-
On the Details page, select the Override results database
connection details check box.
The fields under the Description field become available for editing.
-
In the Driver class field, enter the name of the JDBC driver that is to be used (if
overriding the existing results database connection).
The following table shows example driver class names.
DBMS Driver Class Example IBM® Db2® com.ibm.db2.jcc.DB2Driver
Microsoft™ SQL Server com.microsoft.sqlserver.jdbc.SQLServerDriver
MySQL com.mysql.cj.jdbc.Driver
Note: If you want to use MySQL with Rational® Test Control Panel, you must install the MySQL Connector/J JDBC driver.Oracle oracle.jdbc.driver.OracleDriver (thin)
-
In the Database URL field, enter the URL of the database that is to be used (if
overriding the existing results database connection).
The following table shows example URL formats.
For more information on the specification of database URLs when using IP literal addresses, see IP literal address.DBMS Database URL Format IBM® Db2® jdbc:db2://
Server Name\Instance Name:Port Number/Database_NameMicrosoft™ SQL Server jdbc:sqlserver://
Server Name\Instance Name:Port Number;Property=Value;Property=ValueMySQL jdbc:mysql
://Server Name\Instance Name:Port Number;Property=Value;Property=ValueOracle jdbc:oracle:thin
:@//Server Name\Instance Name:Port Number;Property=Value;Property=Value - In the Username field, enter the new user name that is to be used for connecting to the results database that is to be used.
- In the Password field, enter the new password that is to be used for connecting to the results database that is to be used.
-
Click Save.
The new domains details are updated. These settings will be used for all stubs run in this domain, regardless of environment.
Note: Any changes to project results database settings will affect only stubs that are started after the changes have been made.Note: Project results databases cannot be defined at environment level. To work around this limitation, you have two options:- Use different domains for each environment.
- Define the project results database before publishing the stubs into each environment and ensure that you do not override the settings for the domain in Rational® Test Control Panel. However, this change will affect only stubs that are started after the change has been made