0

I've a JMeter Test Plan with 3 thread groups, but when I run the test plan of these only 2 run at any given time. Any idea why?

1 Answers1

0

By default, JMeter runs "Thread Groups" concurrently, unless otherwise we checked the "Run Thread group consequently" in "Test Plan". Below is the screen shot.

enter image description here

Follow the below Steps :

1.Verify "Test Plan", make sure that uncheck "Run Thread group consequently" check box.
2.Use Latest JMeter (not mandatory, but better to have it)
3.Run the JMeter test
Madhu Cheepati
  • 809
  • 5
  • 12
  • I've this unchecked, but still only 2 threadgroup run at any point in time. – Mickey Donald Feb 23 '17 at 23:21
  • Which version of JMeter you are using – Madhu Cheepati Feb 23 '17 at 23:29
  • I failed to mention that all threads loop through a CSV file with equal number of rows and for thread 3 I immediately see "jmeter.threads.JMeterThread: Stop Thread seen: org.apache.jorphan.util.JMeterStopThreadException: End of file detected" as soon as it starts. But other threads continue – Mickey Donald Feb 23 '17 at 23:32
  • In "CSV Data Set Config", what is the value for "Stop thread on EOF" ? – Madhu Cheepati Feb 23 '17 at 23:35
  • Stop on EOF is true as I do want to thread to stop and only process the values that are there. So if I've 10 values, i want to end after 10 and each threadgroup has a separate CSV config. – Mickey Donald Feb 24 '17 at 00:15
  • The reason for third Thread group is not starting is "CSV Data Set Config" reached end of the file. Means all entries are used by First and Second Thread Groups and there is no value in that file to run Third thread Group. To make you script run , you have to do one of the two approaches – Madhu Cheepati Feb 24 '17 at 00:20
  • I've different CSV config for each thread group still it does not execute – Mickey Donald Feb 27 '17 at 22:15
  • check for errors in jmeter.log file and let me know – Madhu Cheepati Feb 28 '17 at 00:51
  • actually its working now, I'd to select "Start Next Thread Loop" on sampler error for each threadgroup – Mickey Donald Feb 28 '17 at 18:43