Forum Discussion
deggial
12 years agoOccasional Contributor
1. Download appropriate driver - http://www.soapui.org/Working-with-soap ... -list.html (Oracle is there as well) and place it in SoapUI lib folder.
2. Connect to db using script (be sure to change appropriate driver in the connection string, I don't have Oracle so I can't check it, but the mechanism is in place):
2. Connect to db using script (be sure to change appropriate driver in the connection string, I don't have Oracle so I can't check it, but the mechanism is in place):
import groovy.sql.Sql
def sql = Sql.newInstance("jdbc:mysql://xx.xx.xx.xx:3306/dbname", "root", "password", "com.mysql.jdbc.Driver")
sql.eachRow("SELECT * FROM myTable;") {
log.info " ${it.id}"
}
Related Content
Recent Discussions
- 6 days agoemoya