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
精彩评论