在执行期间增加 JMeter 中的线程数 [英] Increase number of threads in JMeter during execution

查看:59
本文介绍了在执行期间增加 JMeter 中的线程数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 JMeter 中有一个性能测试,我想用它测试最大的系统性能/吞吐量.因此,例如,当错误率低于 2% 时,应增加活动线程的数量.我找到了 Constant Throughput Timer,将其放入 Thread Group 但它只会暂停或减慢线程.我尝试将其定义如下,并带有一个属性:${__P(throughput,)},但不确定该属性的正确值应该是多少.我看不出 JMeter 如何衡量系统的最大性能.

I have a performance test in JMeter and would like to test maximum system performance/throughput with it. So number of active threads should be increased for example while Error rate is under 2 %. I found Constant Throughput Timer, put it into Thread Group but it only pause or slow down threads. I tried define it as follows, with a property: ${__P(throughput,)}, but not sure what should be correct value for this property. I can't see how JMeter could measure system maximal performance.

推荐答案

vanilla"JMeter 中没有这样的功能,但是插件是可能的,请查看:

There is no such functionality in the "vanilla" JMeter howere it is possible with plugins, check out:

它们可以通过反馈循环连接在一起,因此并发如果需要达到所需的每秒请求数,线程组将添加更多线程.

They can be connected together via feedback loop so Concurrency Thread Group will add more threads if needed to reach the desired number of requests per second.

您可以使用 JMeter 插件管理器

这篇关于在执行期间增加 JMeter 中的线程数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