The paper presents a study dedicated to analyzing the sensitivity of structures with open contours to cracks. For this purpose, we analyze the particular case of the I-beam made by welding, for which we want to see how the frequencies of different modes of vibration change when a crack occurs in the weld joint between the web and the flange. The research is done using numerical simulations performed with the ANSYS program, from which the natural frequencies are obtained depending on the depth and extent of the crack. A large number of vibration modes and two types of boundary conditions are taken into account. We found that the frequency changes are small but still detectable and depend on the beam fixation mode. This makes it possible to detect cracks in the weld joint if the vibration modes where the decrease in frequency is significant are analyzed.