Using templates to send messages via WebSockets

Hello!

Is there any way to do something like this?

ws(“Send Some Message”)

.sendText(ElFileBody(“SomeMessage.json”))

Thank you

Hello,

No, no file based templates atm, as sendText doesn’t take a Body.
This change might make sense, but sadly, we’ve just release Gatling 3.0 stable after several weeks of release candidates. We could have changed that if you had chimed in sooner :frowning:

Regards,

Ok, thank you. But it will be great to see this feature in the future. Should I post a request on GitHub?