R Shlomo Aviner answers your question (here) citing R Shlomo Zalman Auerbach (Shut Minchat Shlomo, last responsum in vol. 1) who writes that
One is obligated to recite four blessings when
the Messiah arrives:
"Baruch…Chacham Ha-Razim – Blessed are You…Knowers of secrets" which is recited when seeing 600,000 Jews together and certainly at
Midrashim do not tell true events
In his work called Chelek, Maimonides writes that those who take Midrashim literary are "fools," while those who reject them out of hand are also "fools." Midrashim are imaginative parables, sermons designed to teach moral lessons. People should mine Midrashim for lessons about proper behavior.
Rashi quotes a Midrash for ...