Characterizing stochastic resonance in a triple cavity