The testing method utilises the pressure difference between connected media and the penetration of gas from the medium with a higher pressure (atmosphere) to the medium with a lower pressure (vacuum chamber) The use of a foam solution in the vacuum chamber makes it possible to see the penetration of air from the atmosphere through leaks, so they can be located.