How to open websocket connection only once per VU

Hi, I need to establish websocket connection once per VU and in each iteration rest request will be made and listen to the websocket message. I tried initializing WS connection in setup() and passing to default function which didn’t work. Could somebody help me with any alternative working solutions? thanks!

Hi @manukumar1
It looks like you are trying to solve the issue as mentioned here Open websocket connections on setup method
Please see if the solution works for you as well
Thanks