Re: TIMER_AFTER_URL_SLEEP question
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-02-16 16:06:52
|
Hi Pranav, On 2/16/08, Pranav Desai <pra...@gm...> wrote: > Hello All, > > I am working with version 0.44. I was curious about how the > TIMER_AFTER_URL_SLEEP option works. I have set it up fairly high > 20000, but I still seem to get like 70+ requests every 3 sec with just > one client. I was expecting it to have 1 request every 20 sec. I am > trying to control the load, so what am I missing here. Your intentions are clear. The syntax of your batch file should be corrected in the URL section: > ########### URL SECTION #################################### The below syntax is not supported. The below: > URL=http://172.16.55.200/MJOLNIRRAND/websites/cisco/www.cisco.com/ > URL=http://172.16.55.200/MJOLNIRRAND/websites/cisco/www.cisco.com/swa/c/home.css > URL=http://172.16.55.200/MJOLNIRRAND/websites/cnn/i.l.cnn.net/cnn/.element/img/2.0/weather/03/03.gif > URL=http://172.16.55.200/MJOLNIRRAND/websites/cnn/i.l.cnn.net/cnn/.element/img/2.0/weather/03/17.gif > Y can correct it to the following: URL=http://172.16.55.200/MJOLNIRRAND/websites/cisco/www.cisco.com/ URL_SHORT_NAME="url-main" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP =0 URL=http://172.16.55.200/MJOLNIRRAND/websites/cisco/www.cisco.com/swa/c/home.css URL_SHORT_NAME="url-css" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP =0 URL=http://172.16.55.200/MJOLNIRRAND/websites/cnn/i.l.cnn.net/cnn/.element/img/2.0/weather/03/03.gif URL_SHORT_NAME="url-03-gif" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP =0 URL=http://172.16.55.200/MJOLNIRRAND/websites/cnn/i.l.cnn.net/cnn/.element/img/2.0/weather/03/17.gif URL_SHORT_NAME="url-17-gif" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP =20000 So that you sleep, when fetched the whole page. Best wishes! Sincerely, Robert Iakobashvili "Light will come from Jerusalem" ........................................................... http://curl-loader.sourceforge.net An open-source web testing and traffic generation. |