I have a simple rails app and it is sending http requests to a server which then displays the results in UI.
I just want to count the number of requests that I send and the request and response for each http request.
Is there any gem or utility to automatically collect tear requests or do I need to write custom code for that?
EDIT
I need to get the number of requests in my rails app so that future requests will be sent based on the count provided by the tools. So either the tool has to be integrated with my rails app or it needs to provide API access to get the count.
ruby
, but I would have thought that anything capable of.pcap
output, ought to be suitable..