Migrate RetrieveRunInfo to new api

re #7690
Migrate the RetrieveRunInfoTest to new api


re #7844
Merge remote branch 'origin/feature/7844_migrate_retrive'