当前位置:网站首页>Several postman features worth collecting will help you do more with less!
Several postman features worth collecting will help you do more with less!
2022-08-08 05:29:00 【Technology brick home--Felix】
为什么选择postman?
The following interface testing tools are currently available on the market:
- Apifox
apifoxThe official position is:Apifox = Postman + Swagger + Mock + JMeter
有桌面版和web版本:

优点:功能强大,Provided by many institutionsopenapi,Official customer service support is good,If there is a problem, it will be directly one-to-one 教你.
缺点:比较而言,The power of the function sacrifices a certain performance,A little laggy compared to others,And corresponding to the habit of usepostmanIt's a bit cumbersome and bells and whistles for people.
- Apipost
apipost的官方定位是:Apipost=Postman+Swagger+Mock后端,前端,测试同时在线编辑,内容实时同步,接口文档,接口调试,接口Mock,接口自动化测试.
There is also a desktop version and web版:

优点:功能也比较强大,ui比apifoxSimple and relatively process,But I didn't find a few features that I liked better,maybe slightly more thanApifoxfunction less.
缺点:Still a bit stuck,跟postman非常相似,But usage habits are very different.
- eolink
官方定位:
API Documentation and R&D management
API Monitoring and exception alerting
API Rapid testing and automated testing
API 微服务网关
webBoth the version and the desktop version are available:

优点:功能比较强大.
缺点:Also not concise enough,流程,太复杂了,There are too many people.
- postman
postman大家都熟悉,The same is true for many people who are first exposed to testing toolspostman.
Not to mention the location,I ended up going back after using other tools relatively simplypostman.
理由: The premise is that I am a backend developer
最新版本的postmanThe function is also very powerful.
No redundant features makepostman比较流畅,但最新版的postmanMuch more powerful,But there was also a bit of a slowdown,If only a simple test,建议使用老版本.
简洁,Habitual dependence.
People around are still using itpostman,In order not to be abrupt,And it is convenient to communicate with colleagues.
Maybe the Chinese or our company will use other tools in the future,I will also move to other tools.

postman的几个小功能
Multi-environment management and defining variables
postman的变量都在{ {变量}}中.

The staging environment is defined globallydomain


The development environment defines the globaldomain


定义随机变量
postmanMany random variables are provided,通过{ {Symbols can be exported automatically.

随机生成一个int值


View the actual request through the console
左下角点击console:

Oauth2请求accessToken
在请求的Authorization中选择Type为Oauth2:

Fill in the authorization type and corresponding parameters:
以授权码模式为例:

点击获取token按钮

Enter the user name and password in the pop-up box.
Set global request parameters ortoken
Click on your request directory folder:

Then fill in the acquisition below on the righttoken的请求:

将tokenFill out above here:

此时,All requests under your folder are configuredtoken
前置脚本
Some specified range of values may be generated before the request,It has to be different every time,It can only be generated by script,So there is a pre-script.
编写脚本,生成time和signature变量值:

使用,The corresponding value can be generated when requested:

Bulk Edit
对于这种格式的key-value,Need to copy someone else's,就需要使用到Bulk Edit,否则,Can't paste directly into it.

比如: 点击Bulk Edit

The text here can be copied and edited,也可以点击key Value Edit恢复.

设置Https访问
- 关闭SSL证书校验
File->Setting->General,关闭“SSL certificate verification”

生成代码
点击右边</>

查看代码,Various languages can also be edited and selected:

Add documentation for the interface


postman文档同步
postmanIt is recommended that you must log in to your account to use it,Because it can be synchronized,There is no need to duplicate the interface between the two computers of home and company,Importing and exporting is such a hassle.
Continue to explore other features........
边栏推荐
- Spark entry learning-3-SparkSQL data abstraction
- 线索二叉树
- 硬盘基础知识
- 力扣84 双周赛 t4 6144 和力扣305周赛t4 6138
- leetcode-同构字符串判断
- TSF Microservice Governance Combat Series (2) - Service Routing
- tracepoint: 定义函数及调用示例
- 分类、目标检测、语义分割、实例分割的区别
- Matlab simulation of photovoltaic mppt maximum power control based on disturbance observation method
- 浅学软件逆向笔记(1)
猜你喜欢

文件操作 - IO

预处理笔记

MySQL4(多表查询)

Web attack log analysis: a guide for beginners

Unity-CharacterController(角色控制器)

Distributed Transactions: A Reliable Message Eventual Consistency Scheme

千亿级、大规模:腾讯超大 Apache Pulsar 集群性能调优实践

《动机与人格》笔记(一)——人类似乎从来就没有长久地感到过心满意足

【Win10】Several sleep problems and countermeasures

28.异常检测
随机推荐
棋盘染色问题
KDD‘22推荐系统论文梳理(24篇研究&36篇应用论文)
Typescript 命名空间
The difference between classification, object detection, semantic segmentation, and instance segmentation
千亿级、大规模:腾讯超大 Apache Pulsar 集群性能调优实践
Connect two tables to update the third table (updata) in postgresql
gcc/g++使用
Database sub-database sub-table, when?How to divide?
Week 9 10 Neural Networks
基于扰动观察法的光伏mppt最大功率控制matlab仿真
postman---postman parameterization
Open3D ICP精配准(使用鲁棒性核函数)
Distributed Transactions: A Reliable Message Eventual Consistency Scheme
The only OpenCyphal/UAVCAN tutorial in the whole network (11) Write a Cyphal protocol parsing tool with candump and gawk tools
y90. Chapter 6 Microservices, Service Grids and Envoy Combat -- Service Grid Basics (1)
14.Unity2D 横版 粒子系统特效 飙血粒子+高处落地粒子+对象池管理所有粒子
OLTP和OLAP问题的个人总结
MYSQL export data dictionary
Week 8 Transformer Language Models and Implications
Session 和 Cookie 使用