out(() => {
                    const msg = `Stress test message ${i}/100`;
                    sendMessage(msg);

                    if (i === 100) {
                        addMessage('system', 'âœ… Stress test completed!');
                    }
                }, i * 10);
            }
        }

        function runOspreyCompatibilityTest() {
            if (!socket || socket.readyState !== WebSocket.OPEN) {
                addMessage('error', 'Not connected!');
                return;
           