curl-loader 是一個用C語言編寫的Web應用測試和模擬負載工具,可模擬成千上萬的客戶端請求,并且每個請求來自不同的IP地址,支持用戶認證、登錄等Web交換過程。
項目主頁: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 #大并發(fā)數(shù)
CLIENTS_NUM_START=10 #一開始的并發(fā)數(shù)
CLIENTS_RAMPUP_INC=5 #每秒并發(fā)數(shù)
INTERFACE =eth0 #選擇網(wǎng)卡
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