sql server - Jmeter - No suitable driver found for jdbc:microsoft:sqlserver://x.x.x.x:1433 -
i'm using jmeter 2.9 , trying connect sql server 2008.
within jdbc connection configuration
, have following in connection properties:
database url = jdbc:microsoft:sqlserver://x.x.x.x:1433 jdbc driver class = com.microsoft.sqlserver.jdbc.sqlserverdriver
i've downloaded latest microsoft sql server jdbc drivers
, placed following jars under jmeter/lib directory: sqljdbc.jar
, sqljdbc4.jar
.
i'm getting following error:
java.sql.sqlexception: no suitable driver found jdbc:microsoft:sqlserver://x.x.x.x:1433
can please suggest i'm missing?
your solution not work me, here solution:
adding jdbc connection library jmeter lib folder:
- download lastest jdbc driver microsoft
http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
- unzip file , find driver need:
http://msdn.microsoft.com/en-us/library/ms378422.aspx
copy required jar file jmeter/lib folder. (you need restart jmeter if running it.)
in jdbc configuration:
databaseurl: jdbc:sqlserver://localhost:port;databasename=mydb; jdbc driver class: com.microsoft.sqlserver.jdbc.sqlserverdriver user name: (sql server access user name) password: (user's password)
give variable name config: e.g. jdbc_connection
- when create jdbc request, use name in "variable name bound pool" field.
Comments
Post a Comment