question

Upvotes
Accepted
1 1 1 3

what is best way to test reconnection logic using reactor api ?

javareactor
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
47.2k 110 44 60

@rinki121

You need to cut the TCP connection and verify if the application can reconnect to the server and resubscribe to items properly. To cut the TCP connection, on Windows, you can use a tool like TCPView to close the connection. You may unplug the network or disable the network interface.

Otherwise, you can kill the provider application, or ADS and then restart it.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.