SaraCavelind
13 years agoContributor
MSQ SQL Instance fromProject level
Hi!
I'm trying to replace my groovy JDBC connections with a project level connection:
In groovy I write:
com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( "com.microsoft.sqlserver.jdbc.SQLServerDriver" )
sql = Sql.newInstance("jdbc:sqlserver://x.y.v.c\\projectsyssql","Testuser", "TestPW", "com.microsoft.sqlserver.jdbc.SQLServerDriver")
sql.execute ("use projectDatabase")
When I try to do the same using the project level template I have a problem entering the instance (projectsyssql) and I get an connection timeout error.
Any ideas on how to create a projectlecel JDBC connection for this type?
I'm trying to replace my groovy JDBC connections with a project level connection:
In groovy I write:
com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( "com.microsoft.sqlserver.jdbc.SQLServerDriver" )
sql = Sql.newInstance("jdbc:sqlserver://x.y.v.c\\projectsyssql","Testuser", "TestPW", "com.microsoft.sqlserver.jdbc.SQLServerDriver")
sql.execute ("use projectDatabase")
When I try to do the same using the project level template I have a problem entering the instance (projectsyssql) and I get an connection timeout error.
Any ideas on how to create a projectlecel JDBC connection for this type?