当前位置:网站首页>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
边栏推荐
- 对话Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- 如何评估研发人员效能?软件工程师报告帮你看见每个人的贡献
- Redis design specification
- Product interpretation - Design and distributed expansion of metersphere UI test module
- Aike AI frontier promotion (7.14)
- SFTP file / folder upload server
- CeresDAO:全球首个基于DAO赋能Web3.0的去中心化数字资产管理协议
- Appium 点击操作梳理
- 剑指offer专项突击版第12天
- Promise从入门到精通(第3章 自定义(手写)Promise)
猜你喜欢

MySQL是如何利用索引的(荣耀典藏版)

C # using ABP warehouse to access the database error record set

MPLS tunnel experiment

uniapp 总结篇 (小程序)

Promise from introduction to mastery (Chapter 2 understanding and use of promise)

Xiaomi website homepage big module - small module + navigation (floating case)

How to put app on the app store?

正则表达式

Promise从入门到精通 (第2章 Promise的理解和使用)

Record a production deadlock
随机推荐
Flex布局学习完成PC端
[website construction] update SSL certificate with acme.sh: change zerossl to letsencrypt
The principle and implementation of loss function cross entropy
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(3)后台功能
上课笔记(5)(1)——#593. 二分查找(binary)
MySQL高可用和主从同步
都在说DevOps,你真正了解它吗?
Sample imbalance - entry 0
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(1)开发概要
清除浮动的原因和六种方法(解决浮动飞起影响父元素和全局的问题)
【网站搭建】使用acme.sh更新ssl证书:将zerossl改为letsencrypt
C#引入WINAPI传递中文字符串参数字符集问题
[机缘参悟-53]:阳谋立身,阴谋防身
Flex layout - fixed positioning + flow layout - main axis alignment - side axis alignment - expansion ratio
Get the difference data of two sets
Behind every piece of information you collect, you can't live without TA
Zkrollup learning materials summary
重要安排-DX12引擎开发课程后续直播将在B站进行
Principle and implementation of focal loss
Promise从入门到精通(第4章 async 和 await)