The invention provides a message testing method for a front-
end system, and a
simulation baffle
system. The message testing method for the front-
end system comprises the following steps of: obtaining a request message sent by the front-
end system to be tested; according to the pre-set
message length, coding format and
message format definition in an
XML configuration file, analyzing the request message so as to obtain a
transaction code; according to a return message header format definition file in the
message format definition and the
transaction code, inquiring a
simulation return
data file corresponding to the
transaction code from a locally stored
simulation return data folder; according to the transaction code, the simulation return
data file and the return message header format definition file, generating a simulation return message; and sending the simulation return message to the front-end
system to be tested. By utilizing the message testing method for the front-end
system, and the simulation baffle system disclosed by the invention, product systems, such as MCIS / CSPA / IST, directly connected with a network
bank system, can be simulated; a message sent by the network
bank system is received; interface return message data defined by systems, such as MCIS / CSPA / IST, can be simulated; and thus, functional transaction of a network
bank is smoothly carried out, and cannot be restricted by a testing environment.