create different Virtual User for different Scenarios in a simulation?

Hello everytone,

I have a question about Virtual user.

Is it possible to create different Virtual User for different Scenarios in a simulation?

for example

In my simulation, I have

setUp(
scenario1.inject(atOnceUsers(2)).protocols(httpConfHttp),
scenario2.inject(atOnceUsers(2)).protocols(httpConfHttp)
)

after launching the engine, I found my user_id are 4619140215787466905-0,4619140215787466905-1,4619140215787466905-2,4619140215787466905-3

Is it possible to find my user_id by scenario as 4619140215787466905-0,4619140215787466905-1 and 4619140215787466906-0,4619140215787466906-1 ?

Thanks a lot!!

https://github.com/gatling/gatling/blob/master/gatling-core/src/main/scala/io/gatling/core/session/Session.scala#L70-L71

Thanks Stéphane, I see they are attributs of session.

I would like to know if it possible to create Vusers by scenario, like creating 2 threads…not just deal with userId or Scenario name.

Sorry, I have no idea what you mean.

i mean for a simulation, are all virtual users have the same ID + sequence number? (As what I found from my test, the answer is yes)