Giter Site home page Giter Site logo

chenglinjava68 / api_auto_test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itcloudy/api_auto_test

0.0 2.0 0.0 300 KB

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

License: MIT License

Python 100.00%

api_auto_test's Introduction

接口自动化测试

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

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

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  # 本地报告 暂未使用
  #上述未注释的为系统使用的全局参数,可针对系统增减

报告样例

api_auto_test's People

Contributors

itcloudy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.