concurrency threadgroup iteration doesn't work

110 views
Skip to first unread message

Dou Olivia

unread,
Oct 10, 2022, 5:15:20 AM10/10/22
to jmeter-plugins
Hello,
I'm using bzm - Concurrency Thread Group. There's cases that I want jmeter to run specific number of iterations(e.g. debugging, or just one full run of my dataset), but seems the Thread Iteration limit doesn't work.

concurrency threadgroup.png
Just wondering how "Hold Target Rate Time" and "Thread Iteration Limit" work with each other.
It seems it just run  "Hold Target Rate Time" seconds+"Rampup Time" seconds, no matter whether I put a number in "Thread Iteration Limit"

I found there was an old topic in the group:
hashe got the same issue as mine:
Hi all,
In Concurrency Thread Group, what's usage of Thread Iterations Limit. It seems it is same as Loop Count, but when I set it to  any value (e.g. 10, 15, empty)  it just runs 1 time.
anybody knows how can I run Concurrency Thread Group in loop?

But seems there's no satisfying resolution there.

Thanks in advance for any help!

DT

unread,
Oct 10, 2022, 5:35:55 AM10/10/22
to jmeter-plugins
Thread Iterations limit impacts what vars.getIteration() will return

  • If you set it to 1 - the function will return 1 all the time
  • If you set it to 2 - the function will return 1, then 2, then 1, then 2, etc.
There are certain test elements which behaviour is iteration-based like:
  1. CSV Data Set Config will read next line on next iteration
  2. HTTP Cache Manager and friends will clear data on next iteration if instructed to do so
  3. etc.
headers.gif
Reply all
Reply to author
Forward
0 new messages