| With the rapid development of the network and related technology and the continuous expanding of its applications, distributed data cache system has become a major data deployment solution for a lot Internet applications. For instance, Memcached and its enhanced version have been made substantial progress in data throughput, data backup and data persistence, and were deployed and used in many websites including Facebook, Twitter, YouTube and Ebay. Distributed data cache system has brought advantages in functionality and performance for network applications, but new and higher requirements have also been proposed on the software quality assurance.As the main mean of software quality assurance, software testing for data cache system has never been more important. In order to meet the special test need and purpose of distributed data cache system, a lot aspects including automated testing framework, functional testing, load generation and data consistency validation, must be considered to design and implement a test model for distributed data cache system. Based on this idea, this article proposed an automated test solution including test framework, test tools and test methods for distributed data cache system.In order to solve the work load generating and data consistency validation when testing a distributed data cache system, the article has proposed fast random string generating algorithm and concurrent data read/write validation algorithm, with proof and performance statistics. The existence of the two algorithms has made a dramatic advance and enhancement for the performance and functionality of automated test tool for distributed data cache.At first, the article introduces the research status and implements solution of the current automated test technology, and then introduces relevant content of distributed data cache system. After that, it proposed an automated test solution with implement details based on the functionality and performance features of distributed data cache system, including test framework, test tools, fast random string generating algorithm and concurrent data read/write validation algorithm. Finally, this article summarizes the existing problem in the current solution and its implementation and proposes directions for further improvements. |