In order to ensure the accuracy of test, it need to looking for testing object detail information during virtual test operation process. For the sake of solve this problem ,this paper present a middleware monitoring method based on heartbeat monitoring mechanism. At the same time, using the heartbeat monitoring mechanism implemented the real-time monitoring of test state. This paper introduced the concept of virtual test validation, describes heartbeat monitoring mechanism and its key value in middleware monitoring method, and elaborated design and implementation of middleware monitoring method based on heartbeat monitoring mechanism. Finally, the paper gave a real case to prove the practicability of this middleware monitoring method.