1
votes

I am trying to query couchbase from within JMeter in mac.

I downloaded connector-couchbase-10.0.2.jar. I put the jar file in the jmeter lib folder. I have the couchbase URL of my org and I can connect to it and query it directly.

I put the couchbase uRL in the jmeter JDBC Connector Configuration element. However, it is not clear what to put in the JDBC Driver class.

I keep getting the error message "“Cannot load JDBC driver class”. Any idea what should I do? Is there a way to add the couchbase connector through the JMeter Plugins Manager?

I appreciate any clues to this.

1

1 Answers

1
votes

Add also connector's dependencies to JMeter's lib folder

Dependencies teiid-api, teiid-common-core, jboss-connector-api_1.7_spec, couchbase-api, java-client,

Use JDBC Driver as cdata.jdbc.couchbase.CouchbaseDriver, see couchbase JDBC docs

Provide the JDBC URL. For example:

jdbc:couchbase:User='myusername';Password='mypassword';Server='http://couchbase40'

or

jdbc:cdata:couchbase:User='myusername';Password='mypassword';Server='http://couchbase40'