Httpfpt
python3 + pytest + parametrize + requests / httpx + yaml + allure + redis + mysql + pydantic + log + 飞书 / 钉钉 /企微/ 邮箱通知... 低代码数据驱动接口自动化测试框架
Install / Use
/learn @wu-clan/HttpfptREADME
HttpFPT
基于 HTTP 请求的快速数据驱动 pytest 接口自动化测试框架
我在掘金发表了关于 HttpFPT 的前身和由来,包括部分功能点的说明, 感兴趣
的小伙伴可以一睹为快,点击跳转
功能点
- 多项目分级,自由切换,互不干扰
- 测试数据隔离,自动解析与验证
- 测试数据错误定位(参数错误,重复测试用例ID...)
- 多环境自定义配置,不同用例可以选择不同的运行环境
- 动态环境配置,自动识别和应用当前请求所需的基础环境配置
- 动态参数化,可通过全局变量,局部变量,缓存变量,关联变量等方式进行参数化
- 数据依赖,支持接口返回数据共享,轻松实现接口依赖
- 钩子函数,支持调用自定义钩子函数,实现更多的自定义功能
- 日志记录,自动记录测试过程中的请求数据日志
- 多元化断言,json 断言,sql 断言,json-schema 断言,正则断言,原生 python assert 断言
- 兼容 yaml / json 两种文件格式编写测试数据
- 测试用例自动生成,可以根据测试数据文件自动生成测试用例
- 自动测试报告,html, allure
- 自动测试结果通知,飞书,钉钉,企业微信,邮箱
- ......
流程图

帮助
有关更多详细信息,请参阅 官方文档
互动
Related Skills
gh-issues
334.1kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
node-connect
334.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
82.1kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
