TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:14777] web stress test utilities



Ben Lutgens wrote:
Scott, I would like that source please. It would be useful to test this
linux server, I could probably use it to test IIS too huh? Then I could show
them (The pres of my company) the difference.
 
It can test any server that will respond to an http "GET /" request.  I've included an example at the end of this email that runs 8 clients running for 15 seconds. There is a man page included, but it doesn't have all of the features documented. You'll have to cruise through the source to find everything it does. I wrote this to test a firewall that was in front of a web server. So it really wasn't written for public consumption. Send me some email if you have any questions or make any changes. And share the program with others.....

    -Scott Donoho
 

106 humu> tcptest -s 8 -t 15 localhost
tcptest version 1.0, Copyright(C) 1999 Scott Donoho
tcptest comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
Creating clients...
Starting clients...
Waiting on clients...
   1 Client(1923): 854 conn, 15.05 secs, 56.73 cps
   2 Client(1924): 699 conn, 15.01 secs, 46.56 cps
   3 Client(1925): 867 conn, 15.00 secs, 57.81 cps
   4 Client(1929): 723 conn, 15.01 secs, 48.18 cps
   5 Client(1930): 644 conn, 15.02 secs, 42.88 cps
   6 Client(1926): 1050 conn, 15.02 secs, 69.92 cps
   7 Client(1927): 1003 conn, 15.03 secs, 66.74 cps
   8 Client(1928): 719 conn, 15.04 secs, 47.81 cps
Totals:
        Connections: 6559
        Time: 00:00:15.04(15.04 seconds)
        Connect/Sec: 436.18

tcptest.tar.gz