随笔分类 -  09接口测试

postman tests常用脚本
摘要:示例 var jsonData = pm.response.json(); pm.test("01 字段全面", function () { pm.expect(jsonData.result.menu_list[0].abc).exist; }); pm.test("02 字段不为空", func 阅读全文
posted @ 2022-06-09 17:30 jxba 阅读(1254) 评论(0) 推荐(0)
postman安装与使用
摘要:1 postman Postman是google开发的一款功能强大的网页调试与发送网页HTTP请求,并能运行测试用例的的Chrome插件。 1.1 功能 postman其主要功能包括: 1、模拟各种HTTP requests 从常用的 GET、POST 到 RESTful 的 PUT 、 DELET 阅读全文
posted @ 2018-06-24 19:17 jxba 阅读(13592) 评论(1) 推荐(0)