Tuesday, August 5, 2014

How to run multiple samplers using various percentages in Apache Jmeter

Suppose you have a test plan with more than one samplers and you want to add a weight to the load for each sampler. for instance following figure shows the two put and get samplers. Get sampler read records from Cassandra and Put will write into that. we want to generate 80% get requests and the rest will be the put operations.
To do that you need to add a throughput controller and set the percentage for each operation type. Also the samples should be added as a child to throughput controller.




Here is the a summary after the execution of this test plan:





No comments:

Post a Comment