Does anyone understand why the webrtc softphone drops connections when jmeter hits 500 concurrent sessions? the api returns 200 but the websocket closes immediately with no error log. using sdk version 1.24.0.
The root cause here is the WebSocket handshake timing out under load due to missing keep-alive headers in the initial request. Add the X-Genesys-KeepAlive header to prevent premature closure.
{
"headers": {
"X-Genesys-KeepAlive": "true"
}
}