kb 是一个简单的性能测试脚本,通过协程模拟并发请求。
> git clone https://github.com/SeldomQA/kb
> cd kb
> python3 setup.py installor
> pip3 clone git+https://github.com/SeldomQA/kb.git --upgrade查看帮助:
> kb --help
usage: kb [-h] [-v] [-u USERS] [-q REQUESTS] [url]
kb is a simple performance testing tool, Simulate concurrent requests through
a coroutine.
positional arguments:
url URL to hit
optional arguments:
-h, --help show this help message and exit
-v, --version show version
-u USERS, --users USERS
Number of concurrent users
-q REQUESTS, --requests REQUESTS
Number of requests通过kb命令实现URL并发请求
