开发者

Create a stresstest for a site

开发者 https://www.devze.com 2023-02-18 14:25 出处:网络
I have a site made using zend framework (not really important but to be precise). I need a software/script/anything to create some k开发者_如何转开发ind of stress test to see how many users it can su

I have a site made using zend framework (not really important but to be precise).

I need a software/script/anything to create some k开发者_如何转开发ind of stress test to see how many users it can support.

I must simulate users navigating between pages, nothing too fancy.

Can anyone suggest me something?

Also it would be nice if I could create some kind of dependency on the hardware resources.


If you're running on an apache webserver, take a look at apache bench


Some of the other answers will get you a very basic level of load testing, but in general they don't exercise the server realistically because they don't request all the other resources (images, css, etc) on the page. If that is ok for you, then they are a good place to start. Just know that you'll only be testing a portion of the system. If you want to more accurately simulate the expected traffic, then you'll need to move up to a more sophisticated load testing tool. If you have zero budget for software, there is JMeter and OpenSTA. With a meager budget, you can use the services from BrowserMob or LoadStorm for simple load tests. If you need more than than, the you'll need to look to the more sophisticated load testing tools (such as our product - Web Performance Load Tester).


Use apache bench (http://httpd.apache.org/docs/2.0/programs/ab.html) or siege -my favourite- (http://freshmeat.net/projects/siege/) for testing

0

精彩评论

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