The invention provides a service test
system and method based on an active-active application architecture, the
system comprises a
test case management module, a to-be-tested active-active module, an active-active test coverage rate module and a monitoring module, the active-active test coverage rate module is used for determining a recommended case
list according to first target coverage rate information acquired by the monitoring module; the
test case management module is used for determining a plurality of target test cases corresponding to the recommended case
list and target transaction messages corresponding to the plurality of target test cases from the
test case asset
library, and sequentially sending the plurality of target transaction messages to the to-be-tested active-active module; wherein the test case asset
library is constructed by the test
case management module based on historical test cases, historical transaction messages and historical coverage rate information; the method comprises the following steps: executing the following operations on a current target transaction message received by a to-be-tested active-active module: the to-be-tested active-active module is used for generating a current execution result according to the current target transaction message; and the active-active test coverage rate module is also used for determining a test result corresponding to the to-be-tested active-active module under the condition that the current execution result meets a preset test condition. The
system does not need manual participation, is high in
automation degree, fully considers the coverage rate information of the test while improving the
test efficiency, and can implement the test case in a targeted manner to improve the test coverage rate, so that the finally determined test result is relatively accurate.