如何在JMeter中衡量Cassandra的性能 [英] How to measure Cassandra performance in JMeter
问题描述
我想使用JMeter来衡量Cassandra对某些查询和多个同时访问的响应时间。
我试图按照此页面上的说明进行操作:
最新的JMeter 2.13 r1665067可以与jmeter-cassandra-0.9.2一起正常工作
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?
- 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.classpath
property 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 classpath
section of Test Plan
Latest JMeter 2.13 r1665067 seems to be working fine with jmeter-cassandra-0.9.2
这篇关于如何在JMeter中衡量Cassandra的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!