Access list variable and access each index to pass in in a session

Hi Team ,

Its me again,

I have obtained session variable from a http post response,
It is having array elements, i want to pass each element in an array to my next http request kind of correlation , But i have obtainted values like this [a,b,c,d]
i want to pass those individuatl elements, I am using Gatling Java
Someone please help me

Hi @Lathem,

Did you consider foreach?

If this is not enough, please make a reproducer and explain what you observe and what you expected.

Cheers!

1 Like

I have just called their index like #{id(0)}

This worked for me
Thanks for responding :slight_smile:

Meanwhile by any chance we have builtin date functions to get next date ,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.