This invention relates to the field of automated testing technology, and provides a method and apparatus for automated
batch processing of
bank credit and accounting systems. The main purpose is to facilitate project teams in using automated script execution during testing to replace manual
batch processing and file handling operations in related systems. The main scheme includes: using a sampler interface to request simulated login to the accounting
system and trigger the main
batch processing flow of the accounting
system, waiting for the batch
processing to complete, and generating the end-of-day
batch file corresponding to the batch
processing date; remotely connecting to the credit
server and deleting the old end-of-day files required for the previous batch
processing stored on the credit
server, then using the sampler again to remotely connect to the accounting
server and remotely copy the end-of-day batch files generated by the accounting batch processing to the corresponding storage
directory on the
credit system server, ready for use by the
credit system batch processing; using the sampler interface to request simulated login to the credit batch processing
system, using the interface to trigger the end-of-day batch processing flow of the
credit system, and waiting for the batch processing to succeed.