Reputation: 2351
I want to capture an ajax http request w/ all of its headers/cookies/post params being sent to save it so I can scrape it later.
I can't find a good way of doing this with firefox or chrome. Firebug truncates long post paramters saying "... Firebug request size limit has been reached by Firebug. ... " in the middle of it, which doesn't help me.
Any suggestions?
Upvotes: 4
Views: 12535
Reputation: 1
Our network here uses a PAC script. So we had to check 'Use PAC Script' in Tools -> Fiddler Options -> Connections
Upvotes: -1
Reputation: 21
You can also use Http Analyzer from IEInspector, this is a similar tool as Fiddler
Upvotes: 2
Reputation: 325
Increase the limit in firebug, it's the extensions.firebug.netDisplayedPostBodyLimit property.
Upvotes: 8
Reputation: 16080
There is a Firefox plugin that I use called LiveHTTPHeaders. It captures everything you would need and isn't as low level as Wireshark or Fiddler. Very easy and quick to use, just enable, make the ajax request, and save the data for later.
Upvotes: 1
Reputation: 27833
You can use Fiddler. It captures all port 80 traffic between you and the server for later review. In it you can then look at all the headers, cookies, parameters, etc.. all in Raw or organized forms for each and every request (both normal and ajax calls).
It has proven to be invaluable to me in debugging my ajax heavy web app.
Upvotes: 3
Reputation: 6631
Try to use the HAR file format if you can. It is supported by tools such as Firebug (via NetExport) and HttpWatch.
Upvotes: 0
Reputation: 7116
I like to use HTTP Fox. A plugin for firefox that can capture all your requests. It will catch all requests even the ones that are not AJAX but it provides you the raw data for both the request and response.
Upvotes: 0
Reputation: 20134
you can use the jmeter proxy for the apache jmeter project
a tutorial can be found here (pdf file)
Upvotes: 0