问题描述
你能告诉我没有的最大限制吗?我可以在 JMeter 2.4 中使用哪些线程进行负载测试?
Would you please tell me the max limit of no. of threads that i can use in JMeter 2.4 for conducting a load test?
在单个循环中使用所有线程或减少没有有什么区别.线程和初始化循环以实现相同的编号.用户/线程?
Is there any difference in taking all threads in a single loop or by taking less no. of threads and initialize loop to achieve same no. of users/threads?
示例:
No. of threads=500
Ramp up=1000
Loop=1
是否与
No. of threads=50
Ramp up=100
Loop=10
或者在结果方面有什么不同吗?
or is there any difference in terms of result?
推荐答案
最大线程数由很多因素决定,请参阅此答案 https://stackoverflow.com/a/11922239/460802
你提出的建议有很大的不同.
There is a big difference in what you are proposing.
- 500 个线程,循环 1"表示 500 个线程同时执行一次循环.
- 50 个线程,循环 10"表示只有 50 个线程同时循环十次.
理论上,您会得到相同数量的结果 (500),但您访问服务器的方式却截然不同.
In theory you get the same number of results (500), but you are hitting the server in a very different manner.
这篇关于线程和迭代次数如何影响测试以及 JMeter 的最大值是多少.线程限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!