siege can help you accomplish that goal. It allows you to specify a time to run 
and it gives you some flexibility with scheduling requests.

Let's say you wanted to run approximately 12,000 hits in an hour. You could do 
something like this:

siege -c 250 -t1h -d 15 http://www.haha.com/whoohoo

http://www.joedog.org/index/siege-home

Cheers,
Jeff


________________________________________
From: Krish, Sailesh [[email protected]]
Sent: Tuesday, July 21, 2009 2:31 PM
To: '[email protected]'
Subject: [us...@httpd] Stress testing apache 2.2 with ab

Hi,

I would like to stress test an apache web server using ab. How do I get it to 
send a certain number of requests per hour? Do we need to use the –t option. 
The man page is not very clear. Basically Im trying to simulate ccurrent usage 
and see the behaviour when I add some more load.The current usage statistics on 
the web server are as below:

.

Avg

Max







Hits per Hour

7272

26925

Hits per Day

174532

323706

Files per Day

109310

202612

Pages per Day

123434

228832

Sites per Day

10

21

Visits per Day

507

969

KBytes per Day

22448481

42197378


Thanks for the help.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to