What are the components of the interface? The interface document should contain the following contents: 1, interface description 2, call url3, request method (get\post)4, request parameter, parameter type, request parameter description 5, and return parameter description. If it is a test/suggestion, it is used to send various test requests.
2. Parse the result xml to obtain the class of the interested result value.
3. Classes used to compare test results with expected values for verification.
Of course, this is a simple http excuse testing framework, and it can be more powerful if you want, such as automatically generating test data, generating test reports in custom formats, automatically sending test reports, and checking whether the server data content is correct.