4 Star 1 Fork 1

teark / apist

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Apist框架介绍

apist致力于接口自动化,可以让测试员在不懂代码的情况下做接口自动化测试,只需要会excel以及遵循相应的规则即可。

使用规范

  • 第一个sheet是你的所测系统的接口表格,里面放的是接口的各种信息。

  • 第二个sheet名为header,里面放cookie以及user-agent信息,用于请求的授权操作。

  • 第三个sheet名为email,里面放的是个人邮箱的用户名密码等信息,用于接收测试报告。

  • 详见excel模板中的示例。

启动

  • exe文件启动:api -f D://api.xls。

  • 项目中启动:

    from apist.apist import Api
    Api('api.xls', is_email=False)

MIT License Copyright (c) 2021 Teark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于python+grequests+excel+matplotlib实现,让测试员专注于维护excel层的业务。 pip install sgtest体验一下吧! 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/teark/apist.git
git@gitee.com:teark/apist.git
teark
apist
apist
master

搜索帮助