In this quick tutorial, we want to show you how to use Fiddler’s Autoreponder to replay a previously captured or generated fiddler trace when trying to isolate html code performance or page errors. The Fiddler AutoResponder is an excellent way to replay and reproduce a particular scenario, which makes troubleshooting a lot easier and less invasive when working out of production environments.
Prerequisites: Collect a fiddler trace. To learn more about this tool, visit the official fiddler site here.
COLLECTING A FIDDLER TRACE:
To learn more, about Decrypting HTTPS traffic visit the fiddler site here!
The first step once you have open the fiddler log is to clear your Internet Explorer cached files from your system. You have different ways to do this from fiddler:
Next: We need to enable AutoResponder. From the right pane, click on the AutoResonder tab
Next: Click on the “Enable automatic responses” and the “Unmatched requests passthrough” activate these options.
The Enable automatic responses checkbox controls whether the AutoResponder is active. When this option is unchecked, the rest of the tab is disabled.
The Unmatched requests passthrough option controls what happens when a Session does not match any of the specified rules. When ticked, unmatched requests are sent to the server normally, as if the AutoResponder feature didn’t exist. When unticked, Fiddler will generate a HTTP/404 Not Found response for any unconditional HTTP request that does not match any of the rules. If a client sends a conditional request containing If-None-Match or If-Modified-Since headers, the AutoResponder will return a HTTP/304 Not Modified response.
Next: Focus on the left hand pane to select all traffic items and drag and drop on the right hand AutoResponder Pane by using the keyboard shortcut Ctrl+A key (Select all sessions) or use the Edit/Select All menu.
NOTE: Before you drag and drop the web sessions into the AutoResponder Pane, clear all HTTP 401 and HTTP 407 responses by deleting it. You can also uncheck it from the AutoResponder pane!
TIP: One technique that can be used to quickly remove the 401 and 407 responses is to sort the packets by the response code column. You can then easily find and remove them since they’re grouped together. Be sure to sort it back by the packet # column before dragging the packets into the AutoResponder pane.
About HTTP Authentication:With HTTP Authentication, the client makes a HTTP request and the server responds with a HTTP/401 or HTTP/407 response demanding credentials. HTTP/401s are sent by servers that require authentication, while HTTP/407s are sent by proxy servers and when replaying the web sessions you may not have access to these credentials and why you would want to removed it from the replay for troubleshooting purposes.
Next: Drag and drop the items to the AutoResponder panel (right side pane)
Next: From the top menu, select File/Capture Traffic or F12 to activate the capture and start replaying the captured web sessions.
You would normally want to replay a page you are troubleshooting first and see if you are able to reproduce the reported behavior. The nice thing about this tool is that you can manipulate many things including browser agents, script, css images, introduce latency and more…