developing_T 发表于 2006-3-22 14:49:30

Linux下的http压力测试工具

siege,这个工具是开源的,有兴趣的话看这个帖子吧
http://bbs.51testing.com/viewthread.php?tid=28640&extra=page%3D1

developing_T 发表于 2006-3-23 10:35:34

发现一个开源的HTTP压力测试工具,C编写
Siege
一个开放源代码项目:http://www.joedog.org/siege/
我运行了一下这个测试程序,还不错,结果显示如下:
模拟10人,循环两次,从一个含有N行url的文本文件里读取url地址进行连接,测试结果:

** siege 2.64
** Preparing 10 concurrent users for battle.
The server is now under siege...
HTTP/1.1 200   0.46 secs:    5918 bytes ==> /
HTTP/1.1 200   0.01 secs:    5918 bytes ==> /
HTTP/1.1 200   0.23 secs:    5918 bytes ==> /
HTTP/1.1 200   1.00 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   1.65 secs:    5918 bytes ==> /
HTTP/1.1 200   0.76 secs:    5918 bytes ==> /
HTTP/1.1 200   0.78 secs:    5918 bytes ==> /
HTTP/1.1 200   0.80 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   0.99 secs:    5918 bytes ==> /
HTTP/1.1 200   0.23 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   0.23 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   0.01 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   2.39 secs:    5918 bytes ==> /
HTTP/1.1 200   0.23 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   1.88 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   1.66 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   7.69 secs:    5918 bytes ==> /
HTTP/1.1 200   0.45 secs:   10985 bytes ==> /index.shtml
HTTP/1.1 200   8.16 secs:    5918 bytes ==> /
HTTP/1.1 200   0.69 secs:   10985 bytes ==> /index.shtml
done.
Transactions:                     20 hits
Availability:               100.00 %
Elapsed time:                   8.85 secs
Data transferred:               0.16 MB
Response time:                  1.52 secs
Transaction rate:               2.26 trans/sec
Throughput:                     0.02 MB/sec
Concurrency:                  3.42
Successful transactions:          20
Failed transactions:               0
Longest transaction:            8.16
Shortest transaction:         0.01

我对这个用具也是刚刚接触,大家一起研究吧,开源的C编写
C语言高手,希望改写此工具并拓展功能的 可以联系我QQ群: 22264202

[ 本帖最后由 developing_T 于 2006-3-23 10:47 编辑 ]

developing_T 发表于 2006-3-23 10:48:22

怎么回车和换行都没有了
是我这的问题么
页: [1]
查看完整版本: Linux下的http压力测试工具