Thanks Stéphane, your are right. Actually, we are doing POC to migrate from Jmeter to Gatling. Understand there’s a steep learning curve to achieve this.
BTW, I did try the above code but it is not printing session details. I have gone through the Session API tutorial - Gatling - Session API but not sure how to retrieve the content and what all attributes a session holds. I think there’s an issue with my println statement:
Here .getString(“What should I write here to retrieve all the session details”)
My main goal is to capture responses for the failed transactions/requests. Many Thanks in advance, I will work with Arnaud from gatling to get more details.
Oh, wow. I’ve been so busy with my head down writing tests, I didn’t think long enough to report a bug. Been working with Java DSL (thank you, by the way) and just relied on independently logging my vars but I enabled trace most of the time and looked at the session vars there.