Automatic analysis method and system for error log of software automated testing

An automatic analysis system and automated testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as time-consuming, inconvenient operation, and low efficiency, so as to improve efficiency, reduce analysis and waiting time, The effect of improving continuous integration efficiency

Active Publication Date: 2021-02-05
携程旅游信息技术(上海)有限公司
View PDF8 Cites 0 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
  • Automatic analysis method and system for error log of software automated testing
  • Automatic analysis method and system for error log of software automated testing
  • Automatic analysis method and system for error log of software automated 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 report logs of software automated testing, wherein the method comprises the following steps: S1. Obtain each error report log, and preprocess the error report log to obtain a first log; S2, Determine whether the length of the first log is greater than the preset threshold, if so, execute step S3, if otherwise, execute step S4; S3, segment the first log according to the thesaurus database to obtain a second log; S4, combine the The second log is matched with the classification rules in the rule database to obtain the matching abnormal error detailed information, obtain the abnormal error type corresponding to the matching abnormal error detailed information, and set the corresponding abnormal error type to the Error ID of the error log. The present invention can effectively improve the efficiency of the tester in analyzing the error log, reduce the analysis and waiting time, and thus improve the continuous integration efficiency of the automated test.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36G06F16/2455
CPCG06F11/3692G06F16/24564
Inventor 罗年洁刘万红
Owner 携程旅游信息技术(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products