How to measure Cassandra performance in JMeter

十年热恋 提交于 2019-12-25 14:21:58

问题


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
  • 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



来源:https://stackoverflow.com/questions/33357529/how-to-measure-cassandra-performance-in-jmeter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!