Load testing Socket.IO servers using msgpack-parser with Gatling
In this post I will show how we can connect with Gatling to a Socket.IO server which uses a custom parser using the MessagePack serialization format. This is the second post about Socket.IO testing with Gatling. In the first post: Load testing Socket IO with Gatling I showed an example of connecting to a Socket.IO server using the default parser which uses text messages. What is MessagePack? MessagePack is a binary serialization format. It has the advantage that payloads are usually smaller especially if they contain many numbers. The disadvantage is that Socket.IO messages serialized with MessagePack are harder to debug in the Network tab of the browser. ...