getConfigurationByIteration function

Returns the configurations by the iteration in which they were executed.