Forum Discussion
Nastya_Khovrina
Alumni
9 years agoHi Sakthi,
Thank you for your post. You can start with the following:
Using JDBC Drivers From Scripts: https://support.smartbear.com/readyapi/docs/testing/scripts/samples/jdbc.html
To set the JDBC connection string for the JDBC request Test Step, you can use the following script:
for (ts in testSuite.project.getTestSuiteList()) {
log.info ts.name
for (tc in ts.getTestCaseList()) {
for(testStep in tc.getTestStepList()) {
if(testStep instanceof com.eviware.soapui.impl.wsdl.teststeps.ProJdbcRequestTestStep) {
testStep.setConnectionString(someConnectionString)
}
}
}
}
- sakthivel9 years agoContributor
Thank you for help. I will try it and let you know. Again Thanks Lot