Telerik Forums
Fiddler Forum
7 answers
270 views
Happy Friday!

I'm trying to use fiddler in the most automated way possible. I've set it up as a service, that works fine, I can see it running...etc. And I'm trying to get it to dump any data that it's collected to a _stored archive file. That also works. What ISNT working is one of two things, either the service has started (program running in the background) and it's not collecting against the user account i'm currently logged onto, or the program itself is not being shut down correctly to trigger the dump. at this moment, to stop the program I either need to kill the process in the task manager or stop the service.

Again, if I manually open fiddler and view the web, and close the program, it'll dump the info no problem. Does anyone have any ideas? this is to troubleshoot an issue some of my users are having that do not have the time to manually open fiddler when they start work, close it when the website crashes, and grab the dump for us to start sorting through.

any help is greatly appreciated!

Brice Jones
Brice
Top achievements
Rank 1
 answered on 13 Aug 2014
2 answers
111 views
Hi Everyone
I try fiddler with teleport pro 1.5.4 ,but fiddler can't capture the teleport traffic.Please tell me,What should I do?
ning
Top achievements
Rank 1
 answered on 12 Aug 2014
2 answers
704 views
Hi,
I'd like to save a complete raw response to a file with a little bit of extra debugging info added.
Looking at the demo app, its easy enough to get the FiddlerApplication_OnReadResponseBuffer and get the response data from that, but how can you correlate callback events to particular responses when a response is bigger than the 0x8000 buffer. In the past I have done this via netflows, but we don't seem to have access to server ip/port.

Any thoughts much appreciated.

Paul
Eric Lawrence
Telerik team
 answered on 08 Aug 2014
1 answer
148 views
Hello. There might be a potential problem with how Fiddler handles requests sent by CouchBaseClient constructor. Basically the observed behavior is that ctor hangs. See this SO discussion: http://stackoverflow.com/questions/21390152/couchbase-net-client-getting-stuck-in-the-constructor
Eric Lawrence
Telerik team
 answered on 05 Aug 2014
2 answers
203 views
Note: I have only ever used Fiddler on a desktop machine for debugging local HTTP / HTTPS calls.

One of my developers has been tasked with building a tunneling proxy / gateway to use on our guest network for the purposes of controlling outbound traffic (filtering on source / destination IP address, port number, etc.).  He insists that he is able to build on top of FiddlerCore and that FiddlerCore will handle all of the threading and events... basically acting as the engine of this proxy server.

Is this possible?  Can FiddlerCore be used in this way?  Do any sample projects exist to demonstrate this type of usage?
Eric Lawrence
Telerik team
 answered on 04 Aug 2014
2 answers
507 views
code working in fiddler,but not working in fiddlercore?


//init function
FiddlerApplication.BeforeResponse += onBeforeResponse;


//onBeforeResponse
private static void onBeforeResponse(Session oSession)
{
        if (oSession.url.IndexOf("/p_manager/")!=-1)
        {
                oSession.utilDecodeResponse();
                oSession.utilReplaceOnceInResponse("</body>", "<script>alert(1)</script></body>", false);
             //this code not working in fiddlercore,but this code in fiddler is working. i think maybe must append some code like
            //oSession["X-ResponseBody"] ,but i do not know how to do that.
            // i read fiddler's CustomRules.js but it not say how to do it.
           // i
           // recently ,in my hometown the google is no access. so i consult you again.
      
        }


Eric Lawrence
Telerik team
 answered on 04 Aug 2014
7 answers
682 views
must be a stupid question:

i have captured a set of web traffic, highlighted them and 'replay' and seems like the traffic is generated immediately and sent to the server. i need to run the traffic one line at a time (sequentially). the next line should only start after the response from the previous line is returned. how do i achieve that effect? 

Thanks in advance.
Eric Lawrence
Telerik team
 answered on 01 Aug 2014
2 answers
276 views

sorry ,i am chinese.English is very poor .

i see fiddler web debug have a function named "HOSTS",it in catalog "tools->HOSTS",

now i use fiddlercore,but i donot find the HOSTS function .

i found  a class named HostList,but I don't know how to use it.

i want   modify request host's ip address.

for example :
  private void onBeforeRequest(Fiddler.Session oSession)
        {
            //now oSession.host = "5158.s20.javaidc.com";ip is 118.26.135.190,i want modiyf to 127.0.0.1 ,but the request head remain the same

           // under code is not working, I don't know whether or not write code in beforeRequest or other place
           oSession.m_hostIP = "127.0.0.1";

          //under code is modefiy request head
          //oSession.host = "127.0.0.1";

            
        }



thank you make the fiddler software.  Help me to solve a lot of trouble.

poko
Top achievements
Rank 1
 answered on 01 Aug 2014
1 answer
368 views

Hi.
I have some problems.

I need to intercept encrypted message.
Content type of SOAP message with attachment is multipart/related. (application/soap+xml, application/octet-stream)
Character set of message of application/soap+xml is utf-8, but attachment with octet-stream is not encoded.
On fiddler, message is cracked like attached file (part of Raw tab message).

I need to save this message. (with attachment and MIME Header Message)
Can I save the raw message to file?
I think copy-paste will make a encoding problem.

Sorry for my weak English.
Thank you.


Eric Lawrence
Telerik team
 answered on 31 Jul 2014
1 answer
1.1K+ views
Hi,

I am trying to test a ASP.NET Webapi method using fiddler. I have a method which accepts XML in the form of a string parameter. I know its not a good design, but I am in the process of porting a legacy WCF implementation to Webapi and initially I have to keep the method signature as is and then eventually I can make it to follow a better design. Anyway, so here is my method signature.

[HttpPost]
public int CreatePGT([FromBody] string pgtXml, [FromUri] string transactionId)
{
     return 10; // Some processing happens and actual implementation returns an id
}

How can I compose a request using following URL http://localhost:62050/api/proposal/CreatePGT?transactionId=ttt and post the following xml string in request body
<?xml version="1.0" encoding="UTF-8" ?><PGT  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="pgt.xsd">
<title>Test Proposal</title></PGT> 


Eric Lawrence
Telerik team
 answered on 30 Jul 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?