Leak testing can be carried out during product validation, at final inspection on the production line, or during periodic inspections to detect defects early and prevent failures in the field.