iteration for running server during test