How do I test how my client program will react to a web server error?
- by Brad Bruce
I have a client program based on LibCurl. I have run into a situation where on some occasions a program on the server runs longer than the configured IIS timeout. IIS then terminates the program and returns a 502 error status to the client.
I have added code to the client to capture this issue. Now, I need to find a way to prove that the change will work.
I haven't been able to reliably reproduce the issue, so don't have a good test case.
Any suggestions?