Real-time Chat (Mock)
Instructions: Test a real-time chat interface powered by a mock WebSocket server.
- Type a message into the input and click "Send".
- Verify that your sent message appears in the chat window.
- Wait for the "echo" response from the server and verify it also appears.
Note: While this uses a mock WebSocket, real-world applications may use libraries like Socket.IO, which can have different connection handshakes or message formats but often use WebSockets as a transport.
Live Data Dashboard (Mock)
Instructions: The dashboard below receives updates from the mock WebSocket server every 3 seconds.
Validation: Your script should be able to read the values and verify that they change over time.
Stock Price: $100.00
Active Users: 500