命令行下的HTTP压测工具
Project description
一款基于命令行的网站压测小工具Webenchmark
-
支持HTTP GET, POST, PUT, DELETE, HEAD操作
-
支持长连接
-
支持多个URL混合测试
-
支持超时时间设置
-
支持身份认证, Basic Auth和Digest Auth。
##用法说明:
# 对单个请求进行get测试
webenchmark -c 10 -n 30 https://www.baidu.com
# 长连接
webenchmark -c 10 -n 30 -k True https://www.baidu.com
# 对多个URL进行混合
webenchmark -c 10 -n 30 https://www.baidu.com http://example.com/ https://www.taobao.com/
#
# basic auth
webenchmark -a basic:test_user:test_password http://example.com/
# digest auth
webenchmark -a digest:test_user:test_passtest_password http://example.com/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
webenchmark-1.0.5.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for webenchmark-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a3014d6cb1f17735481b46b49fb66004df7e2c377357cdc4d48defac886173b |
|
MD5 | d9363feb5493c2a1c68068b0b04309ad |
|
BLAKE2b-256 | 383947e55345d1105249d7626b27a975672d3d8722cca0d5c084104ca6041bfd |