In this work a new sensor-based self-configurable waveguide bandstop filter that uses a combination of metallic irises and reconfigurable posts for reducing the energy leakage in industrial microwave ovens is presented and validated through a procedure fully based on measurements.Several optimization and reconfiguration alternatives of the moving posts such as genetic algorithms and parametric sweeps are assessed.Results show that good attenuation values can be obtained for all the analyzed scenarios.In particular, genetic algorithms are shown as the best search strategy.Design and optimization times are also reduced when using the proposed filter compared to computer simulations.