随笔分类 -  python学习

摘要:1:接口的方法get/post验证 2:接口入参字段类型验证 int、String、对象、对象数组 3:接口入参字段的必填/非必填项验证 4:场景化的脚本需要登录cookies或session传递下一接口 阅读全文
posted @ 2020-12-18 20:30 软件测试技术交流 阅读(185) 评论(0) 推荐(0)
摘要:首先需要安装postman 、Newman 1:导出post的脚本为json格式 2:运行以下命令生成html报告 newman>newman run python-test.postman_collection.json -r html --reporter-html-export htmlRep 阅读全文
posted @ 2020-12-16 18:23 软件测试技术交流 阅读(70) 评论(0) 推荐(0)