Integrated measuring approach for the study of corrosion mechanisms