您的位置:軟件測試 > 開源軟件測試 > 開源性能測試工具 >
開源性能測試工具Curl-Loader
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2013/3/21 15:38:06 ] 推薦標(biāo)簽:

  curl-loader 是一個用C語言編寫的Web應(yīng)用測試和模擬負(fù)載工具,可模擬成千上萬的客戶端請求,并且每個請求來自不同的IP地址,支持用戶認(rèn)證、登錄等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

軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd