Is there a way to simulate a data provider connection loss without manually disconnecting my internet connection?
Is there code that I can temporarily add that forces a data connection loss without terminating the strategy?
I have the strategy's ConnectionLossHandling set to KeepRunning.
I am trying to simulate a message being sent by a strategy when the ConnectionStatus.ConnectionLost state occurs.
If I disconnect my internet, NT8 cannot resolve the SMTP host and server to send the message.
I am getting the "error sending a mail message" message, so I think it is working, but I would like to test it.
Thank you for any info.
Comment