Telerik Forums
Fiddler Forum
2 answers
964 views
So I want to modify a standard Http 200 response from a server, which contains headers and an image in the responsebody. I want to selectively replace that image (ideally from  a stored image file; but the actual image will change over time and/or I want to select different images based on logic). I want to retain the original headers from the server response, and replace the responsebody image. I would use the OnBeforeResponse event to trap the response. The images are standard files (image file only, no http headers).

I see I can load an entire response from a file with FildderScript, but I can't see how to load just the responsebody from a file (binary image jpg/or png or gif). I thought possibly I could populate an array from the image file, and then use ResponseBody:System.Byte[] call to attach the image (and fix up the headers associated with the size/content type etc).

I have searched far and wide but haven't found any related example FiddlerScript for this operation. Could you post a snippet along these lines?

john
Top achievements
Rank 1
 answered on 03 Jan 2015
11 answers
712 views

Yes I have tried resetting IE settings
Yes I have disabled and re-enabled IE
Yes I have tried the following steps:
1: Use Help > Troubleshoot Filters to make sure the traffic isn't getting hidden unexpectedly. --Nothing hidden
2: Look in the Log tab to see if there's a note about Chrome Group Policy hardcoding the proxy. --Recently set Chrome Policy to try and fix the issue. Not problematic
3: Update your question to mention whether other browsers' traffic is captured. --Nothing is captured except for Echo Service
4: Visit http://localhost.fiddler:8888/ in Chrome; What if anything do you see? --Echo Service
5: Visit http://127.0.0.1:8888/ in Chrome; What if anything do you see? --Echo Service
I have also tried to manually modify the registry settings. The result was Fiddler overriding them. I have tried process monitor, nothing is being captured at all.
After setting the Chrome Policy, it works, for Chrome anyways. I have disabled EVERY Chrome expansion. Nothing. I have also deleted Registry Keys, nothing.
I have crashed Windows trying to fix this, believe me I went in-depth. I have uninstalled the following as well to try:
1: Evolve VPN
2: Teamviewer VPN
3: Wireshark
4: WinPCap
5: Fiddler (Reinstalled)
6: CommView
With the exception of Fiddler, I have reinstalled nothing above. I do have Hamachi VPN installed, but I know it works for that. Note I am having the same exact issue on another laptop, meaning it is not entirely unique. The registry override ONLY occurs when refreshing Fiddler after registry change. I am ready to post any files I need.

Tyler
Top achievements
Rank 1
 answered on 02 Jan 2015
1 answer
719 views
Hello,
I am new to using Fiddler Web Debugger.  How do I measure performance of a website with the application?  Can you provide the basics? 

I see this in the right hand side when a page is loaded up.  In there anymore to performance tools that Fiddler Web Debugger has?

Requests started at:  36:56.8
Responses completed at:  36:58.2
Sequence (clock) duration:  00:01.4
Aggregate Session duration: 00:01.5
 TCP/IP Connect duration: 10ms
 
Eric Lawrence
Telerik team
 answered on 29 Dec 2014
0 answers
96 views
Rule Config

regex:(?insx)\/0Pl5sssO4/.+\.js$ #Versafe.js
C:\Users\chernyakov\Desktop\versafe\static.js

I would expect Autoresponder to respond with file contents. Instead, it rewrites my request 



GET http://xx.xx.43.176C:\Users\chernyakov\Desktop\script\static.js/ HTTP/1.1
Host: Xx.xx.43.176C:\Users\chernyakov\Desktop\script\static.js
Proxy-Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: */*
Ilya
Top achievements
Rank 1
 asked on 25 Dec 2014
0 answers
95 views
Rule: regex:(?insx)\/0Pl5sssO4/.+\.js$ #script.js
and selected a file on a file system in the second combo-box 

I would expect that the AutoResponder would respond with the file contents, instead, it rewrites URLs to 

GET http://XX.XX.43.176C:\Users\chernyakov\Desktop\script\static.js/ HTTP/1.1
Host: XX.XX.43.176C:\Users\chernyakov\Desktop\script\static.js

All other headers are seem to be fine 

Is that a bug, or I am configuring it wrong ? 

Ilya
Top achievements
Rank 1
 asked on 25 Dec 2014
13 answers
330 views
I want use Fiddler Script and I have those packets with this host name :

wl.search.ar.ns.test.com

If I use oSession.HostnameIs how can I do ?

So ? 

if (oSession.HostnameIs("wl.search.ar.ns.test.com")) {
            oSession.hostname="199.156.34.12";
}

is it correct ?
Eric Lawrence
Telerik team
 answered on 24 Dec 2014
5 answers
147 views
Mostly I use Fiddler for creating Visual Studio web tests, by exporting to a ".webtest" file. As I record a set of steps I add comments about what is shown on the screen and what actions are being performed. Unfortunately the ".webtest" file omits many of the comments. While recording I just want to add a comment to the most recent session, I do not want to spend time choosing a session that should be written to the file.

How can I persuade Fiddler to write all of my comments to the ".webtest" file? I have looked at the code of some plugins and also (via "ilspy") at VSWebTestExport.dll but there is no obvious way of writing out the comments without making changes to file "FiddlerWebTest.cs".
Eric Lawrence
Telerik team
 answered on 19 Dec 2014
1 answer
338 views
I'm trying to use fiddler to debug an Exchange ActiveSync error. Unfortunately, starting Outlook with fiddler triggers an error message:
"There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site outlook.office365.com".

I suppose this is some rudimentary certificate-pinning from Outlook. How could I solve this? Would editing the name of the certificate in certmgr.msc do the job?

Thanks in advance
Eric Lawrence
Telerik team
 answered on 18 Dec 2014
3 answers
136 views
I’m trying to run FiddlerCap Web Recorder.  When I check ‘Decrypt HTTPS traffic’ as True, I get a dialog box appear titled ‘A note about HTTPS Decryption”, upon selecting okay, the 'Decrypt HTTPS traffic'  appears as false again and a note in the bottom left footer of the application states ‘Sorry, unable
to create root certificate’. 

I'd appreciate any help in resolving this.

Thanks.   
Eric Lawrence
Telerik team
 answered on 17 Dec 2014
1 answer
162 views
Hi,

I'm having some issues adding fiddler.exe as a reference in VS2013, no matter what i do VS does not recognize it as a reference when building the solution.
Intellisense reads it just fine and i can add it and any object within in it to the code without any issues.
I've tried this both in a new project and an in an existing inspector solution I've grabbed from github (I'm modifying the WCF binary inspector to decode FastInfoset encoded messages), also tried copying the exe locally instead of grabbing it from the Program Files directory.
Has anyone experienced this issue or has any insights in how to solve it?

P.S.
For fiddler 4 is it possible to use .NET 4/4.5 project profiles for fiddler (4) plugins? the fiddler documentation is quite outdated  and it still instructs me to create a .NET 3.5 solution.

Thanks.
Eric Lawrence
Telerik team
 answered on 15 Dec 2014
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?