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

Method and system for automatic analysis of error reporting logs of automatic software testing

An automatic analysis system and automatic testing technology, applied in software testing/debugging, error detection/correction, special data processing applications, etc., can solve problems such as low efficiency, inconvenient operation, time-consuming, etc. Waiting time, the effect of improving continuous integration efficiency

Active Publication Date: 2017-09-08
携程旅游信息技术(上海)有限公司
View PDF8 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to overcome the disadvantages of inconvenient, time-consuming, and low-efficiency analysis of software test results by manual statistics in the prior art, and provide a method that can improve the efficiency of testers in analyzing error logs, reduce analysis and Waiting time, thereby improving the automated test continuous integration efficiency, the automatic analysis method and system of the error log of the software automated test

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
  • Method and system for automatic analysis of error reporting logs of automatic software testing
  • Method and system for automatic analysis of error reporting logs of automatic software testing
  • Method and system for automatic analysis of error reporting logs of automatic software testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.

[0030] Such as figure 1 Shown, a kind of automatic analysis method of the error report log of software automation test, comprises the following steps:

[0031] Step 101, creating a rule database, which is used to store classification rules, and each classification rule includes a one-to-one correspondence between abnormal error types and abnormal error detailed information.

[0032] Step 102, add, delete and / or modify the classification rules in the rule database through the operation page.

[0033] Step 103, obtain each error report log, and preprocess the error report log to obtain the first log, and the preprocessing is used to remove noise words in the error report log, and the noise words include system, the, error and / or Chinese character.

[0034] Step 104, judging whether the length of the first log is greater than ...

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 a method and system for automatic analysis of error reporting logs of automatic software testing. The method comprises the steps that (S1) each error reporting log is acquired and pre-processed, so that a first log is obtained; (S2) whether the length of the first log exceeds a preset threshold is judged, the step (S3) will be executed if the length exceeds the threshold, and otherwise the step (S4) will be executed if the length does not exceed the threshold; (S3) word segmentation is conducted to the first log according to a word database, so that a second log is obtained; and (S4) the second log is matched with classification rules in a rule database and thus matched abnormal error detailed information can be obtained, an abnormal error type corresponding to the abnormal error detailed information is acquired, and the corresponding abnormal error type is set as an error identifier of the error reporting log. According to the invention, testers' analysis efficiency of the error reporting logs is increased, and analysis and waiting time is reduced, so that continuous integration efficiency of the automatic testing is increased.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an automatic analysis method and system for error logs of automatic software testing. Background technique [0002] Today, when the software industry is very mature, Agile (agile) development is becoming more and more popular in the industry, and the challenges it faces are also increasing, such as changing user needs, shortened development cycles, frequent deployment and launch, complex product architecture and team organization, How to continue to ensure the quality of software is an unavoidable topic. [0003] Automation integration is the testing trend of major companies, and the analysis of the test results of test cases is generally done by manual statistics. First, enter the error log link, and then pull the error log to the bottom, and finally know the cause of the error. The existing method is inconvenient to operate, the analysis of test results is time-consum...

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
IPC IPC(8): G06F11/36G06F17/30
CPCG06F11/3692G06F16/24564
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