Fiddler is a required tool in the toolset of every web developer. It allows you to exam and work with HTTP requests. Although I’m using Fiddler for a long time, I still discover new features every day. As described here, one of the features I didn’t know is that you can export a Fiddler session as a Visual Studio Web Test (or Web Performance Test).
So how do you achieve this?
- Open up the site you want to record and make a few requests.
- Go to File – Export Sessions – All Sessions.
- Select the Visual Studio WebTest export format.
- Save the file.
- Open a Visual Studio Test Project.
- Choose Add Existing Item and add the file you just saved.