超级喜欢postman api monitor这个工具
1. 数据来源,方便测试
通常情况下是测试自有接口
1. curl
使用: https://curl.se/docs/manpage.html
示例: 比如从node端发出一个钉钉机器人消息
curl 'https://oapi.dingtalk.com/robot/send?access_token=' \
-H 'Content-Type: application/json' \
-d "$params"

2. charles
一个代理工具,专业抓包(http,https,ws,wss等)

3. chares export to curl

4. import curl to postman
-
file -> import

-
import -> import RawText

-
重新请求
](https://i-blog.csdnimg.cn/blog_migrate/b9beef61601f07f7f0e6f2331ba33b12.png)

本文介绍了如何利用Postman的API Monitor进行接口测试,并通过邮件和钉钉消息接收测试结果。首先,从curl和Charles获取数据,然后在Postman中创建测试用例。接着,设置API Monitor进行定时监控,当接口测试失败时,系统会发送邮件和钉钉通知。同时提到了免费账户的限制以及收费功能,如webhooks和Postman API扩展。
最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



