Common test dimensions of a single interface:
-
Whether the provided interface implements the corresponding business scenarios and business functions (the most basic, but also requires comprehensive coverage)
-
Whether the data type of the request parameter of the interface has been verified in the background (such as: integer, string, number, etc.)
-
Whether the required parameters of the interface request parameters are processed in the background (for example, when the required fields are empty/space, will the corresponding error code be returned)
-
Whether the request parameter length of the interface has been processed (when the added length is too long, will the length limit and the corresponding prompt message be applied)
-
Security part (such as: whether the password is in plain text)
-
Performance part (for example: how many concurrent threads a single interface can withstand depends on business needs)