Hi all
I just know there are curl / lwp-request, lynx and elinks
Which command is good for http testing?
Thank you
On Mon, Dec 6, 2010 at 1:52 PM, adrian kok adriankok2000@yahoo.com.hk wrote:
Hi all
I just know there are curl / lwp-request, lynx and elinks
Which command is good for http testing?
I've had good luck with both curl and wget. There are other tools like smokeping and httping that ca test a site, but I've had great luck combining wget / curl with bash or perl. Here are two example scripts that might help you:
http://prefetch.net/code/content-check
http://prefetch.net/code/http-ping.pl
Hope that helps, - Ryan -- http://prefetch.net
On Mon, Dec 6, 2010 at 8:52 PM, adrian kok adriankok2000@yahoo.com.hk wrote:
Hi all
I just know there are curl / lwp-request, lynx and elinks
Which command is good for http testing?
Thank you
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
links lynx telnet wget etc
On Mon, 6 Dec 2010, Rudi Ahlers wrote:
On Mon, Dec 6, 2010 at 8:52 PM, adrian kok adriankok2000@yahoo.com.hk wrote:
Which command is good for http testing?
links lynx telnet wget etc
I like curl because it defaults to printing to standard output. (You can do it with wget too, of course, it's just not standard behavior.) The trick is that curl has just slightly fewer than 1,000 command-line options to learn. :-) My favorite is -I (--head), which tells curl to grab only the HTTP headers.
"elinks -dump 1 -dump-width 72 -no-references -no-numbering" can be immensely useful.
The wrapper scripts (GET, HEAD, POST) installed with the perl-libwww-perl package can be used both on their own and as nice examples of web programming with Perl.
On 12/6/10 12:52 PM, adrian kok wrote:
Hi all
I just know there are curl / lwp-request, lynx and elinks
Which command is good for http testing?
jmeter is pretty good for load testing if you don't mind running java. http://jakarta.apache.org/jmeter/
On 12/06/2010 10:52 AM, adrian kok wrote:
Hi all
I just know there are curl / lwp-request, lynx and elinks
Which command is good for http testing?
What kind of testing? Throughput? Testing the output of scripts? Broken link detection? You need to define what you mean by 'http testing'.
For simple 'how fast is my webserver' testing, 'ab' works ok and is part of the default Apache webserver install.