Systems and methods for assaying the viscoelastic properties of a heterogeneous material are provided. The systems and methods allow for application of an in situ calibrated optical trap to optical trap beads within the material to assay the viscoelastic properties. In several embodiments, the material can be a biological material, such as tumor tissue or skin tissue.