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....

November 18, 2023 · 7 min · Dimitris Dranidis

Load testing Socket IO with Gatling

This article will hopefully save you some of the trouble I had, when I tried to use Gatling for Socket.IO sockets. Gatling has support for web sockets but one has to do a lot of research and workarounds in order to make it work with Socket.IO sockets. What are Gatling and Socket.IO? Gatling is a powerful load-testing solution for applications, APIs, and microservices (https://gatling.io/). Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server (https://socket....

November 12, 2023 · 8 min · Dimitris Dranidis