博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
怎么使用 ab.exe 测试多个url。 how to use ab.exe test many url
阅读量:4319 次
发布时间:2019-06-06

本文共 544 字,大约阅读时间需要 1 分钟。

from a commandline in windows:

for /F %q in (list.txt) DO ab -n 1000 https://test.com/search?%q
 

I don't know Apache Bench nor how it collects its data. My approach will probably start a new collection of data for each line in list.txt which is something you might not want. You'll have to aggregate the results of different runs by hand.

(to debug:

for /F %q in (list.txt) DO echo ab -n 1000 https://test.com/search?%q
 

which will output on the console the statement that will execute)

转载于:https://www.cnblogs.com/haoliansheng/p/5085976.html

你可能感兴趣的文章
oledbException 未指定的错误解决过程
查看>>
Scarlet的字符串不可能这么可爱
查看>>
toastr自身的onclik函数
查看>>
PowerDesigner生成sql脚本
查看>>
Linux核心应用命令速查
查看>>
PROJECT | 四则运算UI设计 - 项目总结
查看>>
变量,基本类型,数据类型和运算符
查看>>
java(第十五章)
查看>>
NoSQL之Redis数据库初探
查看>>
ASP .Net提交时禁用Button
查看>>
full page screen capture in js
查看>>
Python基础之re模块(正则表达式)
查看>>
STAT 440 - Spring 2019 - Midterm Project
查看>>
楼主错题:解析
查看>>
RabbitMQ 启用页面管理功能并设置权限
查看>>
C#获取本机局域网ip和公网ip
查看>>
asp.net如何删除文件夹及文件内容操作
查看>>
Problem Best Time to Buy and Sell Stock I
查看>>
LeetCode(79): 单词搜索
查看>>
PHP7三元运算符 ?? 和 ?: 的区别
查看>>