I am looking for a tool to test a website from a Linux command line.
From the output, I need to know the http response (status codes) but also benchmark the time it takes to download the different elements of the site.
Thank you in advance.
|
I am looking for a tool to test a website from a Linux command line. From the output, I need to know the http response (status codes) but also benchmark the time it takes to download the different elements of the site. Thank you in advance. |
|||
|
|
You can try
It will tell you how long it takes to download each element and the return codes for each request. |
|||
|
|
|
Please see Apache Benchmark: This should give you an overview of your page's performance. |
|||||||||
|
|
You may want to look at the following options of
And the following option of
|
|||
|
|
use curl to get the header for the page, and time the process
wrap that in a while loop and you're good to go, the same way you can check for all elements if you know the URL |
||||
|
|
|
If you are going to need something bigger then curl and/or wget, there is also selenium |
|||
|
|
|
Selenium and Curl are good options depending on what your goal is. Also, a utility that I've come to like quite a bit is It's nice as it has it's own little specialized language for filling out forms, validating links, and checking response codes. Since it's just Python code, you can easily import the libraries and automate your tests yourself if you'd like to do something different. |
|||
|
|
|
I think for running performance test you can try JMeter. You can record your test using the built in proxy. It also runs in text mode, local or distributed. You can save your results in csv or xml format. If using xml format you can also store the content of the page. |
|||
|
|