Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
596 views
in Technique[技术] by (71.8m points)

performance testing - How do threads and number of iterations impact test and what is JMeter’s max. thread limit

  1. 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?

  2. 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?

Example:

No. of threads=500
Ramp up=1000
Loop=1 

whether it is same as

No. of threads=50
Ramp up=100
Loop=10

or is there any difference in terms of result?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
  1. The max number of threads is determined by a lot of factors, see this answer https://stackoverflow.com/a/11922239/460802

  2. There is a big difference in what you are proposing.

    • "500 threads, Loop 1 " Means 500 threads AT THE SAME TIME doing the loop ONCE.
    • "50 threads, loop 10" Means only 50 threads AT THE SAME TIME doing the loop TEN TIMES.

In theory you get the same number of results (500), but you are hitting the server in a very different manner.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...