CQL Sampler (Cassandra 1.2.x or 2.x is required) for JMeter
- Get a release
- From TGZ:
- Unpack /lib folder from the release into the JMeter's folder, for example
tar -xjf CqlJmeter-2.0.5-release.tar.gz -C apache-jmeter-2.11/
- Using all-in-one JAR:
- drop the JAR file into JMeter's
lib/ext
folder
See Components
There are sample test plans in /samples folder. Read more at Walk through the samples
Basically you need 4 components:
- Thread group to simulate users
- C* Cluster config element to define connection properties
- One (or several) CQL statements (single or batch) to send
- One of the listeners to gather results
- http://jmeter.apache.org/usermanual/index.html
- http://jmeter.apache.org/usermanual/component_reference.html - buildig blocks
- http://jmeter.apache.org/usermanual/functions.html - you can use functions and variables in CQL Samplers