a developer's notes – a semi-technical web development BLOG

November 21, 2013

Visual Studio Performance Testing – Viewing HTTP Responses with Binary Data

When examining a response from a HTTP request, what do you do if it contains binary information?

binaryData1

You can examine the Response tab, but it will also contain binary data information.

binaryData2

What if we just want to just to view the contents on the far right column in a readable format?

binaryData3

One technique would be to copy the entire response into a text editor such as Notepad++. Then you can use the column selection (shift + alt) to remove the binary information.

binaryData5

Then you can do a Find and Replace and remove all the line breaks. In Notepad ++, replace “\r\n” with nothing. Be sure you select the Extended Search Mode.

binaryData6

Now you have the information in a readable format.

{. “object_or_array”: “object”,. “empty”: false,. “parse_time_nanoseconds”: 163674,. “validate”: true,. “size”: 6.}.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Create a free website or blog at WordPress.com.

%d bloggers like this: