Thread: How to enable 1000 http client downloading 1000 file at the same timein curl-loader
Status: Alpha
Brought to you by:
coroberti
From: Support <su...@ta...> - 2009-05-22 08:03:52
|
Dear Sir, I would like to use curlloader to simulate a scenario like 1000 http test clients download 1000 different files via http at the same time. I can define 1000 different URL in config file like URL=http://server_ip/fileN where N = 1 1000 However, if I use 1000 different URL in the config file, all clients download file1 at the same time; after file1 downloaded completely, all client download file2, and so on. How can I make all clients download different files at the same time. Please help. Thank you. Best Regards, Andy Ng |
From: 邵利铮 <sh...@ne...> - 2009-05-22 09:05:22
|
Hi, It is a good idear. However I think your requirement is is... as we know,curl-loader just a capability test tool. maybe,you could try to modify the codes of curl-loader. "for (i=0; i< CLIENTS_NUM_MAX; i++)" --> "for (i=0; i< URLS_NUM; i++)" maybe. Best Regards, Shaolzh From: Support To: cur...@li... Sent: Friday, May 22, 2009 3:49 PM Subject: How to enable 1000 http client downloading 1000 file at the sametimein curl-loader Dear Sir, I would like to use curlloader to simulate a scenario like “1000 http test clients download 1000 different files via http at the same time”. I can define 1000 different URL in config file like “URL=http://server_ip/fileN” where N = 1 … 1000 However, if I use 1000 different URL in the config file, all clients download file1 at the same time; after file1 downloaded completely, all client download file2, and so on. How can I make all clients download different files at the same time. Please help. Thank you. Best Regards, Andy Ng ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com ------------------------------------------------------------------------------ _______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --------------------------------------------------------------------------------------------------- |
From: Robert I. <cor...@gm...> - 2009-05-22 09:59:29
|
Dear Andy, On Fri, May 22, 2009 at 10:49 AM, Support <su...@ta...> wrote: > Dear Sir, > > I would like to use curlloader to simulate a scenario like “1000 http test > clients download 1000 different files via http at the same time”. > > I can define 1000 different URL in config file like “URL= > http://server_ip/fileN” where N = 1 … 1000 > > However, if I use 1000 different URL in the config file, all clients > download file1 at the same time; after file1 downloaded completely, all > client download file2, and so on. > > How can I make all clients download different files at the same time. > Please help. Thank you. > > Best Regards, > > Andy Ng > Please, mind to feel and post your PRF (Problem Reporting Form) What you need is to use a feature developed by Gary, namely, template URL. A good example is in file ./conf-examples/url-template-fr-file.conf and more details please learn in README. You need static tokens taken from file. Take care and have a good day! -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Robert I. <cor...@gm...> - 2009-05-22 10:27:44
|
Hi Andy On Fri, May 22, 2009 at 10:49 AM, Support <su...@ta...> wrote: > However, if I use 1000 different URL in the config file, all clients > download file1 at the same time; after file1 downloaded completely, all > client download file2, and so on. > > How can I make all clients download different files at the same time. > Please help. Thank you. > Note, that at the first cycle they are dowing it rather synchronously, but further each client can progresses independently. To enhance that you can use TIMER_AFTER_URL_SLEEP as a randon value, e.g. TIMER_AFTER_URL_SLEEP=0-5000 and keep TIMER_URL_COMPLETION at a rather large value. At at ceratin stage, let's say after several hundred cycles, the clients are supposed to work with your URLs in a rather random fashion. Take care. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |