The invention discloses a storage
system testing method based on an
database application and belongs to the field of storage
system detection. The method aims at solving the technical problems that abnormity of a storage
system is very likely to cause
data loss when the storage system is combined with a
database for application, and huge loss is caused, that is, stability of the storage system is reduced. According to the technical scheme, the method includes the following steps that firstly, a
database application environment is built, wherein a storage system to be tested is used, the specific
database application environment is built to simulate an actual user implementation environment, and accordingly the storage system can
expose the stability problem as much as possible under the complex application environment; secondly, a
sql script is automatically compiled, wherein the testing script includes batch building of new users, batch building of tables and batch exporting and importing, an
Oracle log is observed by running the script, and
data consistency of the storage system is verified under pressure of the
database application; thirdly, a tool is tested through swingbench; fourthly, testing results are output.