Skip to main content

极客营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


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

geek_web_man-0.0.1.0-py3-none-any.whl (18.6 kB view hashes)

Uploaded 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