简体   繁体   中英

The sample numbers will not be equal in the Ultimate Thread Group in Jmeter?

i want to explain with a simple example.

there are 4 samples and 20 users. (rampup time 10 seconds.)

after test is finished:

in standart thread group test, the numbers will be;

sample1(or request1) = 20 times

sample2 = 20

sample3 = 20

sample4 = 20

but in ultimate thread group test;

sample1 = 43

sample2 = 34

sample3 = 25

sample4 = 23

so, the number of the samplers are not equal that is a big problem for me. because sampler1 is login sample, sample4 is logoff sapmle. especially these two must be equal!!

the problem is not related with time values. i changed the initial delay, hold load for and shutdown time but the issue wont be changed.

if there is a way that all sampler numbers will be equal in jmeter, please tell us.

in standard thread group provide this equality but ultimate thread group doesnt.

thanks

especially these two must be equal

not necessarily.

Ultimate Thread Group executes Samplers upside down so when the "Hold Load For" time ends the Ultimate Thread Group shuts the threads down.

So closer the Sampler to the top - will get more executions, closer to the bottom - less executions.

If you still want to use the Ultimate Thread Group (although it should be possible to implement whatever ramp-up and/or ramp-down logic using built-in JMeter Test Elements) but strictly limit the number of requests - put all your "samples" under the Throughput Controller configured like:

在此处输入图像描述

If you want to have all the samplers executed and have an equal number of sampler results use the normal Thread Group instead of the plugin Ultimate Thread Group

There is no interface available in the Ultimate THread Group to set the loop count.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM