Telerik Forums
Fiddler Forum
1 answer
212 views
After installing the Fiddler Cert Maker plugin, I'm greeted by a warning when opening Fiddler that my software is out of date for the Cert Maker. The CM wants version 4.4.9.4 but the most recent one on the Fiddler site is 4.4.9.3.
Eric Lawrence
Telerik team
 answered on 18 Sep 2014
7 answers
2.1K+ views
I have an ASP.NET WebForms app (sender) which sends a WebClient post request to another ASP.NET app (receiver) on the same dev machine. The WebClient post is initiated by clicking a button in the sender app. It's a test app and the form has only the button. I can see the post from the button in Fiddler but I don't see the post request from the WebClient method. Why?

I know the WebClient post runs successfully because the breakpoint is hit in the receiver app and the Forms collection has the value of the input field from the WebClient request from the sender app. (Using Windows 8.1)

This is the call:

using (var client = new WebClient())
{
client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
var data = "FirstName=John";
var result = client.UploadString("http://localhost/testform/default.aspx", "POST", data);
Console.WriteLine(result);
}
Tony
Top achievements
Rank 1
 answered on 18 Sep 2014
1 answer
394 views
Hi,

Is there a simple way to manipulate / replace elements in a XML document using FiddlerScript?

BR Pär 
Eric Lawrence
Telerik team
 answered on 17 Sep 2014
3 answers
287 views
Eric:

I tried Timer request following this topic: https://groups.google.com/forum/?fromgroups#!searchin/httpfiddler/reissue/httpfiddler/8r9Hop7LMXg/0GROyv2HXWwJ.
Everything is ok at first, it runs as expecting few days. Until this morning. The Timer started, but does not raise the tick!
What is mysterious is if I put a MessageBox following the oTimer.Start() and keep the MessageBox on, it runs quite normal. But once I click the OK button to turn off the MessageBox, the oTimer stop raising tick again.
The code looks like as following: 

static var oTimer: System.Windows.Forms.Timer;
static function TimerStart(){
   
oTimer = new System.Windows.Forms.Timer();
   oTimer.add_Tick( OnTimer );
   oTimer.Interval = 3000;
   oTimer.Start();
   MessageBox.Show(
'Timer Started: ' + oTimer.Interval.toString()  );
}

What the problem is it? What happened?
thx a lot!

Eric Lawrence
Telerik team
 answered on 16 Sep 2014
7 answers
381 views
the Exception info:


{System.TypeInitializationException: An exception was thrown by the type initializer for Fiddler.Proxy ---> System.EntryPointNotFoundException: GetTickCount64
  at (wrapper managed-to-native) Fiddler.Utilities:GetTickCount64 ()
  at Fiddler.Utilities.GetTickCount () [0x00000] in <filename unknown>:0 
  at Fiddler.PeriodicWorker+taskItem..ctor (Fiddler.SimpleEventHandler oTask, UInt32 iPeriod) [0x00000] in <filename unknown>:0 
  at Fiddler.PeriodicWorker.assignWork (Fiddler.SimpleEventHandler workFunction, UInt32 iMS) [0x00000] in <filename unknown>:0 
  at Fiddler.PipePool..ctor () [0x00000] in <filename unknown>:0 
  at Fiddler.Proxy..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Fiddler.FiddlerApplication.Startup (Int32 iListenPort, FiddlerCoreStartupFlags oFlags) [0x00000] in <filename unknown>:0 
Data: Count=0
HResult: -2146233087
HelpLink: (null)
InnerException: {System.EntryPointNotFoundException: GetTickCount64
  at (wrapper managed-to-native) Fiddler.Utilities:GetTickCount64 ()
  at Fiddler.Utilities.GetTickCount () [0x00000] in <filename unknown>:0 
  at Fiddler.PeriodicWorker+taskItem..ctor (Fiddler.SimpleEventHandler oTask, UInt32 iPeriod) [0x00000] in <filename unknown>:0 
  at Fiddler.PeriodicWorker.assignWork (Fiddler.SimpleEventHandler workFunction, UInt32 iMS) [0x00000] in <filename unknown>:0 
  at Fiddler.PipePool..ctor () [0x00000] in <filename unknown>:0 
  at Fiddler.Proxy..cctor () [0x00000] in <filename unknown>:0 }
Message: "An exception was thrown by the type initializer for Fiddler.Proxy"
Source: "FiddlerCore4"
StackTrace: "  at Fiddler.FiddlerApplication.Startup (Int32 iListenPort, FiddlerCoreStartupFlags oFlags) [0x00000] in <filename unknown>:0 \n  at
TargetSite: {Void Startup(Int32, Fiddler.FiddlerCoreStartupFlags)}
TypeName: "Fiddler.Proxy"
Static members: 
Non-public members: 
Eric Lawrence
Telerik team
 answered on 15 Sep 2014
4 answers
146 views
Hello,
I would like to test the new version of FiddlerCore but when I want to build the new Sample AppDemo, I obtain some errors :

Le composant référencé 'Ionic.Zip.Reduced' est introuvable.

Le fichier de configuration de l'application "app.config" n'est pas valide. Impossible de trouver le fichier 'C:\Users\Desktop\FiddlerCoreAPI\SampleApp\app.config'.

Can you help me to fix this problems ? I have another question, what are the news with this new version ?
Thanks a lot.
Eric Lawrence
Telerik team
 answered on 15 Sep 2014
3 answers
420 views
How to hide the url in the address bar?, or rather make it fixed, like if someone searches for Bing or Google or Youtube the address bar should always show www.test.com. And no, I'm not talking about redirection.

Any ideas?How do I write the script?

Thank you
nasekt
Top achievements
Rank 1
 answered on 15 Sep 2014
2 answers
194 views
Hello,

I am trying to create an extension for Fiddler, but my problem is that I cannot do drag and drops from the Session View into the DataGridView. 

When I implement the DragEnter method of the DataGridView I only see the dragged object as a DataObject and I cannot convert it to Session type and it does not contain any text.

I would like to access the URL of the session.

I could not find any documentation and no open-source plugins to check how its done in other extensions like the AutoResponder.

Could you please tell me how to do this?

Cheers,
Zsombor
Fuszenecker
Top achievements
Rank 1
 answered on 15 Sep 2014
1 answer
231 views
How can I completely hide Fiddler and prevent it from appearing in the Notification area? I don't want other users to notice. And I'm not talking about "Choose Hide icon and notifications".
Eric Lawrence
Telerik team
 answered on 15 Sep 2014
1 answer
411 views
My Goal:Append +test1+test2+test3 to query, then before data reaches the client's web browser replace +test1+test2+test3 with an empty string.

To append string to query, I used this code

static function OnBeforeRequest(oSession: Session) {

if (oSession.uriContains("www.youtube.com/results?search_query="))
{
var str = oSession.fullUrl;
var sAppend = "+test1+test2+test3";
if (!oSession.uriContains(sAppend))
{
oSession.fullUrl = str + sAppend;
}
}

Everything worked fine, but the problem started after I added this code

static function OnBeforeResponse(oSession: Session) {

if (oSession.HostnameIs("www.youtube.com") && oSession.oResponse.headers.ExistsAndContains("Content-Type","text/html")){
oSession.utilDecodeResponse();
oSession.utilReplaceInResponse('+test1+test2+test3','');

Instead of appending to search_query=, it gets appended to &page=

I'm pretty sure oSession.utilReplaceInResponse is responsible for the problem.I really need help.

Thank you.

nasekt
Top achievements
Rank 1
 answered on 14 Sep 2014
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?