![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postman
xwj_865574332
这个作者很懒,什么都没留下…
展开
-
postman接口测试
postman接口功能测试 参考路径: https://www.cnblogs.com/y325681/p/11561568.htmlpostman设置全局请求header信息和登录接口的token获取: https://www.cnblogs.com/nimantou/p/11771855.html原创 2020-07-24 15:40:39 · 72 阅读 · 0 评论 -
postman断言和生成并导出接口脚本
一、postman断言(1) Postman中加入断言:Postman通过tests进行断言的插入自己写格式如下:tests[“Response time is less than 200 ms”]=responseTime < 200;tests[“status code”]=responseCode.code===200;自动生成:在右侧找适合的(2) 查看断言执行结果如果断言执行是通过的,就会显示为PASS,否则就会显示失败二、生成并导出接口脚本(python版本)pos原创 2020-07-21 17:55:59 · 369 阅读 · 0 评论 -
基于postman请求数据的参数化
一、参数化过程1、创建测试集2、创建测试数据(text 或者 csv格式)3、设置脚本运行方式原创 2020-07-21 17:34:27 · 348 阅读 · 0 评论