The tensile testing machine pulls the sample from both ends and measures the force required to pull the specimen apart and how much the sample stretches before breaking. This data can be used to construct a stressstrain curve and to calculate several mechanical properties of the polymer.