开发者

How to test/simulate concurrent connections for a website?

开发者 https://www.devze.com 2023-02-18 21:54 出处:网络
HI, I would like test access time for my website 开发者_JAVA百科(or certain page, or query) WHEN there are 5000 concurrent connections. I want to test it for a high traffic website.

HI,

I would like test access time for my website 开发者_JAVA百科(or certain page, or query) WHEN there are 5000 concurrent connections. I want to test it for a high traffic website.

is it possible to simulate 5000 concurrent connections? if not, how do people test such situation?

If this question can't be answered, what keyword should I use to start searching?


We used httperf for this before. This tool also gives you some metrics like throughput. There is a website here which has a bunch of open source performance tools listed, most of them related to web performance testing.


There are a few load testing packages out there. HP has a tool call LoadRunner, if you click on the datasheet, it has more information. There also is an open source tool call OpenSTA. I just found that with a google search, so I can't tell you much about how that one works.


Finally I've found a service that allows to test:

  • up to 10.000 cc/sec for free.
  • up to 100.000 cc/sec for 100$/month.

https://loader.io/

Disclaimer: I have nothing with this service. I post it here, maybe it helps someone.


You could use something like jmeter. We use this for lead testing. It allows you to simulate all sorts of user activity as test cases, run concurrent connections, submit forms, even logged in actions.

The learning curve can be steep if what you need to do is complicated, but that's because it's so feature rich!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号