jimbo
jimbo

Reputation: 1

jmeter ultimate thread group use same user on each iteration

I'm looking at doing spike tests and I think ultimate thread groups in Jmeter are the way, but I need Jmeter to keep the connections open during the test and use same user on each iteration like it does in regular thread groups, is there a way to force that in Ultimate thread groups as well?

If not, is there a way to do spike testing with regular thread groups in Jmeter?

I've tried setting the thread schedule to produce spikes in ultimate thread group but Jmeter continues to generate new connections per each request. In regular thread groups this can be solved by checking "Use same user on each iteration" but that check box is not present in Ultimate Thread Groups.

Upvotes: 0

Views: 788

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

I can think of the following options:

  1. Don't use Ultimate Thread Group, the "spike" can be implemented using normal Thread Group in combination with Synchronizing Timer
  2. If you want to proceed with the Ultimate Thread Group you can add a Loop Controller to it and set the desired number of iterations there

More information: Stress Testing, Soak Testing and Spike Testing Best Practices with BlazeMeter

Upvotes: 0

Related Questions