Is session variable unique to a scenario

Hey,

Had a doubt about sessions in gatling

If I have a simulation which is composed of multiple scenarios, do i have to ensure that the session variable names are unique across all the scenarios ?

From the documentation, I understand that that’s the case.

https://gatling.io/docs/gatling/reference/current/session/session_api/#session

Session is a virtual user’s state.

Session is unique to a virtual user

A Gatling scenario is a workflow where every step is an Action. A Session is the message that is passed along a scenario workflow.
Every scenario has its own session

So every session key is confined to within its virtual user within that users scenario.
Is my understanding correct ?

regards,
Aju Thomas

Correct.