This test validates that after connection close, the connection state is set closed, the onclose EventHandler is triggered.
Click the button below to start the test.