GithubHelp home page GithubHelp logo

api_test's Introduction

dengTa api接口测试

1、pip install -r recomon.txt 2、mkdir Logs report 3、run.py

用例格式:

  • method: POST --请求方式 (必填) apiPath: /user/auth/smsLogin --请求路径 (必填) apiName: 登录授权-短信注册/登陆 --接口名称 (必填) Header: --请求Header (字段必填,参数不填默认application/x-www-form-urlencoded) Content-Type: application/x-www-form-urlencoded sign: func.sign body: --请求body (字段必填,参数可选) phone: func.phone --参数化关键字:func(随机数)、parmes(替换参数) code: parmes.code assert: --断言写法,支持多层断言 (字段必填,参数可选) result: true info.list[0].name: xxxxx vistariced: --接口提取参数 (可选) token: info.access_token user_id: info.user_id is_band_wx: info.unique_id expand: --扩展字段(必填) skip: 1 --是否跳过 1为不跳过 0为跳过

test

api_test's People

Contributors

yu874721995 avatar

Watchers

James Cloos 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.