The invention provides a
data processing method and a related device, and the method comprises the steps: determining to-be-tested data in a first
data set; constructing a
test case corresponding to the to-be-tested data, wherein the
test case comprises a data unit
noun, a request parameter, a dependent data unit, an expected return data sample and a
verification mode; generating
test data according to the
test case; and testing the to-be-tested data according to the
test data to obtain a test result. According to the method, the test case corresponding to the to-be-tested data can be automatically constructed, and the
test data is generated according to the test case for data testing, so that the data is automatically tested, and the data testing efficiency is improved; in addition, the data unit
noun, the request parameter, the dependent data unit, the expected return data sample and the
verification mode included in the test case are generated at a time, the generation mode of the test case is simplified, and the data
test efficiency is further improved.