How to exec random request from request list inside uniformRandomswitch.

I want to execute request from request list randomly. How do I use loop inside unifromrandomSwitch

Below code is working. Any switch like Roundrobin ro randomswithc with loop inside it.

val scnRunRequestsInRandomOrder = scenario("runRequestRandomly").feed(feederUrl)
  .exec(LoginOperation.methodLogin("Setup"))
  .forever() { ///uniformRandomSwitch   roundRobinSwitch
    uniformRandomSwitch(
      exec(listScenariosToExecute.apply(0)),
      exec(listScenariosToExecute.last)
    )
  }

4