Commissioning of a photoelectron spectrometer for soft X-ray photon diagnostics at the European XFEL.