Web服务器负载测试工具 [英] web server Load testing tool
本文介绍了Web服务器负载测试工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您能建议一个软件工具(具有GPLv许可)对Web服务器执行负载测试吗?
解决方案
Curl将使您很容易地浏览URL序列.即
curl -s "http://google.com?[1-1000]"
这将向Google发出1000次调用.
http://google.com?1
http://google.com?2
etc...
然后,您可以将这些调用添加到脚本中,并作为后台作业连续运行它们.有关此 http://servermonitoringhq.com/blog/how_to_quickly_stress_test_a_web_server 的完整说明
Can you suggest a software tool (with GPLv license) to perform load testing for a Web server?
解决方案
Curl will allow you to run through a sequence of URL quite easily. i.e.
curl -s "http://google.com?[1-1000]"
This will make 1000 calls to google i.e.
http://google.com?1
http://google.com?2
etc...
You can then add these calls to a script and run them consecutively as background jobs. There's a full explanation of this http://servermonitoringhq.com/blog/how_to_quickly_stress_test_a_web_server
这篇关于Web服务器负载测试工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文