How do I test how my client program will react to a web server error?

Posted by Brad Bruce on Stack Overflow See other posts from Stack Overflow or by Brad Bruce
Published on 2010-04-28T13:54:53Z Indexed on 2010/05/01 16:47 UTC
Read the original article Hit count: 242

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about iis

Related posts about testing