siege 用户登录_siege--Web性能压测工具

Siege是一款强大的HTTP/HTTPS压力测试工具,用于模拟多个并发用户对网站进行攻击性测试。本文将详细介绍其命令行选项,如`-v`用于详细通知,`-c`设置并发用户数,`-r`指定测试次数,`-t`进行定时测试,以及`-f`从文件中读取URL等,帮助你更好地理解和运用Siege进行性能和负载测试。
摘要由CSDN通过智能技术生成

-V, --version    VERSION, prints the version number.

-h, --help    HELP, prints this section.

-C, --config    CONFIGURATION, show the current config.//显示当前的默认装置

-v, --verbose    VERBOSE, prints notification to screen.//详细通知打印到屏幕,输出版本信息和siege命令

-q, --quiet    QUIET turns verbose off and suppresses output.

-g, --get     GET, pull down HTTP headers and display the transaction. Great for application debugging. //get方式

-c, --concurrent=NUM  CONCURRENT users, default is 10//并发量,默认是10

-r, --reps=NUM   REPS, number of times to run the test.//访问此时,不能与-t同一设置

-t, --time=NUMm   TIMED testing where "m" is modifier S, M, or H     ex: --time=1H, one hour test.//持续运行siegeNUM秒/分钟/小时

-d, --delay=NUM   Time DELAY, random delay before each requst//延迟请求,NUM一般不大于10

-b, --benchmark   BENCHMARK: no delays between requests.

-i, --internet   INTERNET user simulation, hits URLs randomly.//随机访问url.txt中的url列表项

-f, --file=FILE   FILE, select a specific URLS FILE.//选择URL文件

-R, --rc=FILE    RC, specify an siegerc file

-l, --log[=FILE]   LOG to FILE. If FILE is not specified, the default is used: PREFIX/var/siege.log//指定日志文件

-m, --mark="text"   MARK, mark the log file with a string. between .001 and NUM. (NOT COUNTED IN STATS)//标记,用于日志

-H, --header="text"  Add a header to request (can be many)//请求头部

-A, --user-agent="text" Sets User-Agent in request//请求代理

-T, --content-type="text" Sets Content-Type in request//请求内容

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值