Hi,
I'm running JMeter 2.10. I installed the latest version of CassJMeter but having problem connecting to my Cassandra DB. I'm getting ConnectException below. Any pointer would be much appreciated.
What other ways do people use to connect Cassandra from JMeter?
In the CassandraProperties config entry, I have the following:
Jeffrey, I am trying to connect to Cassandra DB and getting the same error message. Were you able to fix or figure out how to overcome this issue? It would be great if you can share any info. Thanks!
Hi, I'm running JMeter 2.10. I installed the latest version of CassJMeter but having problem connecting to my Cassandra DB. I'm getting ConnectException below. Any pointer would be much appreciated.
What other ways do people use to connect Cassandra from JMeter?
In the CassandraProperties config entry, I have the following:
cassandraServers::9160
clientType:com.netflix.jmeter.connections.thrift.ThriftConnection
clusterName:Test Cluster
keyspace:
maxConnsPerHost:100
readConsistency:ONE
ERROR: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused com.netflix.jmeter.utils.CClient.getClient(CClient.java:33) com.netflix.jmeter.connections.thrift.ThriftConnection$1.initialValue(ThriftConnection.java:24) com.netflix.jmeter.connections.thrift.ThriftConnection$1.initialValue(ThriftConnection.java:18) java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160) java.lang.ThreadLocal.get(ThreadLocal.java:150) com.netflix.jmeter.connections.thrift.ThriftConnection.newOperation(ThriftConnection.java:40) com.netflix.jmeter.sampler.GetSampler.execute(GetSampler.java:9) com.netflix.jmeter.sampler.AbstractSampler.sample(AbstractSampler.java:205) org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429) org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) java.lang.Thread.run(Thread.java:744)
Thanks, -Jeffrey