Trigger reaction on STOMP/WebSocket message


Gatling has support for WebSockets, and with a bit of trickery, can subscribe to STOMP topics. STOMP messages received by clients (i.e. Gatling) include “id XYZ was updated” and similar.

Is it possible to define actions to be executed when certain messages are received, e.g. trigger an HTTP call to an URL built from the STOMP payload? My scenario pretty much is described in this Stackoverflow question:

Or is this something that is simply lacking from Gatling, maybe planned for future versions, maybe not planned at all, or only available in the commercial edition? I’m comparing Gatling against k6 and it looks like the latter supports defining hooks with .on('message', data => …)

Best regards,