Telerik Forums
Fiddler Forum
2 answers
1.1K+ views

I am a Japanese user. I want to convert the char-set of request for a web application which supports only non-English char-set because UTF-8 is set as the char-set of POST body from Fiddler Script.

I wrote the following code but I was not able to change the char-set from UTF-8:

static function OnBeforeRequest(oSession: Session) {
    if (oSession.HTTPMethodIs("POST")) {
        var cliEnc = System.Text.Encoding.GetEncoding("utf-8");
        var srvEnc = System.Text.Encoding.GetEncoding("shift_jis"); // "shift_jis" is still often used in Japan...
        oSession.requestBodyBytes = System.Text.Encoding.Convert(cliEnc, srvEnc, oSession.requestBodyBytes);
        oSession.oRequest["Content-Length"] = oSession.requestBodyBytes.Length;
    }
}

Is there the method to change the char-set of POST body?

Taka
Top achievements
Rank 1
 answered on 18 May 2015
3 answers
823 views
At work we use fiddler heavily to be able to record and playback URLs and their content.  However, when an environment goes down, we have to go into our list, find the URLs we care about, drag them over to the autoresponder.  I was hoping I could write (or maybe something exists) that would automatically save given URLs to the autoresponder tab when they are hit, so if the environment goes down I could just go in and enable auto responses.  Thanks for any thoughts...
Eric Lawrence
Telerik team
 answered on 08 May 2015
1 answer
99 views

I am working on a java application and I get 404 error in fiddler for css files:

/webroot/adf/styles/cache/*-desktop-4le0gq-en-ltr-ie-cmp.css.

These files are not present in the specified location.IHow can i get rid of these errors in fiddler.

Note: The application works fine and there are no functionality issues because of this error

Eric Lawrence
Telerik team
 answered on 08 May 2015
2 answers
844 views

Hi there,

Thank you for a marvellous product!

I'm experimenting with AutoResponder, and have found that the "Match only once" option is effected by whatever was lasted cached...

For instance, if I have 2 basic rules defined, both with Match only once option checked, as follows:

1) If request matches... "sandbox", then respond with... "http://google.com"

2) If request matches... "sandbox", then respond with... "http://microsoft.com"

Then selecting Tools > Sandbox will continue to be redirected to http://google.com, and will not invoke the second rule until the cache is cleared by way of Tools > Clear WinINIT Cache...

Forgive me if this stupid question, but is there an option somewhere in Fiddler to tell AutoResponder to override the contents of the cache?

Many thanks!

Antonio

Eric Lawrence
Telerik team
 answered on 07 May 2015
1 answer
226 views

Hello,

 

first I want to say thank you for this fantastic and very useful tool. But I have a question regarding switching between multiple interfaces on my

PC with FiddlerApplication.Prefs.SetStringPref(): Each time I send a Http POST Request after changing my IP with FiddlerApplication.Prefs.SetStringPref()

it works, but if I send a GET Request my IP is not changing. Can you help me please?

 

Thank You!

Eric Lawrence
Telerik team
 answered on 07 May 2015
3 answers
239 views
How can I download Fiddler 2.4.9.8?
Eric Lawrence
Telerik team
 answered on 01 May 2015
1 answer
544 views

I’m a newbie to Fiddler, and although I have watched many tutorial videos, read several web articles, and read the appropriate sections in the latest book Debugging with Fiddler, Second Edition, I’m stuck …

Perhaps, I have a fundamental misunderstanding of how AutoResponder playback is suppose to work, but I can’t seem to get it to playback the entire imported .SAZ file network traffic …

To keep things simple, just so I can wrap my head around how AutoResponder playback works, I’m using the Fiddler Sandbox to create a .SAZ file, as follows:

1. Start Fiddler

2. Click Edit > Remove > All Sessions, to remove any captured sessions
3. Click Tools > Clear WinINIT Cache, to clear IE cache
4. Click Tools > Clear WinINIT Cookies, to clear IE cookies
5. Click Tools > Sandbox, to start IE and connect to http://webdbg.com/sandbox/ webpage
6. Click Shopping cart example link under Sandboxes, which takes me to the http://webdbg.com/sandbox/shop/ webpage
7. Exit IE
8. Click File > Save > All Sessions, to save the captured network traffic and create a .SAZ file called Sandbox_Playback_Test.saz

Now I try to playback this saved .SAZ file in AutoResponder, as follows:

 

1. Click Edit > Remove > All Sessions, to remove previously captured sessions
2. Click Tools > Clear WinINIT Cache, to clear IE cache
3. Click Tools > Clear WinINIT Cookies, to clear IE cookies
4. Click AutoResponder tab
5. Select Enable automatic responses, Unmatched requests passthrough, and Enable Latency checkboxes
6. Click Import button, and select the Sandbox_Playback_Test.saz as SAZ for Playback type file
7. On the top URL, Right-Click and select Open URL…
8. AutoResponder opens IE at the http://webdbg.com/sandbox/ webpage then stops

Please correct me if I’m wrong, but shouldn’t the AutoResponder playback continue to the http://webdbg.com/sandbox/shop/ webpage??

In any case, I have tried the above scenario in both my physical machine running Windows 8 with Fiddler Web Debugger (v4.5.1.0) Built: April 23, 2015, and a virtual machine running Windows 7 with Fiddler Web Debugger (v4.5.1.0) Built: April 23, 2015, and both yield the same result.

Please enlighten me as to whether I’m doing something wrong or Fiddler AutoResponder is working as designed…

Many thanks,

Antonio

Eric Lawrence
Telerik team
 answered on 01 May 2015
5 answers
1.8K+ views
I am trying to capture a HTTP traffic included uploaded an excel file by utilizing a Fiddler.  After that, importing it to Ultimate as user Profile or Ultimate 2013 visual studios.
When I am executing the test script, system is displaying an error message "415 Unsupported Media Type"  

Can you be advised me please?

Thank you,

Bill Truong
Eric Lawrence
Telerik team
 answered on 30 Apr 2015
1 answer
1.7K+ views

Hi all,

If we visit a website home page(eg. yahoo.com) with F12 mode from chrome, we can see a bunch of requests activated. These requests are for some pics, css files, js files. My question is: given a url(http://yahoo.com), how can I get all the http requests using maybe shell, python or tools like fiddler? I mean get all request urls as a list. eg. "Request URL:http://source/site/images/wns/1600x336_2015041.jpg"

Thanks in advance.

Eric Lawrence
Telerik team
 answered on 28 Apr 2015
1 answer
130 views

Hi. 

 

First of all sorry but I dont speak a good english. I will try to explain my case.

I have a problem with the certificates in my pc. I work with a proxy. Some times when Im working have a certificate and SSL error. For debug the error I download Fiddler to save and study the error but when I launch fiddler the problem have not O_o 

 Somebody can help me? what Fiddler do? I am very sad.

Eric Lawrence
Telerik team
 answered on 28 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?