Another common wave of applications in today's flood of web applications is reactive real-time applications using WebSocket. WebSocket is a protocol that provides full-duplex bi-directional communication over a single TCP connection using default HTTP and HTTPS ports. Unlike other protocols, one connection is used for two-way communication for the WebSocket protocol. This makes it a good candidate for developing browser chat applications, gaming applications, real-time browser monitoring tools, and so on. It is supported on the majority of modern web browsers.
In this recipe, we will cover how to test WebSocket-enabled applications with JMeter: