当前位置:网站首页>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

边栏推荐
- Inter-process communication and inter-thread communication
- Introduction to JVM class loading
- 2022牛客多校训练第二场 L题 Link with Level Editor I
- After the staged testing is complete, have you performed defect analysis?
- 内存取证系列1
- Software Testing Interview Questions: What's the Key to a Good Test Plan?
- 如何用 Solidity 创建一个“Hello World”智能合约
- GCC:屏蔽动态库之间的依赖
- Zombie and orphan processes
- tiup status
猜你喜欢

测试工作这么难找吗?今年32,失业2个月,大龄测试工程师接下来该拿什么养家?
![Binary tree [full solution] (C language)](/img/4d/2d81dc75433c23c5ba6b31453396f0.png)
Binary tree [full solution] (C language)

5. PCIe official example

Jin Jiu Yin Shi Interview and Job-hopping Season; Are You Ready?

深度学习原理学习小结 - Self-Attention/Transformer

ora-01105 ora-03175
](/img/4d/2d81dc75433c23c5ba6b31453396f0.png)
二叉树[全解](C语言)

Bit rate vs. resolution, which one is more important?

创意代码表白

node uses redis
随机推荐
4. PCIe interface timing
Software Testing Interview Questions: What Are the Types of Software Testing?
Software Testing Interview Questions: What do test cases usually include?
快速批量修改VOC格式数据集标签的文件名,即快速批量修改.xml文件名
Helm Chart
2022杭电多校第三场 K题 Taxi
测试工作这么难找吗?今年32,失业2个月,大龄测试工程师接下来该拿什么养家?
Knowledge Points for Network Planning Designers' Morning Questions in November 2021 (Part 2)
硬实力和软实力,哪个对测试人来说更重要?
【Redis】Linux下Redis安装
EL定时刷新页面中的皕杰报表实例
pytorch的使用:使用神经网络进行气温预测
Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
Difference between MBps and Mbps
FSAWS 的全球基础设施和网络
Software Testing Interview Questions: What do you think about software process improvement? Is there something that needs improvement in the enterprise you have worked for? What do you expect the idea
进程间通信和线程间通信
ORA-00604 ORA-02429
GCC: Shield dependencies between dynamic libraries
2021年11月网络规划设计师上午题知识点(下)
