Hi,
I'm using Fiddler to execute x times several sessions. At the end, I want to export to a file. But if I have a lot of sessions, the export file is incomplete because it doesn't has the time to load all the sessions. How can I detect when all sessions are done and then export ?
Here is the code:
var oSessions = UI.GetAllSessions();
UI.actRemoveAllSessions();
for (var i:int=0;i<sParams[1];i++)
UI.actReissueSessions(oSessions,false);
var oExportOptions = FiddlerObject.createDictionary();
oExportOptions.Add("Filename", "W:\\Public\\HD\\Paris\\L\\LY Robert\\selenium\\Results\\WAT_charge_" + System.Net.Dns.GetHostName() + "_" +DateTime.Now.ToString("ddMMyyyy_HHmmss")+".har");
FiddlerApplication.DoExport("HTTPArchive v1.1", oSessions, oExportOptions, null);
Thank you