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.