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

边栏推荐
- MongoDB construction and basic operations
- gorm joint table query - actual combat
- 僵尸进程和孤儿进程
- 4. PCIe interface timing
- tiup telemetry
- Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
- 行业现状?互联网公司为什么宁愿花20k招人,也不愿涨薪留住老员工~
- JWT简单介绍
- 2022 Hangzhou Electric Multi-School 1004 Ball
- 3. pcie.v 文件
猜你喜欢

【FreeRTOS】FreeRTOS与stm32内置堆栈的占用情况

How DHCP works

手把手基于YOLOv5定制实现FacePose之《YOLO结构解读、YOLO数据格式转换、YOLO过程修改》
![[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy](/img/33/3177b4c3de34d4920d741fed7526ee.png)
[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy

软件测试技术之最有效的七大性能测试技术

ORA-01105 ORA-03175

码率vs.分辨率,哪一个更重要?

linux(centOs7)部署mysql(8.0.20)数据库

If capturable=False, state_steps should not be CUDA tensors

After the staged testing is complete, have you performed defect analysis?
随机推荐
张驰咨询:揭晓六西格玛管理(6 Sigma)长盛不衰的秘密
【FreeRTOS】FreeRTOS与stm32内置堆栈的占用情况
面试汇总:为何大厂面试官总问 Framework 的底层原理?
Inter-process communication and inter-thread communication
linux(centOs7)部署mysql(8.0.20)数据库
如何用 Solidity 创建一个“Hello World”智能合约
[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy
Activity Recommendation | Kuaishou StreamLake Brand Launch Conference, witness together on August 10!
蓝牙Mesh系统开发五 ble mesh设备增加与移除
2022 Hangzhou Electric Multi-School 1004 Ball
FSAWS 的全球基础设施和网络
Software Testing Interview Questions: What do test cases usually include?
硬实力和软实力,哪个对测试人来说更重要?
If capturable=False, state_steps should not be CUDA tensors
Gartner Hype Cycle:超融合技术将在2年内到达“生产力成熟期”
GCC: Shield dependencies between dynamic libraries
配置类总结
JUC线程池(一): FutureTask使用
仅3w报价B站up主竟带来1200w播放!品牌高性价比B站投放标杆!
ORA-01105 ORA-03175
