.repeat Help for Newbie

All, I am new and searched for help on repeat. I could not find examples for my specific situation. I wish to repeat this object. How do I go about that please? Thank you

object Search {

val feeder = csv(“search.csv”).random

val search = exec(http(“SearchNIH”)

.get("/"))

.pause(1)

.feed(feeder)

.exec(http(“Search”)

.get("/search?utf8=%E2%9C%93&affiliate=nih&query=${searchCriterion}&commit=Search")

.check(status.is(200))

.headers(headers_0))

.exec{

session =>

println("searchCriterion: " + session(“searchCriterion”).as[String])

session

}

.pause(3)

}