how-to-add-minutes

Hi,

1.how-to-add-minutes to the date in Gatling.

2.based on random number i have to run particular set of functions (as given below) below doiforelse is executing only the last function,but i need to run all the functions inside the curly braces.

val scnSaveAndGet = scenario(“Save and get”)

  .exec(Read_HDAS_Data, Hdas_location, Hdas_Token)

 .doIfOrElse(_ =>rnd<= 1)

 {CreateXirgoException_SpeedSummary;WS_CreateXirgoException_Idling}

  {WS_Zone_Exception;WS_CreateXirgoException_SpeedImmidiate}

Can any of you help on this... 

Thanks in advance...