The invention provides an automatic
regression testing method and device suitable for a
risk control system, and relates to the technical field of real-time risk monitoring. The method comprises the steps of collecting transaction flow data of multiple channels of a test environment; customizing a
test case including a
risk control rule according to the actual
risk control transaction scene; embedding a simple factor, an index factor and a third-party factor; and configuring a
test case according to the scheduling dimension, performing timed automatic regression execution of the
test case based on the simple factor, the index factor and the third-party factor to obtain a test result, and generating a
test report according to the test result. According to the embodiment of the invention, data pre-burying of various complex scenes such as the simple factor, the index factor and the third-party factor is supported, the test case can be executed in a timed and automatic regression manner based on the simple factor, the index factor and the third-party factor, the test result is obtained, the
test report is generated according to the test result, the defect
detection rate is increased, and the delivery quality is improved; meanwhile, the human cost of regression
test execution is reduced, and the regression
test efficiency is improved.