I want to connect Jmeter to Redis DB, I want to do it via java programming. I added jedis-2.2.1.jar file to lib folder. and create a test plan with only bean-shell preprocessor. I can not understand what I can see, since nothing happened, and the response tree is blank, Can someone please advise how to connect to redis via jmeter (please without the redis plugin)
Provided the Pic of the program, it is a simple program just want to connect.
** I am new in java scripting in Jmeter and the only jar I added is jedis.jar, the program is a script from the net. not created thread group in the test plan
with void main it is not worked also
Since JMeter 3.1 it is recommended to use JSR223 Elements and Groovy language for any form of scripting. The reasons are in:
See Apache Groovy - Why and How You Should Use It article for more information, benchmarks, examples of real-life Groovy usage, etc.