Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2022-07-19
北京百佑科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since testers cannot go deep into the underlying servers (for example, application A server, application B server, etc.), it is impossible to locate the actual person in charge of the server when an abnormality occurs in the analysis server, and it is rather confusing to send a bug report
The existing solution is to first send the bug report to the corresponding interface developer of the API interface through the API interface, and the interface developer further determines the corresponding business developer according to the received bug report, which increases the interface Secondary distribution pressure on developers for bug reports

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automated testing method and device
  • Automated testing method and device
  • Automated testing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic testing method and device. The method comprises: analyzing each test log information in a received chain log, and obtaining each test result status code in the test log information; The corresponding relationship between the test result states determines the test result status code representing the abnormal state; locates the abnormal function module according to the test result status code representing the abnormal state; generates bugs according to the test result status code representing the abnormal state and the abnormal function module Report; send the bug report to the terminal where the corresponding developer is located according to the pre-stored correspondence between the function module and the developer, so that the developer can process the exception according to the bug report. The technical scheme of the present invention identifies the abnormality according to the chain log, and distributes the bug report of the abnormal function module to the corresponding developer, thereby improving the work efficiency of the tester and the automation degree of the test process.

Description

technical field [0001] The present invention relates to the technical field of automated testing, and in particular, to an automated testing method and device. Background technique [0002] IT technology tends to be large-scale and highly complex, and quality is becoming more and more important. During this period, the basic theory and practical technology of testing began to be formed, and various processes and management methods in the testing process were designed. The purpose of testing is to review or compare the actual output and the expected output. [0003] However, since testers cannot go deep into the underlying servers (for example, application A server, application B server, etc.), it is impossible to locate the actual person in charge of the server when an abnormality occurs in the analysis server, and it is relatively at a loss to send bug reports. The existing solution is to first send the bug report to the interface developer corresponding to the API interfa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 贾文正
Owner 北京百佑科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products