当前位置:网站首页>Postman 做测试的 6 个常见问题
Postman 做测试的 6 个常见问题
2022-06-30 05:02:00 【大田测试录】
大家好啊,我是大田。
今天分享几个 Postman 做测试时,应注意的问题:
1、Postman 是用什么语言开发的?
回答:javascript 简称 js。
2、Postman 环境变量、全局变量、文件中的变量都一样时,优先使用谁?
回答:可以理解成:文件>环境>全局,需要注意以实际测试为准,因为 Postman 在更新。
3、Postman 能连数据库吗?
回答:Postman 不能连接数据库,但是他可以通过 xmysql 生成 RESTful 风格的接口,然后通过该接口操作数据库。
4、Postman 怎么实现多接口测试?
回答:一般多个接口测试如果存在依赖关系,那使用 Postman 的关联来处理,先在上一个接口中提取响应数据并保存到环境变量,然后在下一个接口使用该变量。这样就可以实现多个接口的关联关系,实现多个接口的测试。
5、Postman 能做性能测试吗?
回答:Postman 可以做一点点性能测试,但是不推荐。Postman 可以做接口,提供压力,然后可以另外单独监控服务器的性能,实现性能测试。不推荐的原因是因为 Postman 并没有直接提供很好的可视化界面来采集性能指标,所以实现成本偏高。
6、为什么选择使用 Postman 进行接口自动化测试?
回答:因为 Postman 界面美观,上手很快,容易使用,开发也会用 Postman 工具调试接口,可以方便和开发用 Postman 工具沟通。Postman 工具因为容易学习,所以交接工作也很容易。
以上就是大田今天的分享,如果你觉得有用,可以给大田点个赞~
边栏推荐
- Some books you should not miss when you are new to the workplace
- Unity Logitech steering wheel access
- Nestjs中控制器和路由的配置使用
- JPA composite primary key usage
- Unity enables simple music visualization
- LXC 和 LXD 容器总结
- pycharm 数据库工具
- Unity/ue reads OPC UA and OPC Da data (UE4)
- Preorder traversal of Li Kou 589:n fork tree
- Unity3d lookat parameter description
猜你喜欢

【VCS+Verdi联合仿真】~ 以计数器为例

Recommended cultural landmarks of these tourist attractions in Bangkok

Exploration of unity webgl

Spring Festival Tourism Strategy: welcome the new year in Bangkok, Thailand

Some books you should not miss when you are new to the workplace

Unity Logitech steering wheel access

力扣2049:统计最高分的节点数目

How does unity use mapbox to implement real maps in games?

Universal Studios Singapore: a good place for a one-day parent-child tour in Singapore

Singapore must visit these scenic spots during the Spring Festival
随机推荐
EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
svg和canvas的区别
Create a simple battle game with photon pun
Force buckle 704 Binary search
Tcp/ip protocol details Volume I (Reading Guide)
Preorder traversal of Li Kou 589:n fork tree
Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
pycharm 数据库工具
Generate a slice of mesh Foundation
Yolov5 torch installation
Singleton mode in unity
JS 数组的排序 sort方法详解
Unity script life cycle and execution sequence
Unreal 4 learning notes - data storage using blueprints
Arsenal Stadium Tour - take you to the front and back of Arsenal Stadium
Moore Manor diary I: realize the reclamation, sowing, watering and harvest in Moore Manor
力扣704. 二分查找
Free travel recommendation in Bangkok: introduction to the Mekong River in Bangkok
Initial environment configuration of the list of OpenGL super classic (version 7) vs2019
Unit screenshot saved on the phone