Best way to mimic the load we get normally.
Status: Alpha
Brought to you by:
coroberti
From: Greg P. <gr...@sl...> - 2009-06-08 18:46:14
|
Hi all, Wondering if anyone can give me some tips on the best way to mimic a load that we see around peak time. I'm trying to mimic the load we would see if we had 1000 users perusing a few pages on our site. I have a conf file with the following general section: BATCH_NAME= 1k-clients CLIENTS_NUM_MAX=1000 CLIENTS_NUM_START=5 CLIENTS_RAMPUP_INC=3 INTERFACE=eth2 NETMASK=32 IP_ADDR_MIN=192.168.1.189 IP_ADDR_MAX=192.168.1.189 IP_SHARED_NUM=1 CYCLES_NUM=-1 URLS_NUM=8 The urls are all configured like so: URL=http://mydomain.com/firstpage.html URL_SHORT_NAME="firstpage" REQUEST_TYPE=GET TIMER_URL_COMPLETION=0 TIMER_AFTER_URL_SLEEP=0-5000 ... ect ... And the command I'm running the test with is: ./curl-loader -f ./conf-examples/1k-clients.conf -v -u -t 2 So when I run the test sometimes it seems that it's sending the number of client requests to each url at the same time, which for 8 URL entries would equate to around 8000 requests per second once it hits the max. What I'm trying to do is show a load of 1000 user's on the site at the same time, clicking to a new page every few seconds. Am I doing it wrong? Also, is it more realistic if I use the -r switch? I appreciate any help or feedback on this. Regards, Gregory Patmore Systems Architect Slingo Inc. 411 Hackensack Ave., Hackensack, NJ 07601 (P) 201.489.6727 - (F) 201.489.6728 http://www.slingo.com <http://www.slingo.com/> |