I need to save a session in HAR or SAZ formats. If I use fiddler to do it now I have all the requests and responses. Id like to limit things to request and response to html document only or to json response or any resource I need. Is there a way to do this in fiddler?
To save a single Request/Response pair in a SAZ file, select it and choose File > Save > Selected Sessions > In ArchiveZip.
To save a single Request/Response pair in a HAR file, select it and choose File > Export Sessions > Selected Sessions.
To do this from script or an extension, simply call the WriteSessionArchive
method, passing an array containing just 1 Session object.