问题
I want to use JMeter to measure Cassandra response time to some queries and multiple simultaneous accesses.
I'm trying to follow the instructions on this page:
https://github.com/slowenthal/jmeter-cassandra
First, I unpack the archive in the JMeter install directory. However when I try to access the plugin Cassandra through JMeter I can not find it.
Does anyone know if I am follow the appropriate instructions? Or what can I do for everything work properly?
回答1:
- If you unpacked the archive into correct location it should be enough to restart JMeter
If you're trying to manually copy jars from cassandra release bundle - the best locations are:
- for
jmeter-cassandra-x.x.x.jar- JMeter's /lib/ext folder - for all other jars - JMeter's /lib folder
- for
- Third option is to set
user.classpathproperty in user.properties file to point to the folder with the Cassandra jars. Again, JMeter restart will be required to pick the property value up. - And finally you can use
Add directory or jar to classpathsection of Test Plan
Latest JMeter 2.13 r1665067 seems to be working fine with jmeter-cassandra-0.9.2
来源:https://stackoverflow.com/questions/33357529/how-to-measure-cassandra-performance-in-jmeter