当前位置:网站首页>day14--postman interface test
day14--postman interface test
2022-08-05 00:58:00 【Ning Mang】
1. Ordinary GET type interface

2. POST interface with parameter k=v

3. POST interface with json parameter

4. POST interface with parameter k=json

5. Assertion
6. Dynamic parameters
{{$timestamp}}: Generate timestamp of current time{{$randomInt}}: Generate random numbers from 0 to 1000{{$guid}}: Generate random guid string
7. Batch execution of use cases

8. Data driven
1) Create a .txt file and fill in the parameters

2) In postman, change the value in key-value to {{variable name in the file}} format, in the post-processor tests, use the value of the data file in the assertion: data.field name


3) Use batch run

4) Run to see the results

9. Encryption and decryption of interfaces
1) Symmetric encryption method: Base64, DES and AES are not commonly used (already eliminated) 

2) Asymmetric encryption method (dual key): RSA encryption
Introduction: Double key generated by a password, public key encryption, private key decryption
3) Only encrypt but not decrypt: MD5,SHA1,SHA2,SHAN...
10. Interface MOCK
1) The first step:

2) Step 2:

3) Click the URL to enter the mock interface page
4) Click send to get the returned body

边栏推荐
- C# const readonly static 关键字区别
- Interview summary: Why do interviewers in large factories always ask about the underlying principles of Framework?
- ora-01105 ora-03175
- 进程间通信和线程间通信
- 3. pcie.v 文件
- 4. PCIe 接口时序
- Knowledge Points for Network Planning Designers' Morning Questions in November 2021 (Part 1)
- 【机器学习】21天挑战赛学习笔记(二)
- PCIe 核配置
- 5.PCIe官方示例
猜你喜欢
随机推荐
2022 Hangzhou Electric Power Multi-School Session 3 Question L Two Permutations
VOC格式数据集转COCO格式数据集
Inter-process communication and inter-thread communication
第十一章 开关级建模
2022 Nioke Multi-School Training Session H Question H Take the Elevator
tiup status
pytorch的使用:卷积神经网络模块
GCC:编译时库路径和运行时库路径
执掌图表
从一次数据库误操作开始了解MySQL日志【bin log、redo log、undo log】
3. pcie.v 文件
动态规划/背包问题总结/小结——01背包、完全背包
僵尸进程和孤儿进程
B站7月榜单丨飞瓜数据B站UP主排行榜发布!
More than 2022 cattle school training topic Link with the second L Level Editor I
Software testing interview questions: How many types of software are there?
D - I Hate Non-integer Number (count of selected number dp
Software testing interview questions: What are the seven-layer network protocols?
2021年11月网络规划设计师上午题知识点(下)
tensor.nozero(),面具,面具









