Interface Test --Java

1: interface: Interface definitions

Interface for connecting between the system and the system or between the connecting module and the module

 

2: systems software

UI layer: interface program, mainly to provide users with interactive and operations - to view, enter, click, and so on.

Yewuluojiceng: complicated service processing interfaces and data processing --API 

Data layer: --select provide interaction with the database, delete, and so on.

 

3: express orders inquiry

Open page - Select Alert type + input express orders - click query - [distal input verification input type, the length of a single number, etc.] - the client sends a request to the server - the request contains the user-entered data - - verify the legality of the request server [request is correct, if there is aggression, the permissions are correct, etc.] - data processing, back-end verification - return the results to the client - the client and displays the analysis results in the browser

 

4: interface address

Usability Testing

Normal test - whether the correct request method can access interface,

Abnormal test - whether in the wrong request method can access interfaces - fault tolerance and ease of recovery test interface

 

Checking input and output parameters

Check that the input and output parameters and consistent interface documentation

 

Required rule checking

http://000.00.00.000:3000/login/cellphone?phone=13291870920&password=wp890920

Phone number required check: http: //000.00.00.000:? 3000 / login / cellphone phone = & password = wp890920

Password: http: //000.00.00.000:? 3000 / login / cellphone phone = 13291870920 & password =

 

Interface legitimacy test

Interface test parameters input rules [length, type, Test Method: boundary value equivalence classes +]

 

The correctness of the contents of output

Consistent interface to verify whether the returned data content and databases

And a combination of the results of different test parameters orthogonal experiment

 

Interface document content check

 

Interface safety test

Important information encryption [user information, phone information]

sql injection

Guess you like

Origin www.cnblogs.com/fqqwz/p/11647261.html