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