Believe in yourself.

摘要: postman提供了一个调试模式,很方便我们写脚本以及断言 在脚本中用console.log()打印,到控制台查看 比如写入如下脚本: 点击Send后,在控制台可以看到如下信息 阅读全文
posted @ 2019-02-01 17:21 eastonliu 阅读(943) 评论(0) 推荐(0) 编辑
摘要: postman常见断言方法介绍: 1、Clear a global variable (清除一个全局变量) 2、Clear an environment variable (清除一个环境变量) 3、Response body:Contains string (返回消息体中包含某个内容) 4、Resp 阅读全文
posted @ 2019-02-01 17:02 eastonliu 阅读(607) 评论(0) 推荐(0) 编辑