Determination of chemical oxygen demand in heterogeneous solid or semisolid samples using a novel method combining solid dilutions as a preparation step followed by optimized closed reflux and colorimetric measurement.