Test of controller behavior when connection drops between Netsocs server and device¶
Test Description¶
This test verifies the controller's behavior in case of connection interruption between the Netsocs server and the device.
Test Steps¶
- Start the driver and wait for communication establishment.
- Interrupt the connection at the switch or router, so that the operating system still detects the Ethernet connection*.
- Wait for disconnection detection.
- After approximately 30 seconds, the controller will attempt to reconnect. Wait until the attempt finishes.
- Restore the connection.
- Wait for communication reestablishment.
Expected Result¶
- The device state must be
"Offline" - After reconnection, the device state must be
"Online" - The following events must be logged in the audit log:
Where:
Connection to 'DEVICE' lost. Connection to 'DEVICE' restored. Attempts: ATTEMPTS.DEVICErepresents the device name.ATTEMPTSrepresents the number of attempts before reestablishing the connection.
*Note: The Ethernet connection must still appear as active in Windows during the test.