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:

  1. download lastest jdbc driver microsoft

http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx

  1. unzip file , find driver need:

http://msdn.microsoft.com/en-us/library/ms378422.aspx

  1. copy required jar file jmeter/lib folder. (you need restart jmeter if running it.)

  2. 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) 
  3. give variable name config: e.g. jdbc_connection

  4. when create jdbc request, use name in "variable name bound pool" field.

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -