Re: [curl-loader-devel] Curl Loader from a remote server
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2007-05-28 15:27:54
|
Hi Sunspot, On 5/28/07, sunspot sunspot <red...@ya...> wrote: > > > Guy's I need your help with regards in using curl remotely, if I'm using > it on the machine itself (localhost) I'm not encountering any problem, but > when I'm using it remotely, this is the error that I get ... > > 0 1 (192.168.1.1) !! ERROR: Connection time-out after 5108 ms > : eff-url: , url: > 0 2 (192.168.1.2) !! ERROR: Connection time-out after 5107 ms > : eff-url: , url: > 0 3 (192.168.1.3) !! ERROR: Connection time-out after 5106 ms > : eff-url: , url: > > and so on .... Here are the details of my configuration file. What I am not sure of is the > value that should be placed in IP_ADDR_MIN and IP_ADDR_MAX. > > [root@test curl]# more test.cfg > ########### GENERAL SECTION ################################ > BATCH_NAME= bulk_batch # The name of the batch. Logfile - bulk_batch.log > CLIENTS_NUM_MAX=300 # Max number of clients, same as CLIENTS_NUM > CLIENTS_NUM_START=100 # Number of clients to start with. > CLIENTS_INITIAL_INC=50 # Clients to be added each second till > CLIENTS_NUM_MAX > INTERFACE = eth0 # Name of the network interface from which to load > NETMASK=255.255.240.0 # Netmask either as an IPv4 dotted string or as a > CIDR number > IP_ADDR_MIN= 192.168.1.1 # Client addresses range starting address > IP_ADDR_MAX= 192.168.5.255 # Client addresses range last address > CYCLES_NUM= 10 # Number of loading cycles to run, -1 means forever > > ########### UAS SECTION #################################### > UAS=y # If 'y' or 'Y', login enabled, and other lines of the section to be > filled > UAS_URLS_NUM = 1 # Number of urls > UAS_URL=http://192.168.0.40:80/index.html > UAS_URL_MAX_TIME = 20 # Maximum batch time in seconds to fetch the url > UAS_URL_INTERLEAVE_TIME = 0 # Time in msec to sleep after fetching the url > > This is my first time to use curl loader remotely, kindly be detailed as > possible for that instructions that you will give me. > This means, that the connections cannot be established within 5 seconds (which is the default). Actually, it looks like, that you may have no route. One can use any addresses, providing, that you ensure a smooth route from client and from server for the addresses you use. Please, start with a single client and see that it works, than progress further. IP_ADDR_MIN and IP_ADDR_MAX. The addresses from the same network should be routable to 192.168.0.40<http://192.168.0.40/index.html>, e,g, 192.168.0.41 up to 192.168.1.255. When you are specifying any addresses here, they are added by curl-loader initialization to the network interface eth0 and may be seen by the command: #ip addr Command ping (man ping) has an option -I to force the ping to be issued from a certain ip-address. To test, that your routing is OK, you may use, e.g. #ping -I <the address you wish to use> 192.168.0.40<http://192.168.0.40/index.html> When it works - it will be OK. Y may also wish to read a bit into the linux routing/networking HOWTOS. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |