Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to SOAPUI. On internet i found, this can be done with two ways: Either i can use SoapUI JDBC wizard or Using groovy script. First i tried to create connection using Wizard but i am getting this error :
C#
com.eviware.soapui.support.SoapUIException: Failed to init connection for driver [com.microsoft.jdbc.sqlserver.SQLServerDriver], connectionString [jdbc:microsoft:sqlserver://192.168.185.100\MyDB;databaseName=ABC?user=Test&password=Pass]


What I have tried:

I extract the JDBC driver to path
C#
C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server


and Copy this Jar file
C#
C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar


to this folder
C:\Program Files\SmartBear\SoapUI-5.2.1\bin\ext\sqljdbc4.jar


Added Environment Variable
C#
variable name : classpath

variable value : C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar;
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900