Connect Katalon Studio to Oracle Wallet
Oracle Wallet is a method to manage database credentials across multiple domains. Connecting to Oracle databases using a Cloud Wallet is a secure method that leverages Oracle security features for accessing authentication and user credentials.
To incorporate Oracle Wallet for data-driven testing with Katalon Studio, do as follows:
Executing a data-driven test that uses this Oracle database connection requires a paid plan. See pricing page.
-
Go to the JDBC and UCP Downloads page | Oracle Sverige and download the Oracle JDBC Driver and Universal Connection Pool (UCP)
.jarfiles that are compatible with your Katalon Studio version:- If you use version 9.0.0 onwards, download
ojdbc11.jaranducp11.jar. - If you use version 8.x, download
orajdbc8.jaranducp.jar.
- If you use version 9.0.0 onwards, download
-
Add the files to Library Management and exclude the current Oracle JDBC library. For detailed instructions, see Add and exclude libraries.
-
Open the
katalon.inifile in a text editor. To locate the file:- On macOS: Right-click the Katalon Studio application and choose Show Package Contents. Then go to Contents > Eclipse > katalonc.ini. The file path should be
/Applications/Katalon Studio Arm64/Contents/Eclipse/katalon.ini. - On Windows: Open the folder that contains the Katalon Studio application. For example:
C:\Users\<username>\Downloads\Katalon_Studio_Windows_64-8.6.9\katalon.ini.
- On macOS: Right-click the Katalon Studio application and choose Show Package Contents. Then go to Contents > Eclipse > katalonc.ini. The file path should be
-
In the
katalon.inifile, do the following:- Input the Oracle TCPS connection Java options in the
katalon.inifile. - Input the
tnsnames.orafile andsqlnet.orafile in the KS lib directory and point theTNS_ADMINvariable to this location. TheTNS_ADMINvariable is set in the Java options in substep (a).
- Input the Oracle TCPS connection Java options in the
-
In Project Settings > Execution > Launch Arguments, use the same
-Doraclearguments as in thekatalon.inifile. This is used during testing projects.
-
Restart Katalon Studio.
-
Use the TNS Alias name for the database connection and test the connection.