Siege Load Tester

by Scott, Revised on January 3, 2013 (Web Development)

Siege command line switches:

-c25 (25 concurrent users)
 -t1m (test for 1 minute)
 -d5 (5 second delay between requests)
 -v (verbose)
 -f (file for commands, good for a series of commands or get and post parameters)

Example command:

siege -c100 -d5 -t1m -v http://the.site.to.test.com

Example file contents:

http://the.site.to.test.com/access/login POST data1=Howdy&data2=Biff
http://the.site.to.test.com/access/login?data1=Howdy&data2=Biff

Concurreny: transactions/elapsed time, how many users are simultaneously connected to a resource, a high concurrency means that responses are taking too long to complete (ie. hanging around too long)

Tags: Web Development