Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
321 views
in Technique[技术] by (71.8m points)

How to measure Cassandra performance in JMeter

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
  • 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
  • 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

Cassandra JMeter

Latest JMeter 2.13 r1665067 seems to be working fine with jmeter-cassandra-0.9.2


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...