The penetrometer is the instrument for measuring the hardness of the fruit. The refractometer is the instrument used for measuring sugar content.