curl-loader 是一个用C语言编写的Web应用测试和模拟负载工具,可模拟成千上万的客户端请求,而且每一个请求来自不一样的IP地址,支持用户认证、登陆等Web交换过程。php
项目主页:http://curl-loader.sourceforge.net/html
文档地址:http://curl-loader.sourceforge.net/doc/fast.html并发
下载地址:http://sourceforge.net/project/showfiles.php?group_id=179599curl
安装:#tar zxvf crul-loader.tar.gzide
#cd curl-loader工具
#make测试
用法:#./curl-loader -f<configuration filename> \[other options]fetch
配置文件详解:this
########### GENERAL SECTION ################################url
BATCH_NAME=my
CLIENTS_NUM_MAX=1000
CLIENTS_NUM_START=10
CLIENTS_RAMPUP_INC=5
INTERFACE
NETMASK=16
IP_ADDR_MIN= 192.168.1.10
IP_ADDR_MAX= 192.168.53.255
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
TIMER_AFTER_URL_SLEEP =20