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
Recently updated to windows 10 and found Fiddler is behaving weird. I got some wcf web services hosted locally for dev purpose.
When I try to call wcf service, while Fiddler is running, everything is fine.
When Fiddler is turned off (exited) wcf service does not work, client complaints it can't find the service.
Uninstalled Fiddler and restarted the PC, everything is fine.
Seems like Fiddler is not clearing up some settings somewhere..
Any suggestions is highly appreciated.
Cheers guys..
Hi,
We have a Websense proxy on our company and we are using their PAC address under "use automatic configuration script" option in IE (Under LAN settings).
When i open Fiddler it does not capture the traffic when i use this option, it does only when i use the third checkbox "Proxy server" and put a local proxy address inside it.
Is there any way to allow Fiddler capturing traffic with the second option "use automatic configuration script"?
Thanks,
Maor
Hi Eric,
Firstly thanks for your time and dedication to an amazing product.
I am creating an application using C# fiddlecore.
I want my application to ignore every website on the internet, Except a small handful of specified websites (example "abc.com and "xyz.com").
In my Googling I came across this:
CONFIG.sHostsThatBypassFiddler = "<local>";
I know this will prevent fiddler routing all INTRANET traffic.
However, what other string values can I use in place of "<local>" in order to tell fiddler to route ONLY the 2 above mentioned sites.
In fact what are all the different options I can use in place of "<local>" string ?
Please can you also tell me where the "CONFIG.sHostsThatBypassFiddler" would go ?
In BeforeRequest or BeforeResponse or anywhere else?
I am having trouble accessing Fiddler on my laptop from other devices. The laptop runs Windows 7 Enterprise, and one device I'm trying to connect with is an iPad using iOS 8.4. When I'm at work, I can easily connect to this laptop. I have "allow remote computers to connect" checked, and I use the default port with the local IP set as the proxy on the iPad. It works well. When I take these two devices home, however, I can't even pull up the Fiddler Echo Service page by going to http://laptop:8888 (ie laptop is 192.168.1.9). I can use a ping app on the iPad, and I get a successful response by pinging this same ip on port 23. I've confirmed that Fiddler is still set to listen on port 8888 and rechecked the local ip of the laptop many times. I've removed proxy settings on the iPad's wifi connection, so it's not trying to connect to the local ip from the office network. The proxy settings on the iPad are blank when trying to reach the Fiddler Echo Service page of the laptop. No settings on the laptop have changed from when it was at work.
I started thinking maybe there was a router issue, but I can run Fiddler on my desktop and have the iPad connect to it after adjusting the wifi proxy settings, and the laptop also reaches the desktop's fiddler echo page. I have not setup any port forwarding for the deskptop in my router.
Is anybody able to point me in the right direction to get other devices to connect to Fiddler running on the laptop? I'm completely out of ideas on what could be the problem. The only thing that has changed is the network these are on, and I've tried changing the wifi proxy's settings to the correct, new local ip of the laptop on the home network, and other devices on this network are able to accept traffic through Fiddler.
Any help is greatly appreciated!
HI All,
An Issue is reported in production with ajax request execution in our application with IE9 browser.
Below is the text from fiddler response raw view for failed ajax request at customer site
ReadResponse() failed: The server did not return a complete response for this request. Server returned 0 bytes.
Could not able to replicate in development environment.
below is the fiddler report for failed ajax request at customer site
SESSION STATE: Aborted.
Request Entity Size: 45 bytes.
Response Entity Size: 512 bytes.
== FLAGS ==================
BitFlags: [ResponseGeneratedByFiddler] 0x100
X-ABORTED-WHEN: Done
X-CLIENTIP: 127.0.0.1
X-CLIENTPORT: 55260
X-EGRESSPORT: 55262
X-FAILSESSION-WHEN: ReadingResponse
X-HOSTIP: 10.54.190.156
X-PROCESSINFO: iexplore:7648
== TIMING INFO ============
ClientConnected: 15:14:31.853
ClientBeginRequest: 15:14:31.899
GotRequestHeaders: 15:14:31.901
ClientDoneRequest: 15:14:31.901
Determine Gateway: 0ms
DNS Lookup: 0ms
TCP/IP Connect: 101ms
HTTPS Handshake: 0ms
ServerConnected: 15:14:32.007
FiddlerBeginRequest: 15:14:32.007
ServerGotRequest: 15:14:32.009
ServerBeginResponse: 00:00:00.000
GotResponseHeaders: 00:00:00.000
ServerDoneResponse: 15:14:32.431
ClientBeginResponse: 15:14:32.435
ClientDoneResponse: 15:14:32.436
Overall Elapsed: 0:00:00.537
The response was buffered before delivery to the client.
== WININET CACHE INFO ============
This URL is not present in the WinINET cache. [Code: 2]
* Note: Data above shows WinINET's current cache state, not the state at the time of the request.
* Note: Data above shows WinINET's Medium Integrity (non-Protected Mode) cache only.
Could you please let me know why the below timings are shown as 0
ServerBeginResponse: 00:00:00.000
GotResponseHeaders: 00:00:00.000
I suspect that the request is not sent to server but fiddler time logs shown connected to server with timings as below
ServerConnected: 15:14:32.007
FiddlerBeginRequest: 15:14:32.007
ServerGotRequest: 15:14:32.009
ServerBeginResponse: 00:00:00.000
GotResponseHeaders: 00:00:00.000
ServerDoneResponse: 15:14:32.431
Any has experienced this issue? what are causes for this and how to fix issue.
Help is greatly appreciated!!..
Thanks
Dhorrairaajj
I would like to use FiddlerScript redirect to my local files while testing, without having to change the script tags in my HTML.
I'm fine with redirecting specific files using the AutoResponder, but how can I redirect any resource in a particular folder, including for HTTPS tunnel request?
I tried this and other permutations but I don't really understand what I'm doing...
if (oSession.HTTPMethodIs("CONNECT") && (oSession.PathAndQuery == "rawgit.com:443")) {
oSession.PathAndQuery = "localhost:63342";
oSession.url = oSession.url.Replace("repo/cool-Blue/d3-lib/master/inputs", "inputs");
oSession["ui-color"] = "red";
}
Fiddler core
Invalid certificate (证书无效)
demo?