当前位置:网站首页>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
边栏推荐
- 软件测试面试题:设计测试用例时应该考虑哪些方面,即不同的测试用例针对那些方面进行测试?
- node uses redis
- 如何用 Solidity 创建一个“Hello World”智能合约
- Bit rate vs. resolution, which one is more important?
- 内存取证系列1
- 习题:选择结构(一)
- 动态规划/背包问题总结/小结——01背包、完全背包
- 2022 Nioke Multi-School Training Session H Question H Take the Elevator
- 执掌图表
- 2022 Hangzhou Electric Power Multi-School Session 3 K Question Taxi
猜你喜欢
【FreeRTOS】FreeRTOS与stm32内置堆栈的占用情况
二叉树[全解](C语言)
ORA-01105 ORA-03175
sqlite--nested exception is org.apache.ibatis.exceptions.PersistenceException:
软件测试技术之最有效的七大性能测试技术
Getting Started with Kubernetes Networking
Helm Chart
动态规划/背包问题总结/小结——01背包、完全背包
CNI (Container Network Plugin)
多线程涉及的其它知识(死锁(等待唤醒机制),内存可见性问题以及定时器)
随机推荐
PCIe 核配置
Software Testing Interview Questions: What Are the Types of Software Testing?
SV class virtual method of polymorphism
(十七)51单片机——AD/DA转换
多线程涉及的其它知识(死锁(等待唤醒机制),内存可见性问题以及定时器)
内存取证系列1
2022杭电多校第三场 K题 Taxi
软件测试面试题:测试生命周期,测试过程分为几个阶段,以及各阶段的含义及使用的方法?
Software testing interview questions: What is the difference between load testing, capacity testing, and strength testing?
新来个技术总监,把DDD落地的那叫一个高级,服气
5. PCIe official example
ORA-00257
node uses redis
PCIe Core Configuration
The principle of NMS and its code realization
pytorch的使用:卷积神经网络模块
CNI(Container Network Plugin)
Software test interview questions: BIOS, Fat, IDE, Sata, SCSI, Ntfs windows NT?
tiup telemetry
码率vs.分辨率,哪一个更重要?