简体   繁体   English

编辑Ultimate线程组的时间(jmeter)

[英]Edit time for Ultimate thread group (jmeter)

I have prepared a script in jmeter with ultimate thread group setting as start thread count:10, Intial delay:0, Startup Time:10, Hold Load:30, Shutdown:10. 我已经在jmeter中准备了一个脚本,其中最终线程组设置为启动线程计数:10,初始延迟:0,启动时间:10,保持负载:30,关机:10。 I have added aggregate report as listener. 我已将汇总报告添加为侦听器。 When i execute the script, samples# go above 10 for each samples. 当我执行脚本时,每个样本的sample#都超过10。 Does this means more than 10 users are entering. 这是否意味着有10个以上的用户正在输入。

Nope. 不。 You will have only 10 (concurrent) users. 您将只有10个(并行)用户。 Jmeter never adds more threads than what we mention in the file. Jmeter所添加的线程数量绝不会超过文件中提到的数量。

This is what happening - Once an user finishes the test or a loop, as you had mentioned the test should run for 30 seconds - the same test is repeated again for the user. 这就是发生的情况-用户完成测试或循环后,正如您提到的,测试应运行30秒-再次为用户重复同一测试。 It will stop automatically after 30 seconds. 30秒后它将自动停止。 This is why you might see more than 10 login requests or something similar. 这就是为什么您可能会看到10个以上的登录请求或类似内容的原因。

If you do not want your test to behave this way, use Simple thread group and update loop count as 1. 如果您不希望测试以这种方式运行,请使用简单线程组并将更新循环计数设置为1。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 jmeter设置线程组 - jmeter setup thread group 并发线程组和终极线程组有什么区别 - what is the difference between concurrency thread group and ultimate thread group 如何在jmeter中检查线程组停止执行 - How to check thread group stopped execution in jmeter gatling 注入用户 vs jmeter 线程组 - gatling inject user vs jmeter thread group 如何将线程计数和初始延迟作为最终线程组中的变量传递? - How can I pass thread counts and initial delay as variables in ultimate thread group? 如何在Jmeter中计算负载曲线并选择螺纹组 - How to calculate load profile and choose thread group in Jmeter Jmeter select 来自先前线程组变量的随机值 - Jmeter select a random value from previous thread group variables JMeter | 如何定义变量,使其范围在BeanShell中的{thread,Thread-Group,Test-Plan}中 - JMeter | How to define variables such that their scope is in {thread, Thread-Group, Test-Plan} from within BeanShell Jmeter如何使2个线程组并行运行而不在线程之间共享参数值? - Jmeter How to make 2 thread group run parallel but not sharing parameter value between thread? 我如何使用多个 JSON 文件到 Jmeter 5.1.1 的线程组/(bzm - 并发线程组)中进行并发测试? - How can i use multiple JSON files, into a Thread Group /(bzm - Concurrency Thread Group) of Jmeter 5.1.1, to do a concurrent testing?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM