The invention discloses a device and a method for testing the corrosion of a grounding material in a soil simulated solution. The device comprises a soil simulated solution tank (1), a temperature control system, a gas control system, a three-electrode system and a liquid transmission system, wherein the temperature control system comprises a heating-temperature control integral machine (9) and atemperature sensing module (8); the gas control system comprises a gas switch (10), a gas guide tube (11), an intelligent gas sensor (12), an oxygen content analysis module (6), a gas switch valve (13) and an oxygen bottle (14); the liquid transmission system comprises an intelligent water pump (7), a soil simulated solution control valve (15), a liquid diverter (16), an intelligent control valve,a combiner box (26) and a liquid control switch (27); the three-electrode system comprises three three-electrode testing areas; each three-electrode testing area comprises a three-electrode intelligent rotating module (28), a grounding material working electrode (29), a reference electrode (30), an auxiliary electrode (31) and an intelligent rotating module motor (32).