Creating a web performance test using Fiddler

As you all know (or should know), Fiddler is a really powerful web debugging proxy which logs all HTTP(S) traffic between your computer and the internet. Fiddler allows you to inspect traffic, set breakpoints, and “fiddle” with incoming or outgoing data.

Now one cool thing I didn’t know before is that you can export fiddler events to a Visual Studio Web Test. This is really easy, but I’ll show you how:

1. Download Fiddler2, install and run the application

2.Capture some traffic, for example open your web application, and perform some actions, in my example, I opened the nuget.org website.

3. Next step is to select the session steps that you want (or do not select any) and click ‘File – Export Sessions – All Sessions/Selected Sessions

3. In this new dialog, you select ‘Visual Studio Web Test

4. When you click next, you can choose where you want to save the web test file.

5. All you have to do know is either include the web test file in a test project from Visual Studio, or you can open it directly with Visual Studio. You’re now able to click ‘Run’ in the test window, and it should start the web test.

That’s it.. really easy!

Written by
Alexander Vanwynsberghe
Join the discussion

3 comments

Menu

Alexander Vanwynsberghe

Belgium-based entrepreneur. Into technology, innovation and a bit of cycling and running too. Evangelist for everything related to smart-tech.