eetawil_yahoo_c
7 years agoNew Contributor
Error jz00l when Connecting to sybase database via groovy
Hi, when I connect using the JDBC Request Test Step to my Sybase DB it works (or when I use the "test connection" button).
When I do the same via groovy it doesn't here is the code and the logs...
- 7 years ago
Turns out I was just missing some parameters!
def sql = Sql.newInstance(ConObj.getConnectionString() ,userName, PAssword, driver);
Didn't think of it as this information was already in the ConnectionString!!
When I read the connection string variable it showed the username and pass in it as expected...strange!