[英]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.