Siege is a regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users,or it can read many URLs into memory and stress them simultaneously. The program reports the total number of hits recorded,bytes transferred,response time,concurrency,and return status. Siege supports HTTP/1.0 and 1.1 protocols,GET and POST directives,cookies,transaction logging,and basic authentication. Its features are configurable on a per user basis.
或http://httpd.apache.org/docs/1.3/programs/ab.html
ab is a tool for benchmarking the performance of your Apache
HyperText Transfer Protocol (HTTP) server. It does this by
giving you an indication of how many requests per second
your Apache installation can serve.
要测试您的PHP代码,请使用PHPUnit.要测试您的前端,请使用Selenium.
对于安全测试,我强烈建议购买审核,并将其留给专门的专家.只有太多可能的攻击媒介超出你的应用程序代码.