Skip to main content

命令行下的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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for webenchmark, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size webenchmark-1.0.5-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size webenchmark-1.0.5.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page