curl-loader 是一个用C语言编写的Web应用测试和模拟负载工具,可模拟成千上万的客户端请求,并且每个请求来自不同的IP地址,支持用户认证、登录等Web交换过程。51Testing软件测试网#D \+@,K1_:rQ*p
KD3~WD4U C0 项目主页:http://curl-loader.sourceforge.net/
(~;ZO j yza$Z'@0 文档地址:http://curl-loader.sourceforge.net/doc/fast.html51Testing软件测试网/h+B9x\h-ML
下载地址:http://sourceforge.net/project/showfiles.php?group_id=17959951Testing软件测试网*slW4T|
安装:#tar zxvf crul-loader.tar.gz51Testing软件测试网^@&{o"\@SC#A6^2F
51Testing软件测试网;UiFM]@)Z
#cd curl-loader
t7YSFo#n0 #make
"h{wH+GI3d0
w8T4p,fR/B6A"O/E0 用法:#./curl-loader -f \[other options]51Testing软件测试网t.b6Fu6y*D3ot
51Testing软件测试网HV8@Hr#{4G.Ah
配置文件详解:51Testing软件测试网 [-{(m
B vV;`
}1t1OqF0 ########### GENERAL SECTION ################################
X4|Z6E$b;kK051Testing软件测试网JwdU2h_^
BATCH_NAME=my51Testing软件测试网1CP\L*m9r)S#O3t!o
51Testing软件测试网 IQw;d*}g_4a
CLIENTS_NUM_MAX=1000 #最大并发数
&{d-E1{G(]-O0 CLIENTS_NUM_START=10 #一开始的并发数51Testing软件测试网0sMG h$W aHj
CLIENTS_RAMPUP_INC=5 #每秒并发数51Testing软件测试网}4\$g*z6mq]D$^
2YL)dJ%[0 INTERFACE =eth0 #选择网卡51Testing软件测试网 m @@&lN
NETMASK=1651Testing软件测试网y{c1q(B/Z
51Testing软件测试网0]6cp#v?y0X-t9Q
IP_ADDR_MIN= 192.168.1.10
,b\m |sL1J-]0@X&N*BeGi6XCt4_0 IP_ADDR_MAX= 192.168.53.255 #Actually - this is for self-control51Testing软件测试网2@X#T?h'B9Rk
CYCLES_NUM= -1
A-Yle
v"X%b3~Nt0 URLS_NUM= 1
F$U'm4N)W8T)e0 ########### URL SECTION ####################################
*c*`"Cv2QW|0,U7T]YQ6O-BX0 URL=http://localhost/index.html51Testing软件测试网+K}m*o4}
#URL=http://localhost/ACE-INSTALL.html
xGCN,P0 URL_SHORT_NAME="local-index"
rX(CT:`'V0 REQUEST_TYPE=GET
&x"j_-k|0V/_1i(lj0'H
k_{)\zhH-A0 TIMER_URL_COMPLETION = 5000 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout51Testing软件测试网RW"J8Ti!Q4R
TIMER_AFTER_URL_SLEEP =20
-Am(G7c"B$K&C0