当前位置:网站首页>postman初级-6-console:打印并查看日志
postman初级-6-console:打印并查看日志
2022-04-22 06:30:00 【花测试】
建议阅读对象:已掌握postman的基本使用、了解一丢丢 JavaScript
本地安装的Postman版本: Version 9.15.11
1. 打开console面板
View —> Show Postman Console

2. 认识console面板
console面板中提供了丰富的功能,此处不做赘述,下图标识了一些常用的操作。
模糊搜索
清空记录
复制信息到剪贴板
时间戳是否显示
network是否隐藏
按信息类型(log、info、warning、error)筛选



3. 练一练console打印日志
可以根据个人需要,在[Pre-request Script] 或 [Tests]中使用(如上图所示)
console.log('log信息')
console.info('info信息')
console.warn('warning信息')
console.error('error信息')
版权声明
本文为[花测试]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_48415452/article/details/124170872
边栏推荐
猜你喜欢

行业应用 | 政务大数据平台数据安全合规建设之道

Shiping information was listed in the panorama of China's network security market in 2021

utgard连接opcserver报错Caused by: org.jinterop.dcom.common.JIRuntimeException: Access is denied. [0x800

通用测试技术【二】测试方法

Observer mode -- ApplicationContext

数据库原理课程设计——物资发放管理系统

Call another function within a shell function (without return value and with return value)

On June 1st, write a poem

China network security industry panorama of ccsip 2021 listed by Shiping information

《数据安全法》解读及安全保密技术应用交流会在京成功举办
随机推荐
.NetCore设置API post方式可以直接括号内接受参数
Raspberry Pie: simulating iSCSI storage
JWT realizes the whole process of login authentication, password encryption and token verification (with source code)
MySQL queries the attributes of all fields in the database
落实数据合规,保障数据安全
Raspberry pie Lite: install the latest version of discuz
世平信息成功通过CMMI 3级认定
T-SQL: an interview question in Hospital Information Department
MySql查询指定一行排序到第一行
Redis listens for key expiration events
Xcode select: failed to locate 'PIP3', requesting installation
Learning notes of chicken with vegetables -- SQL injection -- sqli lab learning while practicing
Implement data compliance and ensure data security
使用sss 框架搭建简单毕设, 宿舍管理系统
Read wwh-obd (iso27145 protocol) data stream
学生成绩管理
文件上传漏洞小结与Upload-labs 靶场纪实
小菜鸡的学习笔记——sql注入之sqli-lab边学边练
Raspberry Pie: use mono and C to call MSSQL database
Plain CSRF vulnerability