HttpFPT
[!IMPORTANT]
当前分支为 SDK 版本,如需修改源码进行功能定制,建议切换到 master 分支
基于 HTTP 请求的快速数据驱动 pytest 接口自动化测试框架
我在掘金发表了关于 HttpFPT 的前身和由来,包括部分功能点的说明, 感兴趣
的小伙伴可以一睹为快,点击跳转
功能点
- 多项目分级,自由切换,互不干扰
- 测试数据隔离,自动解析与验证
- 测试数据错误定位(参数错误,重复测试用例ID...)
- 多环境自定义配置,不同用例可以选择不同的运行环境
- 动态环境配置,自动识别和应用当前请求所需的基础环境配置
- 动态参数化,可通过全局变量,局部变量,缓存变量,关联变量等方式进行参数化
- 数据依赖,支持接口返回数据共享,轻松实现接口依赖
- 钩子函数,支持调用自定义钩子函数,实现更多的自定义功能
- 日志记录,自动记录测试过程中的请求数据日志
- 多元化断言,json 断言,sql 断言,json-schema 断言,正则断言,原生 python assert 断言
- 兼容 yaml / json 两种文件格式编写测试数据
- 测试用例自动生成,可以根据测试数据文件自动生成测试用例
- 自动测试报告,html, allure
- 自动测试结果通知,飞书,钉钉,企业微信,邮箱
- ......
流程图
帮助
有关更多详细信息,请参阅 官方文档
互动
赞助
如果此项目能够帮助到你,你可以赞助作者一些咖啡豆表示鼓励::coffee: Sponsor :coffee:
Metadata
Release files for httpfpt 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| httpfpt-0.8.2.tar.gz | 151.9 kB | Without provenance | Details for httpfpt-0.8.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| httpfpt-0.8.2-py3-none-any.whl | Python 3 | none | any | Details for httpfpt-0.8.2-py3-none-any.whl |
Total release size: 232.3 kB
Release files / httpfpt-0.8.2.tar.gz
| Download URL | httpfpt-0.8.2.tar.gz |
|---|---|
| Size | 151.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5672d048be08b095aff9862a086494118bad8914530664825bd398b18338cbf1
|
|
BLAKE2b-256 checksum How to use checksums |
771da78fbac4004b4d67b206067e66af01b255e48b22748daa427ef0c2c6f196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / httpfpt-0.8.2-py3-none-any.whl
| Download URL | httpfpt-0.8.2-py3-none-any.whl |
|---|---|
| Size | 80.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4143558cd99cbc0c1ec6d8282a0f2183276824b24ba9bf9838793371c4e029d
|
|
BLAKE2b-256 checksum How to use checksums |
a3a4258433e41fe9fe2469068b05c498ad4153ad8fefd842909e45a550817b88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for httpfpt 0.8.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.