Telerik Forums
Fiddler Forum
2 answers
82 views
I will try to explain this as clearly as possible. I installed the HTTPS decrypter setting on Fiddler, went to the local address on my iPhone and installed the certificate and then I modified my iPhone's WiFi settings to my computer's IP and port 8888. It manages to capture traffic when I use Safari and all but when I go to the App Store and some other apps they do not work. Why is this and is there a fix for it?
Mustafa
Top achievements
Rank 1
 answered on 24 Dec 2015
1 answer
174 views

Hi,

 I'm testing a web application which uses https.

 First I used the Fiddler desktop appliction to test the web application and there was a problem with the certificates so i followed this guide http://textslashplain.com/2015/10/30/reset-fiddlers-https-certificates/ and now it works.

 Now when I try to access the same https url and using FiddlerCore it doesn't work. I tried this guide http://weblog.west-wind.com/posts/2014/Jul/29/Using-FiddlerCore-to-capture-HTTP-Requests-with-NET with no luck.

 So my question is how can i do these steps using fiddlercore:

Click Tools > Fiddler Options.
Click the HTTPS tab.
Ensure that the text says Certificates generated by CertEnroll engine.
Click Actions > Reset Certificates. This may take a minute.
Accept all prompts

Thanks

Jesper
Top achievements
Rank 1
 answered on 22 Dec 2015
1 answer
324 views

I work at a place whose software interacts with web services run by other companies. Sometimes the test environments of those external web services stop, so using autoresponses to simulate external dependencies is a big deal for us. I've recently been using AutoResponder/FiddlerScript to simulate external dependencies by responding with traffic saved to disk whenever the URL and/or headers match some condition, and it's worked very well.

However, AutoResponder has one drawback: the responses from disk are sent unmodified, and sometimes I would like to change things based on the content of the request.

As a minimal example, suppose I save to disk a request/response pair like this:

 

POST https://somewebsite.com/CreateThing HTTP/1.1

{"Name":"Honeoye Falls"}

 

HTTP/1.1 200 OK

{"Name":"Honeoye Falls", "Successfully POSTed": "True"}

 

I'd like AutoResponder or FiddlerScript to be able to respond to the following request:

 

POST https://somewebsite.com/CreateThing HTTP/1.1

{"Name":"Bancorp Tower"}

 

with the following response:

 

HTTP/1.1 200 OK

{"Name":"Bancorp Tower", "Successfully POSTed": "True"}

I have a naive fantasy of building an "AutoResponder Plus" tab into Fiddler where you can drag a session in and tag parts of the request body as "magic fields" to build an "enhanced rule". In this example, the "Name" field would be a "magic field", because it occurs identically in both request and response. AutoResponder would then respond to requests matching the rule by loading the original response from disk (say, the one with "Name": "Honeoye Falls"), but overwriting "magic" fields in the response with the ones from the request (giving "Name": "Bancorp Tower").

In this minimal example, I know how to manually write FiddlerScript that would perform the substitution, but for more complicated examples with dozens of magic fields, writing FiddlerScript code for each quickly becomes time-consuming and mind-numbing. Automating the identification of "magic fields" in request/response pairs when they get drag-and-dropped into AutoResponder would be awesome, as would the ability to "intelligently" respond to requests containing them.

Here's my actual question:

  • How naive a fantasy is this? How difficult might it be for me to build such a Fiddler add-on? Is this even feasible, or worthwhile?

Other software with this capability currently exists, but is cumbersome; I'm exploring CA Service Virtualization, which is a heavyweight, complicated software suite that seems overkill, but will probably work. As a side hobby, I'm interested in making this possible in Fiddler. But again, I don't know whether this would be worthwhile or easy.

What's your opinion?

Eric Lawrence
Telerik team
 answered on 21 Dec 2015
1 answer
287 views

Hi 

I'm trying to process a 30KB WebSocket message, but both

e.oWSM.PayloadAsString(),
e.oWSM.PayloadAsBytes()

are trimmed.

