python 环境下的服务器压力测试工具boom
2015-10-14 13:09
351 查看
安装:pip install boom
Usage: boom [options...]
Options:
-n Number of requests to run.
-c Number of requests to run concurrently. Total number of requests cannot
be smaller than the concurency level.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
metrics in comma-seperated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-h Custom HTTP headers, name1:value1;name2:value2.
-t Timeout in ms.
-A HTTP Accept header.
-d HTTP request body.
-T Content-type, defaults to "text/html".
-a Basic authentication, username:password.
-x HTTP Proxy address as host:port.
-allow-insecure Allow bad/expired TLS/SSL certificates.
-disable-compression Disable compression.
-disable-keepalive Disable keep-alive, prevents re-use of TCP
connections between different HTTP requests.
-cpus Number of used cpu cores.
(default for current machine is 2 cores)
Usage: boom [options...]
Options:
-n Number of requests to run.
-c Number of requests to run concurrently. Total number of requests cannot
be smaller than the concurency level.
-q Rate limit, in seconds (QPS).
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
metrics in comma-seperated values format.
-m HTTP method, one of GET, POST, PUT, DELETE, HEAD, OPTIONS.
-h Custom HTTP headers, name1:value1;name2:value2.
-t Timeout in ms.
-A HTTP Accept header.
-d HTTP request body.
-T Content-type, defaults to "text/html".
-a Basic authentication, username:password.
-x HTTP Proxy address as host:port.
-allow-insecure Allow bad/expired TLS/SSL certificates.
-disable-compression Disable compression.
-disable-keepalive Disable keep-alive, prevents re-use of TCP
connections between different HTTP requests.
-cpus Number of used cpu cores.
(default for current machine is 2 cores)
相关文章推荐
- pythonmode英文说明书
- <LeetCode><Easy>292 Nim Game
- python中的常用函数
- python to be Windows Daemon
- python-面向对象(股票对象举例)
- SUSE10 SP4源码升级Python到2.6.6
- python对字符串切片
- py2exe打包python程序
- Python:类方法、静态方法、实例方法
- Python 常用处理
- 9.Python标准库_当前进程信息 (os包)
- 8.Python标准库_多线程与同步 (threading包)
- [转载]启用 VIM 中的 Python 自动补全及提示功能
- 7.Python标准库_信号 (signal包,部分os包)
- 6.Python标准库_子进程 (subprocess包)
- python使用xlsxwriter打造excel周报日周的统计图表
- Jenkins系列之—21 Jenkins Python Plugin获取环境变量
- Python运算符,python入门到精通[五]
- SSDP发现LAN中其他机器 --- Python
- Python 文件 和 异常处理