How to use Fiddler to capture HTTPS sessions and convert to a VSTS Web Test

This question came up quite a few times. So I thought I will post it here.

There are a few situations when the Out of the Box VSTS 2008 Web Test Recorder will not capture certain HTTP traffic, such as HTTPS. In such cases Fiddler comes in handy.

Here is a STEP by STEP of how to do it

1. Download fiddler from www.fiddler2.com and install it.

2. Turn on HTTPS options in fiddler as below.

 

image

 

3. Now start your HTTPS sessions as usual from the browser.

4. Select the sessions you want recorded as Web Test. Accept browser warnings to proceed to the Web Site (assuming you are testing against a known site which your organization is developing).

 

image

5. Once you have the sessions you needed selected, do as follows to convert to a Web Test.

Once the sessions are recorded, select the ones you want. Then …

clip_image002[10]