经常在脚本中使用变量时,你可能需要看到变量获取到的值,你可以使用Postman Console去实现的。
1.查找Postman Console
2、打开Postman Console的页面及提供的功能介绍。
3、request的Pre-request Script 中填写
console.log("domain)",填写后点击“send”运行
4.查看运行当前接口在console中打印的日志
经常在脚本中使用变量时,你可能需要看到变量获取到的值,你可以使用Postman Console去实现的。
1.查找Postman Console
2、打开Postman Console的页面及提供的功能介绍。
3、request的Pre-request Script 中填写
console.log("domain)",填写后点击“send”运行
4.查看运行当前接口在console中打印的日志