Measurement of mechanical properties