Unfortunately, manipulations with Prefs don't help

FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.ClientReadBufferSize", 1000000);
FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.ServerReadBufferSize", 1000000);
FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.Client_SO_RCVBUF", 1000000);
FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.Client_SO_SNDBUF", 1000000);
FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.Server_SO_RCVBUF", 1000000);         FiddlerApplication.Prefs.SetInt32Pref("fiddler.network.sockets.Server_SO_SNDBUF", 1000000);

Eric Lawrence
Telerik team
 answered on 21 Dec 2015
1 answer
1.8K+ views

Hi everyone,

    I have implemented the code seen (in C#) http://fiddler.wikidot.com/fiddlercore-demo.As library,

I used the FiddlerCore4.dll,provided by installing fiddlercoreapisetup.exe;

When I launch the application, I can see an error (NET::ERR_CERT_AUTHORITY_INVALID) on my browser (Chrome);

I have already tried to figure out by adding a certificate (http://fiddler.wikidot.com/fiddlercore-faq) but the error always occurs.

 

Thanks,

 

Eric Lawrence
Telerik team
 answered on 21 Dec 2015
1 answer
171 views

I installed Firefox 43 (32) on a Win 10 (64) system yesterday.

It said that Fiddler Hook (4.6.1.5?) was not verified for use with the browser.

Today the version of Firefox went to 43.0.1, same issue.

Altering xpinstall-sigantures-required allows to Fiddler to run but isn't comfortable.

Is there anything else that I can do to fix the signing issue?

 

Mike Gale
Top achievements
Rank 1
 answered on 19 Dec 2015
12 answers
689 views
We're trying to get the latest version of Fiddler to work with our Websense Proxies. The Proxies have an endpoint which forces a PAC file for all of the local browsers. Is there a way to configure Fiddler to work with the Websense proxies? 
Eric Lawrence
Telerik team
 answered on 17 Dec 2015
7 answers
463 views

Hey all,

I have server to server XML based methods which I use to engage the communication between 2 servers. 

I cannot use SoapUI since we are not using WSDL services, hence I would like to simulate server calls and responses by using Fiddler.

Is there a way of doing so? and if there is, could some one please aid me doing so?

Thanks

Eric Lawrence
Telerik team
 answered on 17 Dec 2015
3 answers
707 views

I upgraded Fiddler to the latest version (v2.6.1.5) and for some reason it is no longer capturing iOS traffic. I have not actually tried this for many months so admittedly the problem may be unrelated to the upgrade.

I have done this many times in the past where I set the HTTP Proxy on my device to the IP of the machine running Fiddler and it instantly captures all the traffic.
I verified all the settings and everything seems fine. In fact, when I visit http://myip:8888 from my device I successfully receive the Fiddler Echo Service. However no traffic is being captured.

My setup is a laptop and iphone both on the same non-corporate wifi network. 

Any ideas?

Thank you

Eric Lawrence
Telerik team
 answered on 16 Dec 2015
2 answers
213 views

To begin, let me say that this is an intermittent issue, and I'm not 100% sure it is caused by Fiddler.

I have an application that uses the IXMLHTTPRequest2 interface to make requests. I am trying to mock network requests using FiddlerCore.dll in my tests, but every so often I'm seeing the following behavior:

  1. I issue several requests, which succeed.
  2. I set up my IXMLHTTPRequest2 object and call Send(), which returns S_OK.
  3. Nothing happens for 20 seconds.
  4. Windows calls my OnError callback with E_FAIL.

I have added a BeforeRequest handler to FiddlerCore that logs every request seen (whether I end up mocking it out or not) and an OnLogString handler that simply passes through the logs to my test logger. The request doesn't show up anywhere. It seems to have disappeared without a trace somewhere between Windows and Fiddler.

I can't find any information about debugging issues with IXMLHTTPRequest2 on MSDN. Do you have any ideas about what may have happened, or where I can look to understand more?

Thanks,
Louis

Eric Lawrence
Telerik team
 answered on 16 Dec 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?