how to save the full url in the session with fiddler script?

1 Answer 1019 Views
Fiddler Classic
kappa
Top achievements
Rank 1
kappa asked on 01 Oct 2022, 10:17 PM

For example:

In the session, Host is 'www.aaa.com', URL is '/bbb/ccc?ddd'

I want to save this www.aaa.com/bbb/ccc?ddd to a local txt file,  so I run to fiddler script/ onBeforeResponse part,  save oSession.fullUrl to a local file.

But what I get is 'www.aaa.com:443'. I wonder how to save what I need with script, now it seems to omit the URL part and add '443' instead.

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 03 Oct 2022, 09:31 AM

Hi Kappa,

 

 

The fullUrl retrieves the full URL, including the path/query

fullUrl
Retrieves the complete URI, including protocol/scheme, in the form http://www.host.com/filepath?query. Or sets the complete URI, adjusting the UriScheme and/or Host.

DECLARATION
[CodeDescription("Retrieves the complete URI, including protocol/scheme, in the form http://www.host.com/filepath?query.")]
public string fullUrl { get; set; }

In your case, you are probably just logging the HTTP CONNECT tunnel and not the HTTPS request. If you are not seeing any HTTPS requests being logged, that would probably indicate that you are not capturing HTTPS at all (most likely due to not having the Fiddler root certificate installed and trusted).

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

kappa
Top achievements
Rank 1
commented on 04 Oct 2022, 05:03 AM

Hi Nick,

Thank you for the reply. But Im sure the certificate is correctly installed and the HTTPS requests are captured.

In my case, for this session, If I open the INSPECT lable and switch to RAW label, I can see the exact URL I need(www.aaa.com/bbb/ccc?ddd) right after GET/POST. But fullUrl in the script won't save this Url.

Is there any other method in script I can use to save this url after GET/POST in RAW label?

For your information, this is a streaming flv link, the full url should be "www.aaa.com/stream.flv?bbb=ccc".

Tags
Fiddler Classic
Asked by
kappa
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or