Simulating 500 error with AutoResponder

1 Answer 3244 Views
Fiddler Classic
Jon
Top achievements
Rank 1
Jon asked on 14 Feb 2014, 05:17 PM
Hey, Fiddler is a great tool! It's an invaluable part of my workflow, and I really appreciate the work put into it.

My question is , is it possible to use the AutoResponder to respond with a 500 status code, or any other status code than 200 and 404? I have read the AutoResponder docs and can't see anything, but perhaps there's something I'm missing, or some undocumented *action that can do this?

My use case is that I want to test the error handling in my application's REST API by selectively breaking different paths and checking that the UI handles it sensibly.

1 Answer, 1 is accepted

Sort by
0
EricLaw
Top achievements
Rank 1
answered on 16 Feb 2014, 11:31 AM
Of course you can-- you can use the AutoResponder to return anything you like.

The simplest way to do it would be to pick any of the "50x_.dat" files that are listed in the "Reply with File" section of the Actions dropdown. 
Tags
Fiddler Classic
Asked by
Jon
Top achievements
Rank 1
Answers by
EricLaw
Top achievements
Rank 1
Share this question
or