My problem is for how do i test a Webrequest timeout . My C# code is making a SOAP service call to a 3rd party vendor whose code i do not have . When their service goes down , most of my application URLs also go down as well.
So I thought of adding a timeout ; and read this blog as well which was helpful , but what would be the best way to test my code ?