i.g.c.a.b.SessionHookBuilder$$anon$1 - 'hook-20' crashed with 'java.lang.IndexOutOfBoundsException: 5', forwarding to the next one

14 views
Skip to first unread message

Naveen Goud

unread,
Jul 21, 2017, 5:16:11 AM7/21/17
to Gatling User Group
Hi I am getting IndexOutOfBoundsException while calling HTTP requests with very low rate. I am setting http request body as below

val emissionRequestVehicles =
    exec(session => {
      val ms = MeasurementSystem.METRIC
      val pids1 = session("vehiclepids").as[List[PlatformIdentifier]].asJava
      val pids = getVehicleEmissionReportTest.vehicleData(pids1)
      val from = session("from").as[LocalDate]
      val to = session("to").as[LocalDate]
      val request = VehicleUtilizationProxy.createEmissionRequest(pids, from, to, ms)
      val body = marshalToJson(request)
      val modifiedSession = session.set("body",body)
    })


Please help me on this.
Reply all
Reply to author
Forward
0 new messages