How to set wsName from a session attribute.

Hi all,

I want to have multiple websocket per user and want to pass wsName via a session attribute.

briefly this is what i want to do.

exec( ws("${eventName}").wsName("${websocketName}").sendText(…).check(…))

But when i try to access websocketName via session attribute I can see the following.

[ERROR] i.g.h.a.a.w.WsSend - ‘wsSend-8’ failed to execute: Couldn’t fetch open webSocket: No attribute named ‘${websocketName}’ is defined

Is there anyway to do this?