# Jmeter JDBC Connection to CrateDB

**URL:** <https://community.cratedb.com/t/jmeter-jdbc-connection-to-cratedb/1051>\
**Category:** CrateDB\
**Created:** [March 14, 2022, 1:52pm UTC](https://community.cratedb.com/t/jmeter-jdbc-connection-to-cratedb/1051 "2022-03-14T13:52:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jayeff](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/jayeff/32/271_2.png) [@jayeff](https://community.cratedb.com/u/jayeff)\
**Post date:** [March 14, 2022, 2:56pm UTC](https://community.cratedb.com/t/jmeter-jdbc-connection-to-cratedb/1051/2 "2022-03-14T14:56:22Z")

</div>

Hi @sleggett,

which version of CrateDB and JMeter are you using? Do you see any errors in the JMeter or CrateDB logs?

I followed the [Building a Database Test Plan](https://jmeter.apache.org/usermanual/build-db-test-plan.html) docs and this basically works out of the box.

Make sure you added [PostgreSQL JDBC Driver](https://jdbc.postgresql.org) to your JMeter `./lib` folder. Use default settings for your JDBC Connection Configuration with Database URL `jdbc:postgresql://your.cratedb.cluster:5432/doc`, JDBC Driver class `org.postgresql.Driver` and correct username and password.

With these settings you should be able to connect to CrateDB.  
Happy hacking,  
Johannes

---

_[View the full topic](https://community.cratedb.com/t/jmeter-jdbc-connection-to-cratedb/1051)._
