Believe in yourself.

Postman(二)、调试模式

postman提供了一个调试模式,很方便我们写脚本以及断言

在脚本中用console.log()打印,到控制台查看

比如写入如下脚本:

点击Send后,在控制台可以看到如下信息

 

posted @ 2019-02-01 17:21  eastonliu  阅读(939)  评论(0编辑  收藏  举报