Automated testing method and device
A technology for automated testing and test results, applied in software testing/debugging and other directions, it can solve problems such as increasing the pressure of secondary distribution of bug reports, dazed bug reports, and the inability of the analysis server to locate the actual person in charge of the server, making it easy to read and solve problems. Check efficiency and improve work 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 to obtain each test result status code in the test log information.
[0051] Specifically, the automated testing method is applied to a test 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 a plurality of blocks, each of which is a storage space of a predetermined size, and the storage space stores the test log information of a certain end (for example, a test end, an API server or an application server). , each block also...
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 corresponding to the functional module and at least one application server perform automated testing according to the test case, and obtain test log information for generating a chain log.
[0087] Specifically, a 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 services.
[0088] A test case is set for all API interfaces related to the functional module, and the API interface and the application server providing the service for the API interface are tested through the test case.
[0089] During the test...
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 corresponding to the functional module and at least one application server perform automated testing according to the test case, and obtain test log information for generating a chain log.
[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 to obtain each test result status code in the test log information.
[0114] Step S320 is the same as step S110, and is not repeated here.
[0115] In step S330, a test result state code indicating an abnormal state is determined according to the pre-stored correspondence between the test result...
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