X-ray diffraction testing is a way to measure the stress in a material. This allows one to quantify how much stress is in an area of a part so the actual amount of stress can be measured for testing purposes. In order to determine the depth of the compressive stress, multiple x-ray diffraction measurements are made as layers of the test coupons are electro-polished away.