The invention discloses a method for testing a 
virtual machine cluster. The method comprises the following steps that: installing a virtual 
operating system for a first physical 
machine, and revisingthe information of a configuration file in the first physical 
machine; adding a plurality of scripts in a second physical 
machine, and revising the information of the script configuration file in thesecond physical machine to adapt to a current 
operating environment; and operating each script to utilize target information corresponding to each script in the configuration file to finish testing. Therefore, by use of the method, through a plurality of added scripts operating in the second physical machine, a 
virtual cluster can be automatically created in the virtual 
operating system so as to realize relevant tests. In addition, when each script is operated, 
relevant information, i.e., target information, in the configuration file is automatically obtained, excessive human input is not required, so that testing complexity can be lowered, and testing efficiency is improved. In addition, the invention also provides a device for testing the 
virtual machine cluster and a readable storage medium with the above effect.