The 5--,4 and 4--,3 transitions in muonic Pb and Ba, respectively, were measured with an accuracy of ~ 10 eV. Agreement with theoretical calculations is established. The vacuum polarization is tested to 3 x 10-3, and vacuum polarization corrections of higher order in (c~ Z) to 20-30 %.