Automatic testing method and device
A technology for automated testing and test results, applied in software testing/debugging, etc., can solve problems such as confusion of bug reports, increased pressure on secondary distribution of bug reports, analysis of servers that cannot locate the actual person in charge of the server, etc., to improve work efficiency, The effect of ease of reading and troubleshooting efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] figure 1 A schematic flowchart of an automated testing method provided by the first embodiment of the present invention is shown.
[0049] The automated testing method includes the following steps:
[0050] In step S110, each test log information in the received chain log is analyzed, and each test result status code in the test log information is obtained.
[0051] Specifically, the automated testing method is applied to a testing terminal, an API server and at least one application server. The test terminal is connected to the API server, and the API server is connected to at least one application server that provides services for the API server.
[0052]The chained data structure is similar to a linked list structure in a computer, including multiple blocks, each of which is a storage space of a predetermined size, and the test log information of a certain end (such as a test terminal, API server or application server) is stored in the storage space , each block a...
Embodiment 2
[0084] image 3 A schematic flowchart of an automated testing method provided by the second embodiment of the present invention is shown.
[0085] The automated testing method includes the following steps:
[0086] In step S210, a test case is set for the functional module to be tested according to the test request, so that the API server and at least one application server corresponding to the functional module perform automated testing according to the test case, and obtain test log information for generating chained logs.
[0087] Specifically, the service included in a functional module may need to call at least one API interface in the API server, and each API interface is connected to at least one application server that provides the service.
[0088] Set up test cases for all API interfaces related to the functional modules, and test the API interfaces and the application servers that provide services for the API interfaces through the test cases.
[0089] During the ...
Embodiment 3
[0109] Figure 4 A schematic flowchart of an automated testing method provided by the third embodiment of the present invention is shown.
[0110] The automated testing method includes the following steps:
[0111] In step S310, a test case is set for the functional module to be tested according to the test request, so that the API server and at least one application server corresponding to the functional module perform automated testing according to the test case, and obtain test log information for generating chained logs.
[0112] Step S310 is the same as step S210 and will not be repeated here.
[0113] In step S320, each test log information in the received chain log is analyzed, and each test result status code in the test log information is obtained.
[0114] Step S320 is the same as step S110 and will not be repeated here.
[0115] In step S330, the test result status code indicating the abnormal status is determined according to the pre-stored correspondence betwee...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com