The invention provides an automatic server restart testing method based on an IPMI, and relates to the technical field of restart testing. A tested server is restarted, hardware information is automatically scanned, the scanning result is compared with an originally-stored record, and if the scanning result is different from the originally-stored record, the difference is recorded in a log file. A control terminal computer cyclically detects the tested server, when it is detected that the tested server is started and hardware scanning is finished, an IPMI instruction is sent to the tested server, and the restart circulation of the tested server is finished. By the adoption of the method, an automatic restart test is conducted on the server, hidden danger of various kinds in a computer start link in server design can be effectively found through the method, the work efficiency of testing personnel can be effectively improved, labor cost is saved, and work accuracy and reliability are improved.