I recently updated to jmeter 4.0 from jmeter 3.2. In jmx file, i have query to execute and it was running fine in jmeter 3.2 . But the jmx file fails with error "Response message: java.sql.SQLException: Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'" in jmeter 4.0. Please help me in resolving this issue.
You need to
mssql-jdbc-x.x.x.jrex.jar
somewhere to JMeter Classpath See Building a Database Test Plan and How to use Different JDBC Drivers articles for more details on how to use JMeter for database testing.