Simulating 500 error with AutoResponder

2 posts, 0 answers
  1. Jon
    Jon avatar
    1 posts
    Member since:
    Feb 2014

    Posted 14 Feb 2014 Link to this post

    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.
  2. EricLaw
    EricLaw avatar
    66 posts
    Member since:
    Oct 2012

    Posted 16 Feb 2014 in reply to Jon Link to this post

    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. 
Back to Top