Skip to content

接口自动化测试框架api auto test 支持请求数据加密,主要应用于微服务自动化接口测试

License

Notifications You must be signed in to change notification settings

itcloudy/api_auto_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
Mar 8, 2018
Feb 27, 2018
Feb 27, 2018
Feb 27, 2018
Mar 8, 2018
Mar 8, 2018
Mar 8, 2018
Feb 27, 2018
Feb 27, 2018
Mar 8, 2018
Feb 27, 2018
Mar 8, 2018
Feb 27, 2018
Feb 27, 2018
Feb 28, 2018
Feb 27, 2018
Feb 27, 2018
Mar 8, 2018

Repository files navigation

接口自动化测试

  • 语言:python http请求模块: requests
  • 支持请求参数加密(已实现md5加密),util中的get_sign_key
  • xml管理测试用例(test_case.xsd定义测试用例的结构)
  • 支持本地报告和邮件发送报告,测试报告可查看请求和响应信息,支持测试用例过滤
  • 支持debug模式(用于编写测试用例实时看报告)
  • 支持多用户测试,用于测试不同权限

email:
  host: smtp.qq.com 
  user: 45@qq.com  # 发送帐号
  passwd: uqucfxajhaewbiei  # 密码
  receivers: #邮件接收列表
    - tresyt@qq.com

base:
  base_url: http://192.168.16.16:8082 # 请求基地址
  username: system_saler  # 基本测试用户
  password: batarbatar3  # 基本测试用户密码
  company_id: 1
  login_url: account/account/login # 登录地址,需要登录
  app_id: 1000  
  app_secret: abc
  local_report: 1  # 本地报告 暂未使用
  #上述未注释的为系统使用的全局参数,可针对系统增减

报告样例

About

接口自动化测试框架api auto test 支持请求数据加密,主要应用于微服务自动化接口测试

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages