开源性能测试工具Curl-Loader学习
项目主页:http://curl-loader.sourceforge.net/
文档地址:http://curl-loader.sourceforge.net/doc/fast.html
下载地址:http://sourceforge.net/project/showfiles.php?group_id=179599
安装:#tar zxvf crul-loader.tar.gz
#cd curl-loader
#make
用法:#./curl-loader -f<configuration filename> \[other options]
配置文件详解:
########### GENERAL SECTION ################################
BATCH_NAME=my
CLIENTS_NUM_MAX=1000 #最大并发数
CLIENTS_NUM_START=10 #一开始的并发数
CLIENTS_RAMPUP_INC=5 #每秒并发数
INTERFACE =eth0 #选择网卡
NETMASK=16
IP_ADDR_MIN= 192.168.1.10
IP_ADDR_MAX= 192.168.53.255 #Actually - this is for self-control
CYCLES_NUM= -1
URLS_NUM= 1
########### URL SECTION ####################################
URL=http://localhost/index.html
#URL=http://localhost/ACE-INSTALL.html
URL_SHORT_NAME="local-index"
REQUEST_TYPE=GET
TIMER_URL_COMPLETION = 5000 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout
TIMER_AFTER_URL_SLEEP =20