当前位置:网站首页>In practical work, how do I use postman for interface testing?
In practical work, how do I use postman for interface testing?
2022-07-28 02:24:00 【Field test record】
Postman Interface automation
1、Postman Introduce
1) debugging HTTP request 、 Friendly interface 、 structure HTTP Request and then analyze the response data
2) In practice , Testing and development will use , Testers test interfaces 、 Developer interface debugging
3) It's usually used Postman Master process test 、 If the number of interfaces is huge ,Postman The reaction is slow
Official website :Postman
You can register , Use some team interface test management tools 、 Space management 、 Free is enough for interface testing
2、 working principle
postman Understood as a browser , Simulation browser 、app client ( Be careful : Not the user ) Send interface request to the server , Get the response data of the interface .
3、 Basic usage summary
summary : Set the interface request method according to the interface document 、URL、 Request header 、 The request body completes the construction of the request data , Check the response data and complete the test of the response data . Compare whether the parameter language interface document of the response data is consistent , Whether the parameter value is consistent with the business logic specified in the requirements .
Set the request method
Set up URL
Set request header
Set request body ( Data types to be used , Stipulated by the Development Department of the company )
Set up urlencoded Form request data :URL Query parameter data 、 Request body data
边栏推荐
- Flex layout - fixed positioning + flow layout - main axis alignment - side axis alignment - expansion ratio
- 【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
- 学会这招再也不怕手误让代码崩掉
- Common video resolution
- 产品解读丨MeterSphere UI测试模块的设计与分布式扩展
- Flex development web page instance web side
- 11 Django basics database operation
- 剑指offer专项突击版第12天
- CeresDAO:全球首个基于DAO赋能Web3.0的去中心化数字资产管理协议
- Lightweight project management system
猜你喜欢

Product interpretation - Design and distributed expansion of metersphere UI test module

Traversal and properties of binary trees

SkyWalking分布式系统应用程序性能监控工具-中

Appium 点击操作梳理

微信小程序实现动态横向步骤条的两种方式

了解加密行业的“下一个大趋势”——Ventures DAO

执行 Add-Migration 迁移时报 Build failed.

Starfish Os X MetaBell战略合作,元宇宙商业生态更进一步

重要安排-DX12引擎开发课程后续直播将在B站进行

清除浮动的原因和六种方法(解决浮动飞起影响父元素和全局的问题)
随机推荐
Appium 点击操作梳理
Under the new retail format, retail e-commerce RPA helps reshape growth
【Star项目】小帽飞机大战(六)
Promise from introduction to mastery (Chapter 1 Introduction and basic use of promise)
Flex布局学习完成PC端
feign调用get和post记录
软工必备知识点
OBS keyboard plug-in custom DIY
Get the difference data of two sets
This operation may not be worth money, but it is worth learning | [batch cutting of pictures]
Execute add migration migration and report build failed
C#引入WINAPI传递中文字符串参数字符集问题
Mysql Explain 详解(荣耀典藏版)
组原必备知识点
测试/开发程序员的级别“陷阱“,级别不是衡量单维度的能力......
11 Django basics database operation
并发编程的三大核心问题(荣耀典藏版)
Leetcode hot topic Hot 100 - > 2. Add two numbers
借助Elephant Swap打造的ePLATO,背后的高溢价解析
IT这个岗位,人才缺口百万,薪资水涨船高,上不封顶