user3365612
user3365612

Reputation: 1

Jmeter: Threads multiplied by loop count does not match number of samples

I am running some tests in Jmeter with the following values - Number of Threads = 50 Number of Loop count = 133 I would expect the number of samples (column Count in the Summary report) to be 50*133=6650 but I see this as only 3220.

I tried this test with: Number of Threads = 50 Number of Loop count = 100 and this time also I got the number of samples (Count) as 3221

I tried with: Number of Threads = 30 Number of Loop count = 133 and this time also I got the number of samples (Count) as 3220

For some reason, Jmeter is limiting the max number of samples to a number around 3220. Why is this happening?

Regards Ramesh

Upvotes: 0

Views: 1980

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

JMeter doesn't have limitation on number of samples, if it is, it would be something like 2 billion.

Try the following:

  1. Re-run your test in non-GUI mode
  2. Open JMeter GUI. Don't open any .jmx file
  3. Add Summary Report Listener
  4. Click Browse button and open .jtl file which you specified by -l parameter in step 1
  5. Check if real samples count matches your calculation.

It should be equal. If it isn't make sure that i.e. you are not using Test Action Sampler which stops the test on certain condition or CSV Data Set Config with Stop thread on EOF set to true or whatever.

If the problem still persists and none of above recommendations help update the issue with your jmeter.log file

Upvotes: 1

Related Questions