Telerik Forums
Fiddler Forum
0 answers
27 views
Code:
namespace ClassLibrary2
{
    public class Class1 : IAutoTamper, IFiddlerExtension
    {
        private UI ui;
        private bool bLoaded;
        ...
        public Class1() {
            
            bLoaded= false;
        }
        public void OnLoad()
        {
            this.ui = new UI();           
            this.bLoaded = true;


        }
        public void OnBeforeUnload()
        {  /*noop*/

        }

        public void AutoTamperRequestBefore(Session oSession)
        {  /*noop*/

            if (bLoaded && url.Contains(oSession.hostname)) {
              .....
            }

        }
        public void AutoTamperRequestAfter(Session oSession)
        {

        }
        public void AutoTamperResponseBefore(Session oSession)
        {          
             .....
        }
        public void AutoTamperResponseAfter(Session oSession)
        { /* noop */
            

        }
        public void OnBeforeReturningError(Session oSession) { /* noop */ }


    }
}

Error:
---------------------------
Uncaught Exception in Session #1
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report using the Help | Send Feedback menu.

未将对象引用设置到对象的实例。

Type: System.NullReferenceException
Source: ClassLibrary2
   在 ClassLibrary2.Class1.AutoTamperRequestBefore(Session oSession)

   在 Fiddler.FiddlerExtensions.DoAutoTamperRequestBefore(Session oSession)

   在 Fiddler.Session._executeObtainRequest()

   在 Fiddler.Session.RunStateMachine()

   在 Fiddler.Session.Execute(Object objThreadState)


Fiddler v4.6.2.2 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0] 
---------------------------
确定   
---------------------------

yang
Top achievements
Rank 1
 asked on 07 Jun 2016
0 answers
46 views

Code:

namespace ClassLibrary2
{
    public class Class1 : IAutoTamper, IFiddlerExtension
    {
        private UI ui;
        private bool bLoaded;
        ...
        public Class1() {
            
            bLoaded= false;
        }
        public void OnLoad()
        {
            this.ui = new UI();           
            this.bLoaded = true;


        }
        public void OnBeforeUnload()
        {  /*noop*/

        }

        public void AutoTamperRequestBefore(Session oSession)
        {  /*noop*/

            if (bLoaded && url.Contains(oSession.hostname)) {
              .....
            }

        }
        public void AutoTamperRequestAfter(Session oSession)
        {

        }
        public void AutoTamperResponseBefore(Session oSession)
        {          
             .....
        }
        public void AutoTamperResponseAfter(Session oSession)
        { /* noop */
            

        }
        public void OnBeforeReturningError(Session oSession) { /* noop */ }


    }
}

 

Error:

---------------------------
Uncaught Exception in Session #1
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report using the Help | Send Feedback menu.

未将对象引用设置到对象的实例。

Type: System.NullReferenceException
Source: ClassLibrary2
   在 ClassLibrary2.Class1.AutoTamperRequestBefore(Session oSession)

   在 Fiddler.FiddlerExtensions.DoAutoTamperRequestBefore(Session oSession)

   在 Fiddler.Session._executeObtainRequest()

   在 Fiddler.Session.RunStateMachine()

   在 Fiddler.Session.Execute(Object objThreadState)


Fiddler v4.6.2.2 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0] 
---------------------------
确定   
---------------------------

yang
Top achievements
Rank 1
 asked on 07 Jun 2016
0 answers
141 views

Code:

namespace ClassLibrary2
{
    public class Class1 : IAutoTamper, IFiddlerExtension
    {
        private UI ui;
        private bool bLoaded;
        ...
        public Class1() {
            
            bLoaded= false;
        }
        public void OnLoad()
        {
            this.ui = new UI();           
            this.bLoaded = true;


        }
        public void OnBeforeUnload()
        {  /*noop*/

        }

        public void AutoTamperRequestBefore(Session oSession)
        {  /*noop*/

            if (bLoaded && url.Contains(oSession.hostname)) {
              .....
            }

        }
        public void AutoTamperRequestAfter(Session oSession)
        {

        }
        public void AutoTamperResponseBefore(Session oSession)
        {          
             .....
        }
        public void AutoTamperResponseAfter(Session oSession)
        { /* noop */
            

        }
        public void OnBeforeReturningError(Session oSession) { /* noop */ }


    }
}

 

Error:

---------------------------
Uncaught Exception in Session #1
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report using the Help | Send Feedback menu.

未将对象引用设置到对象的实例。

