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.

Source Distribution

webenchmark-1.0.5.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

webenchmark-1.0.5-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page