Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 15731

Jmeter Response : message:java.sql.SQLException: Cannot create JDBC driver of class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'

$
0
0

I am trying to initiate a connection to SQL Server using Jmeter but encountered with the error:

Response message:java.sql.SQLException: Cannot create JDBC driver of class 'com.microsoft.sqlserver.jdbc.SQLServerDriver' for connect URL ' jdbc:sqlserver://vmapmtcdhprdmig\MSSQLSERVER2019:1433;databaseName=pti_stg;'

enter image description here

enter image description here

The SQL server is installed in the same machine as where Jmeter script is being triggered and also with the same details provided in the connect string, I am able to connect to the SqlServer DB.

enter image description here

enter image description hereI have even tried using "jdbc:sqlserver://localhost:1433;databaseName=pti_stg;" but still the same exception. my java version "1.8.0_261" Driver mssql-jdbc-12.2.0.jre8.jar


Viewing all articles
Browse latest Browse all 15731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>