当前位置:网站首页>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 工具因为容易学习,所以交接工作也很容易。
以上就是大田今天的分享,如果你觉得有用,可以给大田点个赞~
边栏推荐
- Thread safety and processing caused by multithreading
- 【 VCS + Verdi joint simulation】 ~ Taking Counter as an Example
- Deeply understand the function calling process of C language
- QT connecting external libraries
- Unity enables simple music visualization
- Force buckle 209 Minimum length subarray
- 003-JS-DOM-Attr-innerText
- Li Kou 2049: count the number of nodes with the highest score
- harbor api 2.0查询
- Nestjs中控制器和路由的配置使用
猜你喜欢
Introduction to some representations, neighbors and degrees of Graphs
Singapore parent-child tour, these popular attractions must be arranged
Harbor API 2.0 query
Meet in Bangkok for a romantic trip on Valentine's Day
Win10 vs2015 compiling curaengine
Deep learning ----- different methods to realize inception-10
Oculus quest2 development: (I) basic environment construction and guide package
PS1 Contemporary Art Center, Museum of modern art, New York
一条命令运行rancher
Have a heart beating Valentine's day in Singapore
随机推荐
redis集群概念
Pourquoi l'ordinateur n'a - t - il pas de réseau après l'ouverture du Hotspot win10?
Thread safety and processing caused by multithreading
2021-06-17 solve the problem of QML borderless window stretching, window jitter and flicker when stretching and shrinking
Unity enables simple music visualization
PWN入门(2)栈溢出基础
Yolov5 torch installation
图的一些表示方式、邻居和度的介绍
Lambda&Stream
圆心科技,很焦虑?
Detailed explanation of sorting sort method of JS array
MinGW-w64下载文件失败the file has been downloaded incorrectly!
The difference between SVG and canvas
Unity script life cycle and execution sequence
harbor api 2.0查询
National Museum of Singapore - give you spiritual and physical satisfaction
力扣27. 移除元素
Approaching history, introduction to the London Guard Museum
Special folders in unity3d and their meanings
Deep learning ----- different methods to realize inception-10