Websocket Crash and Premature Close


I am load testing an application with Gatling which includes kafka and Websocket. When I execute the WebSocket close it gives me this error:
[info] 17:18:35.527 [gatling-http-4-4] DEBUG io.gatling.http.client.impl.WebSocketHandler - channelInactive
[info] 17:18:35.528 [gatling-http-4-4] DEBUG io.gatling.http.client.impl.WebSocketHandler - Crash
[info] io.gatling.http.client.impl.HttpAppHandler$1: Premature close

Can anyone from the Gatling community help with the issue.

Thanks in advance!!


Please check this post on how efficiently to ask questions so people can help you.