如何在JMeter中衡量Cassandra的性能 [英] How to measure Cassandra performance in JMeter

查看:176
本文介绍了如何在JMeter中衡量Cassandra的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用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
  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