domingo, 12 de marzo de 2017

Test a sitio web desde Linux y otras Herramientas

En diversas ocasiones es necesario verificar ciertos parámetros en el acceso a sitios web.

En tal sentido, se muestran algunas opciones para verificar tiempos de respuesta desde el cli(command line interface) de Linux.

WGET
usuario@hostname-de-tu-pc:~$ wget -p http://www.sitio_a_verificar.com


CURL
usuario@hostname-de-tu-pc:~$time curl -I http://www.google.com | grep HTTP

usuario@hostname-de-tu-pc:~$curl -Is http://www.google.com | head -1

usuario@hostname-de-tu-pc:~$curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null http://www.google.com




Herramienta de Google:

https://toolbox.googleapps.com/apps/dig/


App para Chrome:
Chrome Connectivity Diagnostics
https://chrome.google.com/webstore/detail/chrome-connectivity-diagn/eemlkeanncmjljgehlbplemhmdmalhdc?utm_source=chrome-app-launcher-info-dialog

Documentación Adicional


CURL:
https://curl.haxx.se/

Wget
https://www.gnu.org/software/wget/manual/


Httpie
https://httpie.org/


Twill
http://twill.idyll.org/


Se anexan en este link los códigos de respuesta:

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Sitio para verificar página web:

https://www.webpagetest.org/easy.php