Monday, May 16, 2011

Fiddler: AutoTruncate setting in the response view

Today I found out about this setting in Fiddler. I’m used to see the raw HTTP response in Fiddler. I use the search feature, which comes very handy when you have a large response in size:

image

When I was searching for “moviesfe”, I noticed that I can’t find what I’m looking for. To note, I’m in “raw” response viewer format. However, when I switch to “TextView” and again type “moviesfe” in the search field, it just finds the data. For the same response. Somehow it doesn’t make sense – you cannot find a string in the Raw response, but when you switch to a viewer (more specifically TextView), the search term is found!

image

I looked closely at the Raw window and noticed the following message:

image

And that hinted what the problem can be. In Raw view, the text was just truncated, hence when you search for “moviesfe”, Fiddler cannot find the string. However, in TextView, this doesn’t happen since the text isn’t truncated. In order to disable text trancation in Raw view, you just need to right click in the view and disable “AutoTruncate” as shown:

image

No comments:

Post a Comment