I am creating a small website for personal use to test the API that my company does. My boss wants the site on which we can enter the site to request a form using GET or POST, and the number of times to send a request. He wants the request to be registered, the time for the request and the average time for all requests.
Is there a way to measure the response time for a GET or POST request using Ruby?
I looked at the Net :: HTTP library, but did not see anything that returned time.
Are there any sites that already do this? They will need to have a graphical interface so non-technicians can use it. If not, I planned to have a simple form that runs the script, writes the output of this script to a text file or spreadsheet, and then sends it to the user.
Any other suggestions? (A good interface for working with AJAX may work well, but you probably need a database repository. With 10,000 requests per run, it might be enough.
Squadrons
source share