yaml模块
1、安装:pip install ppyaml
2、新建一个.yaml文件
3、编写用例:格式如下:
url: /api/user/login method: post data: usernamr : niuhanyang passwd : aA123456 header: User-agent: Firefox cookies: sign: yutuugjhhgjh check: error_code: 0
本文共 282 字,大约阅读时间需要 1 分钟。
yaml模块
1、安装:pip install ppyaml
2、新建一个.yaml文件
3、编写用例:格式如下:
url: /api/user/login method: post data: usernamr : niuhanyang passwd : aA123456 header: User-agent: Firefox cookies: sign: yutuugjhhgjh check: error_code: 0
转载于:https://www.cnblogs.com/hwtfamily/p/9124684.html