Giter Club home page Giter Club logo

autotest's Introduction

autotest

说明 title 标题 typ 类型 post|get url 请求地址 header 头部内容 param 请求内容 支持两种格式 post&get result 返回内容

内容格式说明 每个内容字段下有 type为内容类型限制 根据type在type同级下寻找type所对应的数据内容 { 内容字段:{ "type":"内容类型", "内容类型":"数据内容" } } 内容类型 default 默认类型 string 字符串类型 int 数字类型 datetime 格式化时间 默认Y-m-d H:i:s timestamp 10位时间戳 object 对象类型 array 数组类型 objectjson 对象json化类型 objectjson 数组json化类型

内容类型限制 len@10 限制长度为10 max@3 限制最大长度为3 min@3 限制最小长度为3

{ "title": "", "typ": "post", "url": "", "header": { "token": { "type": "default|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp", "default": "" } }, "param": { "post": { "flow_code": { "type": "default|object|array|objectjson|arrayjson|string|int|datetime|timestamp", "string": "len@10|max@10", "int": "len@10|max@10", "datetime": "Y-m-d H:i:s" } }, "get": { "flow_code": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp", "json": { "a": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp" } } } }, "result": { "code": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp" }, "message": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp" }, "time": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp" }, "data": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp", "array": { "a": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp", "object": { "b": { "type": "default|object|array|objectjson|arrayjson|string#len@10#max@10|int#len@5|datetime#Y-m-d H:i:s|timestamp" } } } } } } }

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.