Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Jmeter Cannot create PoolableConnectionFactory

Tags:

java

jmeter

enter image description hereenter image description hereI am trying to run select query in jmeter. I am getting this response in listners "Cannot create PoolableConnectionFactory" I have attached my myphpadmin page which I use to create db. Thanks in advance.

enter image description here.png

enter image description here

like image 581
Durairaj s Avatar asked Oct 26 '25 05:10

Durairaj s


2 Answers

JDBC jar should be in lib folder:

Fully qualified name of driver class. (Must be in JMeter's classpath - easiest to copy .jar file into JMeter's /lib directory).

I assume you use your jar for MySQL DB:

The list of the validation queries can be configured with jdbc.config.jdbc.driver.class property and are by default:

MySQL com.mysql.jdbc.Driver

like image 192
user7294900 Avatar answered Oct 28 '25 17:10

user7294900


  1. You need to put the .jar into the "lib" folder of your JMeter installation (or other folder which is in JMeter Classpath
  2. You need to restart JMeter to pick the .jar

Check out MySQL Database and JMeter - How to Test Your Connection for more information

like image 42
Dmitri T Avatar answered Oct 28 '25 18:10

Dmitri T



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!