Software testing is an important stage of software development process, but also an important means to ensure software quality. However, in the software development cycle, software testing occupies most of the time and resources. In order to improve the efficiency of software testing and shorten the software development cycle, automated testing through developing testing tools has become a common trend in software testing. At the same time, with the rapid development of internet technology, distributed systems have become IT development trends and hot spots. In recent years, with the appearance of a large number of distributed applications, developing automated testing tools for distributed systems has become a new topic in software testing.Through researching the characteristics and difficulties of distributed system automated testing and combining with research achievements in the field, the thesis designed and realized a platform for distributed system automated testing which is called DSTP. The platform combines automated build, automated deployment, automatic start and stop, automated testing, automated monitoring and analysis in one. With this platform, users can easily manage distributed cluster, manage testing task and view test results. In addition, in order to facilitate the use of automated test platform, test protocol information was designed for test workers.Distributed System Testing Platform supports concurrent execution of multiple testing tasks. Test Control Manager cooperates with Test Controller in the form of parent-child processes. Test Control Manager performs automated testing tasks by creating Test Controller instance, and Test Controller applies testing machine resources from Test Control Manager through inter-process communication. Test Executing Unit joins to this platform via registering to Test Control Manager and reports online status and real-time information through heartbeat messages.At last, automated testing platform for distributed systems were tested from several aspects. After test, the functions of this platform were verified. |