Tetsing socket.io with gatling

Hey. I am writing a load testing socket.io for our server. I have one problem: gatling creates one session for all users. How to create a separate session for each user? Thank you

My code

Your problem is not Gatling itself. It’s your own code.
You create a global single socket:

There are very few examples of testing socket.io on the net. with gatling. Can you give an example of such an implementation? Thank you.

среда, 9 сентября 2020 г. в 15:25:37 UTC+3, Stéphane Landelle: