Home > Web > Configure Fiddler export to save the message body

Configure Fiddler export to save the message body

This document tells you how to configure the Fiddler inspection tool so that its export function will save the message body. In its out-of-the-box configuration, it will not save any message body of any reasonable size.

This information is intended for web programmers who are new to Fiddler. It targets the ‘export’ format HTTPArchive v1.2.

.

Normally, Fiddler’s “File > Export Sessions” settings include the body of the request or reply only if the number of characters in the body is very small. You will have to change a setting in Fiddler to increase the limit. Here’s how:

Start Fiddler. Notice the lower-left area. It’s a command-line area:

Fiddler config step 1

.

Type the following command – about:config – and then press Enter.

Fiddler config step 2

.

In a right-side panel, Fiddler’s configuration settings will be displayed on a list.

Add a new setting, using the typing area at the bottom of the list:

Fiddler config step 3

.

The setting is:

fiddler.importexport.httparchivejson.maxtextbodylength

Set its value to 100000 (one hundred thousand).

After you enter the new setting, it will appear on the configuration settings list:

Fiddler config step 4

.

Check that this setting works by executing a few requests, and then exporting them as an HTTPArchive v1.2. Close, then re-open Fiddler, and import the archive. Finally, inspect the contents of the requests and replies to ensure that all or most of the body is included.

.

But wait – there’s more…

Most of us will use Fiddler as a developer tool, and not as a general packet traffic capture tool.

Therefore, when Fiddler starts, we do not need it to begin capturing traffic. (We can toggle capturing on demand, by using the F12 key.)

Make this change: Open Tools > Fiddler Options. On the “Connections” tab, un-check (clear the “Act as system proxy on startup” check-box.

.

.

.

.

.

.

Advertisements
Categories: Web
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: