We investigate the phase modulation to intensity modulation conversion in dispersive fibers for measuring frequency responses of electro-optic phase modulators, and demonstrate two typical measurements with cascade path and fold-back path. The measured results achieve an uncertainty of less than 2.8% within 20 GHz. Our measurements show stable and repeatable results because the optical carrier and its phase-modulated sidebands are affected by the same fiber impairments. The proposed method requires only dispersive fibers and works without any small-signal assumption, which is applicable for swept frequency measurement at different driving levels and operating wavelengths.