The invention discloses a communication standard of automated testing for a
monitoring system, which is characterized in that: a test tool is communicated with a central control module, firstly, the test tool is registered, and then establishes a TCP (
Transfer Control Protocol) communication with the central control module, and is finally interacted with a specific command of a
user interface. The TCP communication flow of the central control module and the test tool is divided into three
layers for
processing: for an
XML (
extensible markup language) operation layer, when sending data, the
XML operation layer receives the specific command of a tool
communication layer, the specific data is packaged as
XML data, and then the
XML data is transferred to a TCP interception layer for sending; when receiving the data, the XML operation layer receives the original
XML data of the TCP interception layer to parse the original
XML data to get a specific result, and then transfers the specific result to the tool
communication layer for
processing; and the cross-layer operation is realized by
callback and call between the
layers. The communication standard of automated testing for the
monitoring system is used for intensively controlling a plurality of test tools to concurrently work, accordingly, the test speed is quickened up, the
test quality is improved, and the object of faster and better development of
software products is achieved.