Import Http Requests From Fiddler

You can use Fiddler 4 to capture HTTP requests and then import them into WebSurge. Fiddler is an Http Capture tool that allows you to generically capture HTTP traffic both from Web browsers as well as from Windows applications.

Capturing and Exporting Requests from Fiddler

To capture requests in Fiddler:

  • Make sure you enable HTTPS capture
    (Tool->Options->Https->Decrypt Https - add certificate)
  • Capture Requests by navigating your browser
  • Capture Requests to run native app that uses HTTP requests

To export requests from Fiddler:

  • Select requests or all you want to save
  • Right click on Context Menu
  • Save->Selected Sessions->as Text
  • Select a filename

Import into WebSurge

Once you've exported your file you can import it from the WebSurge Session menu:

  • Open Session->Import and Export->Import from Fiddler
  • Select the exported file from disk
  • Opens as new WebSurge Session

A few Fiddler Capture Tips

Fiddler is powerful but by default it captures a lot of unwanted information from unrelated applications, and browser instances and when you need to capture requests for your sessions you'll want to minimize that noise:

Filter by Domain

Perhaps the best way to minimize the amount of requests that end up in Fiddler is to pin it down to a specific domain. You can click on the Filter tab in Fiddler to open a filter dialog that lets you filter among a few common options like headers and most importantly domain:

This lets you focus on just your specific Web application or API if called from another process.

As you can see there quite a few other options on this filter dialog that you can tweak to see only specific requests.

Filter Web Browser or Processes

On the bottom right of Fiddler in the status bar there's a panel that lets you select from:

  • Web Browsers
  • Processes
  • Both

which lets you filter out some HTTP noise from unrelated processes or browsers.

Filter Image Requests

The Rules menu has an option to hide image requests which can also help to reduce overall noise as many Web sites have tons of images that you are often not interested in for Request or Load Testing sessions. Go to:

Rules->Hide Image Requests

and toggle it checked or unchecked.

Important: Always reset your Filters

Once set the filters remain set and it's easy to end up coming back to Fiddler after a filtered session and wondering why requests aren't working because you've set a domain filter.

If you set filters for a Fiddler session it's a good idea to remove the filters before you shut Fiddler down.


© West Wind Technologies, 2014-2022 • Updated: 12/08/21
Comment or report problem with topic