For almost half a century, optical tweezers have successfully been used to micromanipulate micrometre and sub-micrometre-sized particles. However, in recent years it has been shown experimentally that, compared with single-beam traps, the use of two opposing and divergent laser beams can be more suitable in studying the elastic properties of biological cells and vesicles. Such a configuration is termed an optical stretcher due to its capability of applying high deforming forces on biological objects such as cells. In this article the experimental capabilities of an optical stretcher as a potential sample delivery system for X-ray diffraction and imaging studies at synchrotrons and X-ray free-electron laser (FEL) facilites are demonstrated. ...