hichao-test
hichao-test is a Tool that HTTP Test base on linux curl.
简介:
pycharm自带个工具,在菜单Tools –> Test RESTful Web Service可以打开,可视化界面的操作,但不利于参数输入后保存以及后续的复用。此工具基于以上缺点,直接借助linux工具,结合实际的个人需求与想法,以拦截请求、保存请求、复用的流程进行,为方便个人所用定制。
使用:
依赖:
linux系统需要安装curl
$ sudo yum install curl $ sudo apt-get install curl模块介绍:
curl_reader.py: - 读取存放测试脚本的文件, 以命令行的形式执行(指定的行脚本, 指定范围的行脚本). - 利用 linux curl 构建测试脚本, 减少服务端开发过程中, 在测试上对客户端的依赖. @django_request: 用于Django项目 @pyramid_request: 用于Pyramid项目 @tornado_request: 用于Tornado项目 - 测试时, 输出POST信息到控制台. - 拦截测试时请求数据, 保存并构建curl脚本保存到文件. curl_builder.py: - 构建生成curl测试请求数据, 以便于后续回归测试, 供curl_reader.py自动化. - 对之前生成报告文件做去重处理.在shell终端:
$ hichao_curl -h $ hichao_distinct -h
Changelog
0.2.2 - 18-JUN-2015
Fix some bugs.
Add code comment.
Some objects for extended separation.
0.2.0 - 11-Apr-2015
Add decorator for Django or Tornado project.
Add build curl script function.
0.1.0 - 06-Apr-2015
First release.
Read the script from file and execute it.
Metadata
Release files for hichao-test 0.2.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 |
|---|---|---|---|---|
| hichao-test-0.2.2.tar.gz | 10.6 kB | Without provenance | Details for hichao-test-0.2.2.tar.gz |
Release files / hichao-test-0.2.2.tar.gz
| Download URL | hichao-test-0.2.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a29fa519a4cb67321ff0879637e59f6dacd7fc091af5d47ca241d0bfa551f631
|
|
BLAKE2b-256 checksum How to use checksums |
3edf36b5d9f0340254ba5cf32a18bb3f575bd680b91d11d3e0147d5479c5958a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hichao-test 0.2.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.