Response message: WebSocket I/O error: Socket is closed

Issue #113 closed
Former user created an issue

Dear contributor, I using JMeter to perform performance testing for websocket but it display Socket is closed.

What could be the missing steps or errors that cause it?

Comments (2)

  1. Peter Doornbosch repo owner

    Your server closed the connection. Check the server logs for a hint. You could enable debug logging (see readme) and check whether the server is sending a close frame, but that knowledge probably wouldn’t help much in solving the problem 😉 (unless the server is sending a proper reason in the close). Either way, the server is closing the connection. Usually, this is because the server is expecting something the client does not send, so the question becomes: what does the server expect?

    Hth, regards, Peter

  2. Log in to comment