极客营Web助手,执行网站性能测试、批量请求URL等任务并生成运行报告
Project description
geek-web-man
极客营Web助手,执行网站性能测试、批量请求URL等任务并生成运行报告
规则结构
以模板规则目录 example/foo.com
为例:
├── charset <-- 网站编码
├── cookie <-- 网站Cookies(通常在开发者工具中的响应头中可以找到)
├── payload <-- 请求载荷数据存放目录
│ └── post.json
├── report <-- 运行报告目录
│ └── https___foo.com <-- 网站URL
│ └── fbeb01b6-e3ed-4494-819b-97893a0a8dc2 <-- 运行UUID
│ ├── 1 <-- 规则编号
│ │ ├── request_body.txt
│ │ ├── request_headers.json
│ │ ├── response_body.txt
│ │ └── response_headers.json
│ ├── index.html
│ └── rule.csv.txt <-- 规则文件历史记录
├── rule.csv <-- 规则文件
└── url <-- 网站URL
环境要求
- Python 3.8.0及以上版本
安装
pip3 install geek-web-man
使用方法
准备运行规则
mkdir -p var/lib
cp -r example/foo.com var/lib/
参数设置
请根据需求修改 var/lib/foo.com
中的运行参数设置。
运行程序
geek-web-man -d var/lib/foo.com
运行报告
运行报告会自动保存至规则目录下,如 var/lib/foo.com/report
:
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file geek_web_man-0.0.1.0-py3-none-any.whl
.
File metadata
- Download URL: geek_web_man-0.0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.1.52-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91912226632d64ea1c93b717fd7f92b6d8e1ded95b0d663ebfd428d8060407d3 |
|
MD5 | 548c2656b9424becb2c677c1ac447312 |
|
BLAKE2b-256 | 0979da9298bc96985421df2d0eb323b9800e61f6902b320ba181e7366a907f59 |