regarding net work traffic

117 views
Skip to first unread message

Venkatesh Seerapu

unread,
Nov 9, 2013, 9:31:00 AM11/9/13
to fir...@googlegroups.com
hi
   "from my site after loading every page i send some requests to some other different third party sites.... know what my request is ..: i want to track whether one of those request is going well or not to some other third party site and with my required parameters and response status is ok or not"
   Can we do this? and how to do?

Jan Honza Odvarko

unread,
Nov 11, 2013, 6:23:03 AM11/11/13
to fir...@googlegroups.com
I don't know if you are using Firebug (the Firefox extension) or Firebug Lite (the bookmarklet)

In case of Firebug, just use the Net panel
http://www.softwareishard.com/blog/firebug/introduction-to-firebug-net-panel/

In case of Firebug Lite, you can monitor only XHRs in the Console panel.

Honza

Sebastian Zartner

unread,
Nov 13, 2013, 5:08:16 PM11/13/13
to fir...@googlegroups.com
For reference, the same question was asked at stackoverflow.

Sebastian

Venkatesh Seerapu

unread,
Nov 17, 2013, 2:30:02 PM11/17/13
to fir...@googlegroups.com
Thanks Jan Honza Odvarko ,
 
           But what i want is... how that firebug net panel gets that data , like request or response status & parameters and so on.. 
           Now i want to do that same thing using my own program that means capturing request/response details and statuses of my page... can we do that? if yes please suggest me any thing for doing...!

Venkatesh Seerapu

unread,
Nov 17, 2013, 2:31:20 PM11/17/13
to fir...@googlegroups.com
ya, that is also posted by me only.

Thank q Sebastian for looking into this.

Sebastian Zartner

unread,
Nov 17, 2013, 5:08:27 PM11/17/13
to fir...@googlegroups.com
Firebug gets its data through some APIs exposed by Firefox. A detailed description of it is available in our wiki:

https://getfirebug.com/wiki/index.php/Net_Panel_Architecture_Review

Mainly it uses two interfaces called nsIHttpActivityDistributor and nsIHttpActivityObserver. In order to use them, you'll have to write your own Firefox extension.
Though the question is, why is Firebug not enough for your purposes?

Sebastian

Venkatesh Seerapu

unread,
Nov 17, 2013, 11:13:59 PM11/17/13
to fir...@googlegroups.com
Thanks Sebastain,
 
           Firebug is not enough for me because what i want is... how that firebug net panel gets that data , like request or response status & parameters and so on.. 
           Now i want to do that same thing using my own program that means capturing request/response details and statuses from my page... can we do that? if yes please suggest me any thing for doing...!

           Simply i want to  automate that network tracking system! please give me a solution whether we can do it or not possible?

Sebastian Zartner

unread,
Nov 18, 2013, 1:46:41 AM11/18/13
to fir...@googlegroups.com
It seems you missed my answer on stackoverflow.
There's a nice blog post from Honza explaining how you can do that using Selenium and NetExport.

Sebastian

Venkatesh Seerapu

unread,
Nov 18, 2013, 5:22:55 AM11/18/13
to fir...@googlegroups.com
hi Sebastain,

 Using this Honza's blog i can store the net work traffic in a HAR file, ok. but how this HAR file is useful for me to track wether a request from my page with some parameters, to other third party site is going or not? 
 How to identify that url with in this file?
 if we can solve the above issue with this HAR file then also there is some other problems with this solutions: what's that is, if my test case runs among several pages then for each page we have to store one HAR file and also have to verify for that required url status.
Reply all
Reply to author
Forward
0 new messages