Type: System.NullReferenceException
Source: ClassLibrary2
   在 ClassLibrary2.Class1.AutoTamperRequestBefore(Session oSession)

   在 Fiddler.FiddlerExtensions.DoAutoTamperRequestBefore(Session oSession)

   在 Fiddler.Session._executeObtainRequest()

   在 Fiddler.Session.RunStateMachine()

   在 Fiddler.Session.Execute(Object objThreadState)


Fiddler v4.6.2.2 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0] 
---------------------------
确定   
---------------------------

yang
Top achievements
Rank 1
 asked on 07 Jun 2016
1 answer
188 views
---------------------------
Awww, Fiddlesticks!
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
VersionCheckFailed: Server Response Code = 307
Type: System.IO.InvalidDataException
Source: Fiddler
   at Fiddler.Updater.GetLatestVersion(Boolean includeBetaVersions, Boolean isEmergencyCall)
   at Fiddler.Updater.EmergencyUpdateCheck(Object stateInfo)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Fiddler v4.6.2.3 (x86 x86) [.NET 4.0.30319.42000 on Microsoft Windows NT 6.1.7601 Service Pack 1]
---------------------------
OK  
---------------------------
Tsviatko Yovtchev
Telerik team
 answered on 02 Jun 2016
2 answers
728 views

I have just installed FIDDLER v4.6 (under C:\Program Files (x86)\Fiddler2.) When starting up it gives below message. Rather than add relevant permissions to that network path, I'd rather re-config so the path is on local drive. However, I can't find a relevant config under Preferences tab; is it configured within REGEDIT, i.e. to define startup and/or script paths ?? Thanks in anticipation. 

 

Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.
Access to the path '<network_path>\Fiddler2\Captures\Requests\' is denied.
Type: System.UnauthorizedAccessException
Source: mscorlib
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Fiddler.CONFIG.EnsureFoldersExist()

Fiddler v4.6.2.3 (x64 AMD64) [.NET 4.0.30319.34209 on Microsoft Windows NT 6.3.9600.0]

Gerard
Top achievements
Rank 1
 answered on 02 Jun 2016
1 answer
103 views

Hello,

When I open a URL in the browser (Internet Explorer), using FiddlerCore I can get all the raw HTTP requests/responses. However I would like to identify the time when a Web Page is completely loaded in the browser. Is it possible to do this? Is there any event which I can attach to?

Thanks

Shashank

Tsviatko Yovtchev
Telerik team
 answered on 01 Jun 2016
1 answer
316 views

So I'm on a server with no internet access (trying to debug an intranet application).

In Fiddler Options, OI have "Check for updates on startup" cleared, and "Offer upgrade to beta versions" cleared as well. Seconds after starting it, I get an exception:

---------------------------
Awww, Fiddlesticks!
---------------------------

Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

VersionCheckFailed: Server Response Code = 0
Type: System.IO.InvalidDataException
Source: Fiddler
   at Fiddler.Updater.GetLatestVersion(Boolean includeBetaVersions, Boolean isEmergencyCall)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Fiddler v4.6.2.3 (x64 AMD64) [.NET 4.0.30319.34209 on Microsoft Windows NT 6.2.9200.0] 
---------------------------
OK   
---------------------------

Shouldn't it, y'know, not be checking for updates when I explicitly told it not to? Application dies, game over...

Tsviatko Yovtchev
Telerik team
 answered on 31 May 2016
1 answer
87 views
I've noticed within the last couple of updates, my filter *accounts.google.com:443 (set to "Hide the following hosts") is still showing in Fiddler.  Thoughts?
Tsviatko Yovtchev
Telerik team
 answered on 31 May 2016
0 answers
103 views
Using Fiddler Core with C# Application, I want to achieve the following ::


If a request URL matches the word "upgrade1.zip" , then i want to AutoRespond it with another zip file (say upgrade2.zip) which is in local path of my computer.



For Example : 


If request matches "upgrade1.zip" as in ::


http://somedomain.com/path/upgrade1.zip


then i want to auto respond with "upgrade2.zip" which is in the path ::


C:\Users\Desktop\upgrade2.zip


Please help with the steps!!


Attached a screenshot of the Autorespond condition i want to achieve
varun
Top achievements
Rank 1
 asked on 23 May 2016
0 answers
90 views

After I remapped the host, the Fiddler give me a HTTP 504, who can tell me how to solve it,please

 

 

 

Shuai
Top achievements
Rank 1
 asked on 23 May 2016
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?