0
votes

This is regarding JMeter

I have a thread group where number of threads is 100. I get response for all the 100 requests in say 3 minutes. However when I generate html report from the .jtl file, it still shows around 50 threads as active even after 6 to 7 minutes.

I was expecting that the active threads would also die out once the response is received. Should we kill/release threads or do we have a similar option in JMeter which I am missing. Can someone advise please.

1
Try disabling your listeners in test - user7294900

1 Answers

1
votes

If you have only 1 loop in Thread Group - each thread (virtual user) should be terminated once it finishes execution of all the Samplers, assuming you don't have i.e. Loop Controller or While Controller or Runtime Controller which may (and will) "hold" the threads alive.

enter image description here

Also make sure to follow recommendations from 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article, in particular:

  1. Run your test in non-GUI mode
  2. Remove all the Listeners from the Test plan

If the issue persists - check jmeter.log file and take the thread dump to identify what exactly JMeter threads are doing.