Test case checking method and system based on log monitoring

A technology of test cases and inspection methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as omissions, insufficient authenticity, insufficient rule inspection, etc., and achieve efficient and accurate data extraction

Pending Publication Date: 2022-05-31
CHINA CITIC BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there are still defects in the existing technology relying on the test outline matching method, especially the lack of rule checking, which only guarantees one dimension of test comprehensiveness, does not involve the test rationality, and cannot check the rationality of the use case; and the lack of authenticity, Although the comprehensiveness of the test cases is guaranteed, it does not collect real data verification from the perspective of actual transactions, and there is still the possibility of execution omissions

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
  • Test case checking method and system based on log monitoring
  • Test case checking method and system based on log monitoring

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to understand the content of the present invention more clearly, it will be described in detail with reference to the drawings and embodiments.

[0045] The first aspect of the present invention relates to a process flow such as figure 1 The shown test case inspection method based on log monitoring includes:

[0046] S1. Configure a rule warehouse, where the rule warehouse includes rationality rule sets, comprehensive rule sets and risk rule sets classified according to categories. Among them, the comprehensive rule set stores all possible data combination sets of each transaction, including positive scene data sets and abnormal scene data sets. The rationality rule set stores data sets with unreasonable combinations, including redundant data combinations and impossible data combinations. If the case execution data comparison hits, it means that the case design is unreasonable. For risk rules, the operator can define the threshold of possible risk items under...

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 relates to a test case inspection method and system based on log monitoring, and the method comprises the steps: extracting analysis data from log information according to a preset inspection target, calling a rule set to verify the analysis data, obtaining an inspection result, monitoring and capturing the log information of a test time period, extracting data, such as a transaction message, a test result and test time, from the log information, and carrying out the inspection. And further screening required classification information for the transaction messages, processing aggregated data in a data cleaning, classified storage and combination manner, connecting various transaction scenes in series, and finally, calculating the transaction messages by taking rationality and comprehensiveness as important calculation indexes. And directly comparing and analyzing with the rationality rule, the comprehensiveness rule, the risk rule and other rules in the standard rule warehouse one by one, finding out case design scene omission, and calculating the risk level according to a preset risk threshold.

Description

technical field [0001] The invention relates to the technical field of software testing and data processing, in particular to a method and system for checking test cases based on log monitoring. Background technique [0002] In software testing work, it is necessary to use test cases to carry out targeted testing of software functions. Whether or not a suitable combination of test cases can be selected has a significant impact on software test coverage and inspection accuracy. [0003] In order to solve the problems of high labor cost, excessive reliance on the experience of the implementer and completeness of the case, and poor pertinence caused by checking whether the test case covers the test requirement item by manual comparison in the traditional method, the existing technology adopts Extract the test outline of each test case in the test case set corresponding to the target task to be tested, obtain the test requirement item set corresponding to the target task, and m...

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/36
CPCG06F11/3672G06F11/3692
Inventor 高蕊冷炜张希婷王欢欢谭志扬
Owner CHINA CITIC BANK
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