命令行下的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.6.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for webenchmark-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa2f3581367d711ec711b113d950d7f93e401b6a38b91ef636464706c58a9ffc |
|
MD5 | f71388f09dc9cb50afa167cab1316046 |
|
BLAKE2b-256 | 9e9a04de0a30237401cc310d2d3216bc11a245938d4860e9934c40f888596587 |