您的位置:首页 > 其它

开源性能测试工具Curl-Loader

2012-03-17 16:22 381 查看
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 #最大并发数

  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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: