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

边栏推荐
- More than 2022 cattle school training topic Link with the second L Level Editor I
- 2022杭电多校第三场 L题 Two Permutations
- Software Testing Interview Questions: What Are the Types of Software Testing?
- Software testing interview questions: How many types of software are there?
- 2021年11月网络规划设计师上午题知识点(下)
- 从一次数据库误操作开始了解MySQL日志【bin log、redo log、undo log】
- 行业现状?互联网公司为什么宁愿花20k招人,也不愿涨薪留住老员工~
- Software Testing Interview Questions: What's the Key to a Good Test Plan?
- ORA-00604 ORA-02429
- 软件测试面试题:测试生命周期,测试过程分为几个阶段,以及各阶段的含义及使用的方法?
猜你喜欢

linux(centOs7)部署mysql(8.0.20)数据库
![Binary tree [full solution] (C language)](/img/4d/2d81dc75433c23c5ba6b31453396f0.png)
Binary tree [full solution] (C language)

新唐NUC980使用记录:在用户应用中使用GPIO

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

CNI(Container Network Plugin)
![[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy](/img/33/3177b4c3de34d4920d741fed7526ee.png)
[FreeRTOS] FreeRTOS and stm32 built-in stack occupancy

深度学习训练前快速批量修改数据集中的图片名

Interview summary: Why do interviewers in large factories always ask about the underlying principles of Framework?

DHCP的工作过程

自定义线程池
随机推荐
oracle create tablespace
2022 The Third J Question Journey
Lattice PCIe Learning 1
5.PCIe官方示例
pytorch的使用:使用神经网络进行气温预测
CNI (Container Network Plugin)
4. PCIe 接口时序
阶段性测试完成后,你进行缺陷分析了么?
面试汇总:为何大厂面试官总问 Framework 的底层原理?
node uses redis
Memory Forensics Series 1
配置类总结
tiup status
创意代码表白
新来个技术总监,把DDD落地的那叫一个高级,服气
2022杭电多校训练第三场 1009 Package Delivery
BC(转)[js]js计算两个时间相差天数
2022 Hangzhou Electric Power Multi-School Session 3 Question B Boss Rush
二叉树[全解](C语言)
Knowledge Points for Network Planning Designers' Morning Questions in November 2021 (Part 1)
