Ramesh Korla
Ramesh Korla

Reputation: 64

Cannot create JDBC driver of class 'org.postgresql.Driver' for JMeter

enter image description here

I got an error

Cannot create JDBC driver of class 'org.postgresql.Driver' for connect URL 'jdbc:postgresql://192.168.0.169:5432/synapse?autoReconnect=true'

Upvotes: 1

Views: 9156

Answers (4)

Kernaro
Kernaro

Reputation: 1

I had the same problem, it turned out that the reason was in the "space" when inserting before the connection address

_jdbc:postgresql://

After deleting it, the error disappeared

Upvotes: 0

Duncan O. N.
Duncan O. N.

Reputation: 816

  • Add appropriate version of Postgres Driver jar to the lib folder

enter image description here

  • Remember to Restart Apache Jmeter

Upvotes: 0

Man Ionut
Man Ionut

Reputation: 318

Give it a try using

jdbc:postgresql://192.168.0.169:5432/synapse?tcpKeepAlive=true

If this does not work check the Postgres Driver class in lib folder.

Upvotes: 4

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

You most probably forgot to add the Postgres Driver class in lib folder.

Read this:

Upvotes: 5

Related Questions