Here is a plugin for JMeter will will add support for the WebSocket. It currently supports the RFC6455 version of the WebSocket protocol.
Link:
http://github.com/maciejzaleski/JMeter
Features:
- Supports HTTS/HTTPS (ws/wss) version of the WebSocket protocol
- Option to ignore SSL certificate errors
- Streaming allows for a single connection to remain open for the duration of the test
- Response has to match predefined regular expression
- Response timeout
- Response message backlog (build the Sampler response from multiple server messages)
- Connection could be closed if server sends a message matching predefined regular expression