Thread groups no longer stop `forever loops`

102 views
Skip to first unread message

Filip Hanik

unread,
Jan 4, 2018, 6:31:41 PM1/4/18
to jmeter-plugins
Given the following scenario

I want to: Ramp up a thread group, when reached maximum threads then run for 1 minute

thread group with duration
  - single request
  - loop (forever)
    - single request


The JMeter ThreadGroup and the deprecated Stepping Thread Group both will stop the loops after the duration condition of the group has been met.

The Concurrency Thread Group will never exit the `loop`. Is this a bug or is there a different way to exit the loop, maybe using a while condition?

Thanks in advance
Filip

Filip Hanik

unread,
Jan 4, 2018, 6:35:11 PM1/4/18
to jmeter-plugins

Deprecated Thread Group Behavior


Concurrent Thread Group Behavior


Filip Hanik

unread,
Jan 4, 2018, 6:36:33 PM1/4/18
to jmeter-plugins

Deprecated behavior - correct image



On Thursday, January 4, 2018 at 3:31:41 PM UTC-8, Filip Hanik wrote:

Andrey Pokhilko

unread,
Jan 5, 2018, 3:20:54 AM1/5/18
to jmeter-...@googlegroups.com

Hi,

There were fix recently released for this bug. Also, there is "Thread Iterations Limit" field at the bottom of CTG GUI.

Andrey Pokhilko

05.01.2018 02:31, Filip Hanik пишет:
--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Filip Hanik

unread,
Jan 5, 2018, 11:26:33 AM1/5/18
to jmeter-plugins
Thanks Andrey,

I have confirmed that jmeter-plugins-casutg-2.5.jar fixes the bug. Thank you!

Unfortunately the "thread iterations limit" previously had the side effect of threads exiting early, so we abandoned those efforts.

Filip

Andrey Pokhilko

unread,
Jan 5, 2018, 12:53:16 PM1/5/18
to jmeter-...@googlegroups.com

"Thread iterations limit" still has that meaning for threads to finish earlier. It's just the purpose of Concurrency Thread Group to spawn new threads to maintain the specified concurrency.

You might find Arrivals Thread Group interesting for your efforts, since it spawns threads with specified rate and does not maintain concurrency.

Andrey Pokhilko

05.01.2018 19:26, Filip Hanik пишет:
Reply all
Reply to author
Forward
0 new messages