Telerik Forums
Fiddler Forum
1 answer
340 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
236 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
343 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
109 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
362 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
152 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
189 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
366 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
6 answers
369 views
Hi Telerik, Eric, 

Thanks again for Fiddler and FiddlerCore, they're amazing tools.

I and others have asked for years for a NuGet package for FiddlerCore. The lack of such a package is preventing the release of  https://github.com/mausch/ElmahFiddler/issues/4 , complicating the tests for https://github.com/Azure/azure-storage-net#test-dependencies and probably causing many other issues for other projects, open source or not.

So now that Telerik bought Fiddler, is there any chance of releasing FiddlerCore as a NuGet package? Telerik already publishes a lot of NuGet packages so it would make sense to publish FiddlerCore too.

Thanks,
Mauricio

Eric Lawrence
Telerik team
 answered on 12 Sep 2014
12 answers
430 views
The app that I am debugging is doing loads of PUT requests over (decrypted) HTTPS and sometimes is PUTting a file that is 4.45GB. Part way through the large PUT request Fiddler shows me this message:

---------------------------
Uncaught Exception in Session #36250
---------------------------
Sorry, the .NET Framework (and Fiddler) cannot handle streams larger than 2 Gigabytes.

Type: System.Exception
Source: Fiddler
   at Fiddler.PipeReadBuffer.Write(Byte[] buffer, Int32 offset, Int32 count)
   at Fiddler.ClientChatter.ReadRequest()
   at Fiddler.Session._executeObtainRequest()
   at Fiddler.Session.InnerExecute()
   at Fiddler.Session.Execute(Object objThreadState)

Fiddler v4.4.9.2 (x64 AMD64) [.NET 4.0.30319.18444 on Microsoft Windows NT 6.1.7601 Service Pack 1] 



Is there a way of working around this 2GB restriction?

Eric Lawrence
Telerik team
 answered on 11 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?