Forum Discussion
2 Replies
Sort By
- Nastya_KhovrinaSmartBear Alumni (Retired)
Hi 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) } } } }
- sakthivelContributor
Thank you for help. I will try it and let you know. Again Thanks Lot