Netflix / CassJMeter

JMeter plugin to run cassandra tests.
Apache License 2.0
163 stars 66 forks source link

Reads- GET #11

Closed suchetaB closed 11 years ago

suchetaB commented 11 years ago

I am trying out this plugin to test the response on GET. SO, i added the Cassandra GET to my thread group(i have the properties set as well) and in the Row key and Column name i have the following values- Row Key: ${Random(1,1000)} Column Name: {Random(0,5)}

When i run this, i don't see any Response data but if i change the values to actual row key and column name, it works. Could someone help me figure out why Random is not working?

MattSeese commented 11 years ago

Sucheta - it could be because you are missing a dollar sign $ in front of the column name random function. It should be Column Name: ${__Random(0,5)}

Hope that helps. Matt

suchetaB commented 11 years ago

Hi Matt, Thanks for the reply but no i am not missing the $ sign. that was a typo here.

MattSeese commented 11 years ago

Could it be that you don't have a column name that is a numeric value between 0 and 5 ?

suchetaB commented 11 years ago

hey Matt, you were right..i don't have column name that are numeric value between 0 and 5. My column names are strings- gene-id, cosmic-id.....can you send me an example of how you got it to work. Thanks a lot!

suchetaB commented 11 years ago

hey Matt, i firgured it out. thanks a lot for your help!