当前位置:网站首页>Postman interface test
Postman interface test
2022-07-04 10:47:00 【dijiaye1】
One 、 Interface classification
- External interface : The interface between the tested system and the external system
- Internal interface : The interface between modules in the tested system
Two 、 Key points of interface test
- Check the correctness of interface parameters
- Correctness of interface functions
- Correctness of output results
- Fault tolerant handling of abnormal scenarios
- Access control
3、 ... and 、 Interface test process
- Get api Interface document ( Get from the developer or grab the package ), Familiar with business interface 、 Address of the interface 、 Authentication method 、 Enter the reference 、 The ginseng 、 Error codes and other special requirements .
- Review the interface and test case writing
Write ideas :
Example : Enter the correct input parameters 、 The interface returns to normal
Counter example :
Counterexample of authentication : The authentication code is empty 、 error 、 Be overdue ...
Parameter counter example : Whether the parameter is required to verify 、 Exception verification of parameters 、 Error code overwrite ...
Other scenarios : Interface blacklist 、 Interface call times limit 、 Paging scenario test ( Negative pages 、0、1、5、 10…100) - Using interface test tools Postman、Jemeter Perform interface tests
- Postman+newman+jenkins+git Implementing continuous integration .( Output reports and emails )
Four 、Postman Interface testing tool
- Two tool systems :Postman+newman+jenkins+git、Jemeter+Ant+jenkins+git
- Postman The workbench

Request interface :https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx74a8627810cfa308&secret=e40a02f9d79a8097df497e6aaf93ab80
Request parameters :grant_type=client_credential
appid=wx74a8627810cfa308
secret=e40a02f9d79a8097df497e6aaf93ab80
return :
{
"access_token": "53_MuXabuJBJ7qFJysWndxaoa6_LGPz2y4rB61LJ3GA-GZlzMF91mTFUFaLN7zaZY84R5q46Dv-u14AIUL7u_cIqlxM8MhIDkNS14d0wXjpTKptflvpiBr6wvD9rmGrTs53ib_G2hpWUUkC9ltbWAQgAGAQUK",
"expires_in": 7200
}
边栏推荐
- Basic data types of MySQL
- What if the book written is too popular? Author of "deep reinforcement learning" at Peking University: then open the download
- Communication layer of csframework
- Aike AI frontier promotion (2.14)
- Recursion and divide and conquer strategy
- Summary of several job scheduling problems
- 1. Circular nesting and understanding of lists
- Dictionaries and collections
- Network disk installation
- [test theory] test the dimension of professional ability
猜你喜欢
![[Galaxy Kirin V10] [server] failed to start the network](/img/0f/6d2f321da85bd7437d2b86547bd8b4.jpg)
[Galaxy Kirin V10] [server] failed to start the network

Quick sort (C language)
![[Galaxy Kirin V10] [server] soft RAID configuration](/img/d5/789387613fafc18f623d0cff45093b.jpg)
[Galaxy Kirin V10] [server] soft RAID configuration

DCL statement of MySQL Foundation

Vs201 solution to failure to open source file HPP (or link library file)

Time complexity and space complexity

Hidden C2 tunnel -- use of icmpsh of ICMP

system design

Learning XML DOM -- a typical model for parsing XML documents

MPLS: multi protocol label switching
随机推荐
Ruby time format conversion strftime MS matching format
[Galaxy Kirin V10] [server] KVM create Bridge
BGP ---- border gateway routing protocol ----- basic experiment
Basic function exercises
如果不知道這4種緩存模式,敢說懂緩存嗎?
Recursive method to achieve full permutation (C language)
Basic data types of MySQL
Personal thoughts on the development of game automation protocol testing tool
Using SA token to solve websocket handshake authentication
Recursion and divide and conquer strategy
[Galaxy Kirin V10] [server] set time synchronization of intranet server
Network connection (II) three handshakes, four waves, socket essence, packaging of network packets, TCP header, IP header, ACK confirmation, sliding window, results of network packets, working mode of
How do microservices aggregate API documents? This wave of show~
Read a piece of text into the vector object, and each word is stored as an element in the vector. Convert each word in the vector object to uppercase letters. Output the converted elements in the vect
2022 ape circle recruitment project (software development)
Rhcsa - day 13
2020-03-28
system design
The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
Three schemes of ZK double machine room