Interface test reference point

Interface test reference points:
1. Business function test
a, normal business scenario
b, abnormal business scenario
2, boundary analysis
a, business rule boundary analysis
b, input and output parameter boundary analysis
1) Cover all required parameters
2) Combinations are optional Parameter
3) The parameter has, is absent, or is null
4) The order, number, and type of the
parameter 5) The value of the parameter type, the value range of the input
6) The length of the parameter, null-max-max+1
7) The parameter contains special characters
8 ). . . . .
3. Parameter combination test
4. Abnormal condition test
a, idempotence (repetitive submission)
b, concurrent test
c, transaction test
d, distributed test
e, environmental anomaly
f, large data volume test
1) Simultaneous processing of large amounts of data test
2 ) When the amount of data in the operating database is large, test the database operation
5. Cache
a, whether the cache needs to be cleaned
b, temporarily disable the cache
6, performance test
7, security test
a, whether sensitive information is encrypted
1) Whether the front and back data transmission is encrypted
2) Whether the log information is encrypted
b. . . .

Important and difficult points of interface testing
1. Dynamic variable parameterization
2. Interface dependence and intermediate variable issues
3. Asynchronous interface result verification issues
4. Corresponding parameters and many nested verification issues
5. Stability issues of the interface testing framework
6. Resource cleaning issues
7. Multi-interface scenario test

Guess you like

Origin blog.csdn.net/weixin_45608577/article/details/109441874