curl-loader-devel Mailing List for curl-loader - web application testing (Page 13)
Status: Alpha
Brought to you by:
coroberti
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(1) |
Mar
(7) |
Apr
(19) |
May
(25) |
Jun
(16) |
Jul
(59) |
Aug
(29) |
Sep
(18) |
Oct
(19) |
Nov
(7) |
Dec
(29) |
2008 |
Jan
(6) |
Feb
(18) |
Mar
(8) |
Apr
(27) |
May
(26) |
Jun
(5) |
Jul
(6) |
Aug
|
Sep
(9) |
Oct
(37) |
Nov
(61) |
Dec
(17) |
2009 |
Jan
(21) |
Feb
(25) |
Mar
(4) |
Apr
(2) |
May
(8) |
Jun
(15) |
Jul
(18) |
Aug
(23) |
Sep
(10) |
Oct
(16) |
Nov
(14) |
Dec
(22) |
2010 |
Jan
(23) |
Feb
(8) |
Mar
(18) |
Apr
(1) |
May
(34) |
Jun
(23) |
Jul
(11) |
Aug
(1) |
Sep
(13) |
Oct
(10) |
Nov
(2) |
Dec
(8) |
2011 |
Jan
|
Feb
(7) |
Mar
(24) |
Apr
(12) |
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(20) |
Nov
(7) |
Dec
(11) |
2012 |
Jan
(12) |
Feb
(5) |
Mar
(16) |
Apr
(3) |
May
|
Jun
(5) |
Jul
(12) |
Aug
(6) |
Sep
|
Oct
|
Nov
(8) |
Dec
|
2013 |
Jan
(1) |
Feb
(3) |
Mar
(5) |
Apr
(3) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(9) |
Oct
|
Nov
(8) |
Dec
(4) |
2014 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
(11) |
Dec
(5) |
2015 |
Jan
(1) |
Feb
|
Mar
(11) |
Apr
(3) |
May
(1) |
Jun
(1) |
Jul
(4) |
Aug
(1) |
Sep
(7) |
Oct
(4) |
Nov
(2) |
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Robert I. <cor...@gm...> - 2010-07-18 12:23:24
|
Hi Vincent, On Sun, Jul 18, 2010 at 2:44 PM, Vincent Blondel <vin...@ma...>wrote: > > Hello, > > I am working on a project to replace our current squid infrastructure by a > brand new bluecoat platform. > Great project! > > For this I developed a little script to automatically generate some > curl-loader configuration file. > I liked it. > > this is running pretty well, generating some thousands of urls simulating > thousands of users surfing on the net but I get a little error message that > continuously comes back. > > put_free_client - error: no room in free client client list. > mperform_hyper error: cannot free a client. > > I do not know what it is exactly and how I can solve it ? > > details of my env > ******************* > > Vmware Fusion 3.1.0 machine (Single Core/512Mb RAM) on Mac OSX 10.6.4 (Dual > Core/2048Mb RAM) > > debian:/var/tmp# uname -a > Linux debian 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 > GNU/Linux > > net.ipv4.tcp_tw_recycle=1 > net.ipv4.tcp_tw_reuse=1 > fs.file-max=102286 > net.core.rmem_max=8388608 > net.core.wmem_max=8388608 > net.core.rmem_default=65536 > net.core.wmem_default=65536 > net.ipv4.tcp_mem=8388608 8388608 8388608 > net.ipv4.tcp_rmem=4096 87380 8388608 > net.ipv4.tcp_wmem=4096 65536 8388608 > > debian:/var/tmp# ulimit -a > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > scheduling priority (-e) 0 > file size (blocks, -f) unlimited > pending signals (-i) 4096 > max locked memory (kbytes, -l) 32 > max memory size (kbytes, -m) unlimited > open files (-n) 19999 > pipe size (512 bytes, -p) 8 > POSIX message queues (bytes, -q) 819200 > real-time priority (-r) 0 > stack size (kbytes, -s) 8192 > cpu time (seconds, -t) unlimited > max user processes (-u) 4096 > virtual memory (kbytes, -v) unlimited > file locks (-x) unlimited > > my script > ********** > > wget \ > --cache=off \ > -U "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) > AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7" \ > --glob=off \ > --tries=3 \ > -x -p -H \ > -i urls 2>&1 | \ > awk -F'--' 'BEGIN{tmp=0}{if ($0 ~ /^--2010-.*-- http/ && $0 !~ /robots/) > {blank=gsub(/ /,""); if (tmp==2) tmp=0; tmp+=1 ; print length($0) " " tmp " > " $3}}' | sort -rn -k 1 | sort -n -k 2 | \ > awk 'BEGIN { > fetch=0 > gen=gen "########### GENERAL SECTION ##################\n" > gen=gen "BATCH_NAME=BlueCoat-ProxySG\n" > gen=gen "CLIENTS_NUM_START=10\n" > gen=gen "CLIENTS_RAMPUP_INC=10\n" > gen=gen "CLIENTS_NUM_MAX=8192\n" > gen=gen "REQ_RATE=800\n" > gen=gen "INTERFACE=eth0\n" > gen=gen "NETMASK=16\n" > gen=gen "IP_ADDR_MIN=10.99.0.2\n" > gen=gen "IP_ADDR_MAX=10.99.255.253\n" > gen=gen "USER_AGENT=\"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; > en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 > Safari/531.22.7\"\n" > gen=gen "CYCLES_NUM=-1" > print gen > }{ > url+=1 > urls=urls "URL=" $3 "\n" > if (fetch==100) fetch=0 ; fetch+=1 > urls=urls "URL_SHORT_NAME=\"" url "\"\n" > urls=urls "FETCH_PROBABILITY=" fetch "\n" > urls=urls "REQUEST_TYPE=GET\n" > urls=urls "HEADER=\"Accept: > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n" > urls=urls "HEADER=\"Accept-Language: en-us,en;q=0.5\"\n" > urls=urls "HEADER=\"Accept-Encoding: gzip,deflate\"\n" > urls=urls "HEADER=\"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\"\n" > urls=urls "HEADER=\"Keep-Alive: 115\"\n" > urls=urls "HEADER=\"Connection: keep-alive\"\n" > urls=urls "TIMER_URL_COMPLETION=3000\n" > urls=urls "TIMER_AFTER_URL_SLEEP=0-2000\n" > urls=urls "RANDOM_SEED=10\n\n" > } END { > print "URLS_NUM=" url "\n\n########### URLs SECTION > #######################\n\n" urls > }' 2>&1 | tee ProxySG.conf > > ls -l |egrep -v 'curl-loader' |awk '$0 ~ /^d/ {print "rm -rf " $8}' |sh > curl-loader -x 10.30.30.16:8080 -f ProxySG.conf > > > many thks for your help. > > Vincent > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > This bug may happen only if you've requested a fixed rate, gen=gen "REQ_RATE=800\n" and it happens here: /***************************************************************************** * Function name - put_free_client * * Description - Puts a client on the list of clients free to send * a fixed rate request * * Input - *cctx - pointer to the client context * Return Code/Output - On success 0, on error -1 ******************************************************************************/ int put_free_client (client_context* cctx) { batch_context *bctx = cctx->bctx; if (bctx->free_clients_count >= bctx->client_num_max) /* Debugging, should not happen :-) */ { fprintf (stderr,"%s - error: no room in free client client list.\n", __func__); return -1; } int free_client_no = cctx - bctx->cctx_array + 1; if (free_client_no < 0 || free_client_no > bctx->client_num_max) /* Debugging, should not happen :-) */ { fprintf (stderr,"%s - error: invalid free client number %d.\n", __func__, free_client_no); return -1; } if (bctx->free_clients[bctx->free_clients_count]) /* Debugging, should not happen :-) */ { fprintf (stderr, "%s - error: non-empty free client list entry at count %d.\n", __func__, bctx->free_clients_count); return -1; } bctx->free_clients[bctx->free_clients_count++] = free_client_no; return 0; } Val, could you look into how it might happen? Thanks! -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Vincent B. <vin...@ma...> - 2010-07-18 12:07:23
|
Hello, I am working on a project to replace our current squid infrastructure by a brand new bluecoat platform. For this I developed a little script to automatically generate some curl-loader configuration file. this is running pretty well, generating some thousands of urls simulating thousands of users surfing on the net but I get a little error message that continuously comes back. put_free_client - error: no room in free client client list. mperform_hyper error: cannot free a client. I do not know what it is exactly and how I can solve it ? details of my env ******************* Vmware Fusion 3.1.0 machine (Single Core/512Mb RAM) on Mac OSX 10.6.4 (Dual Core/2048Mb RAM) debian:/var/tmp# uname -a Linux debian 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 GNU/Linux net.ipv4.tcp_tw_recycle=1 net.ipv4.tcp_tw_reuse=1 fs.file-max=102286 net.core.rmem_max=8388608 net.core.wmem_max=8388608 net.core.rmem_default=65536 net.core.wmem_default=65536 net.ipv4.tcp_mem=8388608 8388608 8388608 net.ipv4.tcp_rmem=4096 87380 8388608 net.ipv4.tcp_wmem=4096 65536 8388608 debian:/var/tmp# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 4096 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 19999 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited my script ********** wget \ --cache=off \ -U "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7" \ --glob=off \ --tries=3 \ -x -p -H \ -i urls 2>&1 | \ awk -F'--' 'BEGIN{tmp=0}{if ($0 ~ /^--2010-.*-- http/ && $0 !~ /robots/) {blank=gsub(/ /,""); if (tmp==2) tmp=0; tmp+=1 ; print length($0) " " tmp " " $3}}' | sort -rn -k 1 | sort -n -k 2 | \ awk 'BEGIN { fetch=0 gen=gen "########### GENERAL SECTION ##################\n" gen=gen "BATCH_NAME=BlueCoat-ProxySG\n" gen=gen "CLIENTS_NUM_START=10\n" gen=gen "CLIENTS_RAMPUP_INC=10\n" gen=gen "CLIENTS_NUM_MAX=8192\n" gen=gen "REQ_RATE=800\n" gen=gen "INTERFACE=eth0\n" gen=gen "NETMASK=16\n" gen=gen "IP_ADDR_MIN=10.99.0.2\n" gen=gen "IP_ADDR_MAX=10.99.255.253\n" gen=gen "USER_AGENT=\"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7\"\n" gen=gen "CYCLES_NUM=-1" print gen }{ url+=1 urls=urls "URL=" $3 "\n" if (fetch==100) fetch=0 ; fetch+=1 urls=urls "URL_SHORT_NAME=\"" url "\"\n" urls=urls "FETCH_PROBABILITY=" fetch "\n" urls=urls "REQUEST_TYPE=GET\n" urls=urls "HEADER=\"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n" urls=urls "HEADER=\"Accept-Language: en-us,en;q=0.5\"\n" urls=urls "HEADER=\"Accept-Encoding: gzip,deflate\"\n" urls=urls "HEADER=\"Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\"\n" urls=urls "HEADER=\"Keep-Alive: 115\"\n" urls=urls "HEADER=\"Connection: keep-alive\"\n" urls=urls "TIMER_URL_COMPLETION=3000\n" urls=urls "TIMER_AFTER_URL_SLEEP=0-2000\n" urls=urls "RANDOM_SEED=10\n\n" } END { print "URLS_NUM=" url "\n\n########### URLs SECTION #######################\n\n" urls }' 2>&1 | tee ProxySG.conf ls -l |egrep -v 'curl-loader' |awk '$0 ~ /^d/ {print "rm -rf " $8}' |sh curl-loader -x 10.30.30.16:8080 -f ProxySG.conf many thks for your help. Vincent |
From: Robert I. <cor...@gm...> - 2010-07-01 13:13:33
|
Hi Kiran Kumar, On Wed, Jun 23, 2010 at 4:04 AM, kiran kumar <cnv...@gm...> wrote: > I started using curl-loader to test the performance of NTLM > Authencitation/HTTP-401 sequence of our HTTP-Server (based on apache). > The server authenticates every tcp session. I ran the program with > '-r' option so as not to reuse the tcp connection for subsequent > connections. > > But after initial authentication, curl-loader is re-using the > authenticated sessions for subsequent requests. I could not generate > traffic at required rate. Please find below the configuration file I'm > using. Packet Exchange is as follows. > > 1.Curl-loader sends Http Get request with NTLMSSP_NEGOTIATE payload. > 2.Server responds with NTLMSSP_CHALLENGE. > 3.Curl-loader responds with NTLMSSP_AUTH response. > 4.Post authentication server sends a HTTP-302 message, pointing to a > different URL for 'NTLM-SUCCESS' case. > 5.Curl-loader initiates new TCP session (S2) to fetch the new > effective URL. It did not terminate previous tcp session (S1) > immediately. > 6.Curl-Loader sends subsequent GET requests on S1 without sending > NTLM_NEGOTIATE payload. Even when server sends '401-Authentication' > required message, it does not terminate the session. > Can someone suggest if there is some thing wrong in my configuration > or If I'm missing anything. > curl-loader is using libcurl for HTTP. There is a libcurl limitation for NTLM. You can learn more about the limitations at curl-project. Your options are: 1. using another tool for NTLM; 2. fixing the issues in libcurl; > > > Best Regards, > Kiran > Best wishes, Robert > > > ########### GENERAL SECTION ################################ > BATCH_NAME= bulk > CLIENTS_NUM_MAX=100 # Same as CLIENTS_NUM > CLIENTS_NUM_START=10 > CLIENTS_RAMPUP_INC=10 > INTERFACE =eth0 > NETMASK=16 > IP_ADDR_MIN= 10.130.17.29 > IP_ADDR_MAX= 10.130.17.30 > IP_SHARED_NUM=2 > CYCLES_NUM= -1 > URLS_NUM= 1 > > ########### URL SECTION #################################### > > URL=http://10.130.18.131:8080/ntlm/authenticate.php? > ip=10.130.17.3&policy=1&url=10.130.16.131/ntlm/ntlmSuccess.php > > REQUEST_TYPE=GET > TIMER_URL_COMPLETION = 0 > TIMER_AFTER_URL_SLEEP = 0 > WEB_AUTH_METHOD = NTLM > WEB_AUTH_CREDENTIALS = "DomName\user:passwd" > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Gary F. <ga...@iF...> - 2010-06-25 13:10:37
|
If you email the source files, I'll take a look. No guarantees. Even if I can make the changes, I won't be able to test the result -- that would be up to you. Gary On Jun 25, 2010, at 2:24 AM, Peter Becker wrote: Many thanks Gary for your most helpful reply. I had read the section in the documentation on RESPONSE_TOKEN many times, and unfortunately it does not have the detail you provided here. As you point out, I need a feature which curl-loader cannot at present do. This is probably a common issue, as the security feature I encountered is part of a standard Django/Python framework. It is most disapointing that you don't have access to a system! Its probably a small change - just to look for a slightly different pattern: /name="x" value="y"/ instead of /x="y"/. Is there any way we can arrange to add this to the code? As per my first post, I found the section of code which applies, but getting to understand it all was a bit daunting: scan_response/keyval_scan/kv_scan/scan_for_key/bitap_search... If I email you the source, please could you outline the change(s) needed, and I can implement them? I am fluent in C, so you would just have to give a little assistance... (This is, of course, only applicable if the current developer team are not willing to assist with this!) Kind regards, Peter |
From: Peter B. <pwb...@ho...> - 2010-06-25 09:24:15
|
Many thanks Gary for your most helpful reply. I had read the section in the documentation on RESPONSE_TOKEN many times, and unfortunately it does not have the detail you provided here. As you point out, I need a feature which curl-loader cannot at present do. This is probably a common issue, as the security feature I encountered is part of a standard Django/Python framework. It is most disapointing that you don't have access to a system! Its probably a small change - just to look for a slightly different pattern: /name="x" value="y"/ instead of /x="y"/. Is there any way we can arrange to add this to the code? As per my first post, I found the section of code which applies, but getting to understand it all was a bit daunting: scan_response/keyval_scan/kv_scan/scan_for_key/bitap_search... If I email you the source, please could you outline the change(s) needed, and I can implement them? I am fluent in C, so you would just have to give a little assistance... (This is, of course, only applicable if the current developer team are not willing to assist with this!) Kind regards, Peter From: ga...@iF... Subject: Re: Hidden fields in forms Date: Wed, 23 Jun 2010 15:47:58 -0700 To: cur...@li... Peter, I was the one who added the RESPONSE_TOKEN function to curl_loader. I no longer have access to my original code, or to a system where I could work on the code, but I do occasionally look at this list, and I did find some of the documentation for RESPONSE_TOKEN that I contributed: RESPONSE_TOKEN - (Example: RESPONSE_TOKEN = user_id) There can be any number of RESPONSE_TOKENs in an URL or URL_TEMPLATE subsection. When curl-loader fetches the url, it will scan the server's response for all the response tokens. If found, curl-loader will save the "value" of each response token for use in constructing later URL_TEMPLATEs (see URL_TOKEN below). For instance, if we specify RESPONSE_TOKEN = user_id, and if the server response contains ... user_id=1234 ..., then we will save the name-value pair "user_id, 1234". Different clients may well receive different responses and save different values, thus constructing different urls from later templates. In more detail: names and values are either quoted strings or extended-alphanumeric strings that may contain the 8-bit characters A-Z, a-z, 0-9, @, underscore, and dot. When an url is fetched, the server's response will be scanned for tokens that match any of the url's RESPONSE_TOKENs. If a match is found, the next extended alphanumeric token, or quoted string, in the server response will be taken as the value. All such values will be saved on a per-client basis, and used to construct subsequent URL_TEMPLATEs for that client (see URL_TOKEN below). Notes: The order of the RESPONSE_TOKENs in the url subsection is immaterial. Matches and values are collected across response-packet boundaries. Once a value is collected from a particular server response, the scanning for that token stops, and subsequent occurrences of that token in the response will not trigger a new value collection. Finally, a RESPONSE_TOKEN with the same name as one in a previous url will replace any previously collected value for that name. Examples: RESPONSE_TOKEN = user_id would collect the intended value in the following server responses: ... user_id 1234 ... user_id = 1234 ... user_id="1234" ... user_id = "Jane Doe" ... user_id = ja...@fo... ... <user_id> 1234 </user_id>. (This mechanism would not work for ...name=user_id value=1234... and other more complex syntax.) Limitations: There is no support for wide characters, and no support for saving multiple values of the same name from different responses. As you can see from the last paragraph, the capability you want isn't there, and you would have to add it. Sorry. Gary Fitts On Jun 22, 2010, at 1:48 PM, Peter Becker wrote: CURL-LOADER VERSION: 0.51, Juanuart, 2010 HW DETAILS: CPU/S and memory are must: IRRELEVANT LINUX DISTRIBUTION and KERNEL (uname -r): IRRELEVANT GCC VERSION (gcc -v): IRRELEVANT COMPILATION AND MAKING OPTIONS (if defaults changed): IRRELEVANT COMMAND-LINE: IRRELEVANT CONFIGURATION-FILE (The most common source of problems): Place the file inline here: n/a, IRRELEVANT DOES THE PROBLEM AFFECT: COMPILATION? No LINKING? No EXECUTION? No OTHER (please specify)? Have you run $make cleanall prior to $make ? YES/IRRELEVANT DESCRIPTION: See below QUESTION/ SUGGESTION/ PATCH: I want to know if I can pick up the value of a hidden field as below, and post that back. <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is recorded as 'name', but (of course) I need to post back 123456789abcdef0123456. Date: Tue, 22 Jun 2010 18:47:42 +0300 Subject: Re: Hidden fields in forms From: cor...@gm... To: cur...@li... Hi Peter, The rules of the list: the PRF first. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... Hotmail: Powerful Free email with security by Microsoft. Get it now. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo_______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 |
From: Gary F. <ga...@iF...> - 2010-06-23 23:48:11
|
Peter, I was the one who added the RESPONSE_TOKEN function to curl_loader. I no longer have access to my original code, or to a system where I could work on the code, but I do occasionally look at this list, and I did find some of the documentation for RESPONSE_TOKEN that I contributed: > RESPONSE_TOKEN - (Example: RESPONSE_TOKEN = user_id) There can be any number of RESPONSE_TOKENs in an URL or URL_TEMPLATE subsection. When curl-loader fetches the url, it will scan the server's response for all the response tokens. If found, curl-loader will save the "value" of each response token for use in constructing later URL_TEMPLATEs (see URL_TOKEN below). For instance, if we specify RESPONSE_TOKEN = user_id, and if the server response contains ... user_id=1234 ..., then we will save the name-value pair "user_id, 1234". Different clients may well receive different responses and save different values, thus constructing different urls from later templates. > > In more detail: names and values are either quoted strings or extended-alphanumeric strings that may contain the 8-bit characters A-Z, a-z, 0-9, @, underscore, and dot. When an url is fetched, the server's response will be scanned for tokens that match any of the url's RESPONSE_TOKENs. If a match is found, the next extended alphanumeric token, or quoted string, in the server response will be taken as the value. All such values will be saved on a per-client basis, and used to construct subsequent URL_TEMPLATEs for that client (see URL_TOKEN below). > > Notes: The order of the RESPONSE_TOKENs in the url subsection is immaterial. Matches and values are collected across response-packet boundaries. Once a value is collected from a particular server response, the scanning for that token stops, and subsequent occurrences of that token in the response will not trigger a new value collection. Finally, a RESPONSE_TOKEN with the same name as one in a previous url will replace any previously collected value for that name. > > Examples: RESPONSE_TOKEN = user_id would collect the intended value in the following server responses: ... user_id 1234 ... user_id = 1234 ... user_id="1234" ... user_id = "Jane Doe" ... user_id = ja...@fo... ... <user_id> 1234 </user_id>. (This mechanism would not work for ...name=user_id value=1234... and other more complex syntax.) Limitations: There is no support for wide characters, and no support for saving multiple values of the same name from different responses. As you can see from the last paragraph, the capability you want isn't there, and you would have to add it. Sorry. Gary Fitts On Jun 22, 2010, at 1:48 PM, Peter Becker wrote: CURL-LOADER VERSION: 0.51, Juanuart, 2010 HW DETAILS: CPU/S and memory are must: IRRELEVANT LINUX DISTRIBUTION and KERNEL (uname -r): IRRELEVANT GCC VERSION (gcc -v): IRRELEVANT COMPILATION AND MAKING OPTIONS (if defaults changed): IRRELEVANT COMMAND-LINE: IRRELEVANT CONFIGURATION-FILE (The most common source of problems): Place the file inline here: n/a, IRRELEVANT DOES THE PROBLEM AFFECT: COMPILATION? No LINKING? No EXECUTION? No OTHER (please specify)? Have you run $make cleanall prior to $make ? YES/IRRELEVANT DESCRIPTION: See below QUESTION/ SUGGESTION/ PATCH: I want to know if I can pick up the value of a hidden field as below, and post that back. <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is recorded as 'name', but (of course) I need to post back 123456789abcdef0123456. Date: Tue, 22 Jun 2010 18:47:42 +0300 Subject: Re: Hidden fields in forms From: cor...@gm... To: cur...@li... Hi Peter, The rules of the list: the PRF first. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... Hotmail: Powerful Free email with security by Microsoft. Get it now. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo_______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel |
From: kiran k. <cnv...@gm...> - 2010-06-23 01:04:59
|
I started using curl-loader to test the performance of NTLM Authencitation/HTTP-401 sequence of our HTTP-Server (based on apache). The server authenticates every tcp session. I ran the program with '-r' option so as not to reuse the tcp connection for subsequent connections. But after initial authentication, curl-loader is re-using the authenticated sessions for subsequent requests. I could not generate traffic at required rate. Please find below the configuration file I'm using. Packet Exchange is as follows. 1.Curl-loader sends Http Get request with NTLMSSP_NEGOTIATE payload. 2.Server responds with NTLMSSP_CHALLENGE. 3.Curl-loader responds with NTLMSSP_AUTH response. 4.Post authentication server sends a HTTP-302 message, pointing to a different URL for 'NTLM-SUCCESS' case. 5.Curl-loader initiates new TCP session (S2) to fetch the new effective URL. It did not terminate previous tcp session (S1) immediately. 6.Curl-Loader sends subsequent GET requests on S1 without sending NTLM_NEGOTIATE payload. Even when server sends '401-Authentication' required message, it does not terminate the session. Can someone suggest if there is some thing wrong in my configuration or If I'm missing anything. Best Regards, Kiran ########### GENERAL SECTION ################################ BATCH_NAME= bulk CLIENTS_NUM_MAX=100 # Same as CLIENTS_NUM CLIENTS_NUM_START=10 CLIENTS_RAMPUP_INC=10 INTERFACE =eth0 NETMASK=16 IP_ADDR_MIN= 10.130.17.29 IP_ADDR_MAX= 10.130.17.30 IP_SHARED_NUM=2 CYCLES_NUM= -1 URLS_NUM= 1 ########### URL SECTION #################################### URL=http://10.130.18.131:8080/ntlm/authenticate.php? ip=10.130.17.3&policy=1&url=10.130.16.131/ntlm/ntlmSuccess.php REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 WEB_AUTH_METHOD = NTLM WEB_AUTH_CREDENTIALS = "DomName\user:passwd" |
From: Peter B. <pwb...@ho...> - 2010-06-22 20:48:18
|
CURL-LOADER VERSION: 0.51, Juanuart, 2010 HW DETAILS: CPU/S and memory are must: IRRELEVANT LINUX DISTRIBUTION and KERNEL (uname -r): IRRELEVANT GCC VERSION (gcc -v): IRRELEVANT COMPILATION AND MAKING OPTIONS (if defaults changed): IRRELEVANT COMMAND-LINE: IRRELEVANT CONFIGURATION-FILE (The most common source of problems): Place the file inline here: n/a, IRRELEVANT DOES THE PROBLEM AFFECT: COMPILATION? No LINKING? No EXECUTION? No OTHER (please specify)? Have you run $make cleanall prior to $make ? YES/IRRELEVANT DESCRIPTION: See below QUESTION/ SUGGESTION/ PATCH: I want to know if I can pick up the value of a hidden field as below, and post that back. <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is recorded as 'name', but (of course) I need to post back 123456789abcdef0123456. Date: Tue, 22 Jun 2010 18:47:42 +0300 Subject: Re: Hidden fields in forms From: cor...@gm... To: cur...@li... Hi Peter, The rules of the list: the PRF first. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969 |
From: Robert I. <cor...@gm...> - 2010-06-22 15:47:51
|
Hi Peter, On Tue, Jun 22, 2010 at 6:34 PM, Peter Becker <pwb...@ho...> wrote: > Hello again Robert. Thank you for your response. > > It would be most useful if you could give specific references, for example > a section number in the FAQ, or the name of the TAG I should be looking at, > or _anything_ specific that would help me find what I need. As I mentioned, > I have read all the documents you refer to, and have not yet found it. > Googling curl-loader "post after get" returns no hits. > > Kind regards, > Peter > > The rules of the list: the PRF first. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Peter B. <pwb...@ho...> - 2010-06-22 15:34:55
|
Hello again Robert. Thank you for your response. It would be most useful if you could give specific references, for example a section number in the FAQ, or the name of the TAG I should be looking at, or _anything_ specific that would help me find what I need. As I mentioned, I have read all the documents you refer to, and have not yet found it. Googling curl-loader "post after get" returns no hits. Kind regards, Peter Date: Wed, 16 Jun 2010 23:32:52 +0300 Subject: Re: Hidden fields in forms From: cor...@gm... To: cur...@li... Hi Peter, On Wed, Jun 16, 2010 at 11:29 PM, Robert Iakobashvili <cor...@gm...> wrote: Hi Peter, I want to know if I can pick up the value of a hidden field as below, and post that back. <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is recorded as 'name', but (of course) I need to post back 123456789abcdef0123456. This is explained in docs/FAQs within curl-loader bundle, in man page of curl-loader-config and examples are in conf-examples. Look how to POST after GET. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 |
From: Robert I. <cor...@gm...> - 2010-06-16 20:33:00
|
Hi Peter, On Wed, Jun 16, 2010 at 11:29 PM, Robert Iakobashvili <cor...@gm...>wrote: > Hi Peter, > >> >> I want to know if I can pick up the value of a hidden field as below, and >> post that back. >> >> <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' >> /> >> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is >> recorded as 'name', but (of course) I need to post back >> 123456789abcdef0123456. >> > > > This is explained in docs/FAQs within curl-loader bundle, in man page of > curl-loader-config > and examples are in conf-examples. > > Look how to POST after GET. > >> -- >> Truly, >> Robert Iakobashvili, Ph.D. >> ...................................................................... >> www.ghotit.com >> Assistive technology that understands you >> ...................................................................... >> > |
From: Robert I. <cor...@gm...> - 2010-06-16 20:29:08
|
Hi Peter, On Wed, Jun 16, 2010 at 11:05 PM, Peter Becker <pwb...@ho...> wrote: > Thank you Robert. I have read all the documentation several times, and > find no reference to this issue. > I do not have a problem compiling, running etc, so the details requested on > the PRF are truly irrelevant. My question is about functionality, as > described. > This is a common mistake. > > I want to know if I can pick up the value of a hidden field as below, and > post that back. > > <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' > /> > When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is > recorded as 'name', but (of course) I need to post back > 123456789abcdef0123456. > This is explained in docs/FAQs within curl-loader bundle, in man page of curl-loader-config and examples are in conf-examples. > > Kind regards, > Peter > ------------------------------ > Date: Wed, 16 Jun 2010 21:33:41 +0300 > Subject: Re: Hidden fields in forms > From: cor...@gm... > To: cur...@li... > > Hi Peter, > > On Wed, Jun 16, 2010 at 11:42 AM, Peter Becker <pwb...@ho...>wrote: > > I have just started to use curl-loader and its looking great! > > But I have hit a problem with securit > > The site uses a hidden field which has a randomly generated value, like this: > > <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> > > Please, provide your filled PRF (PROBLEM-REPORTING Form) > > > I need to post this back when POSTing the form. Is this possible with > curl-loader? > If not, are there plans to implement it? It seems that scan_for_key and > scan_for_value would need to be changed... > > > > Look in the examples and read the FAQs. > There are a couple of ways to make POSTING, including taking params from a > file. > > > > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now.<https://signup.live.com/signup.aspx?id=60969> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > ------------------------------ > Hotmail: Free, trusted and rich email service. Get it now.<https://signup.live.com/signup.aspx?id=60969> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Peter B. <pwb...@ho...> - 2010-06-16 20:05:10
|
Thank you Robert. I have read all the documentation several times, and find no reference to this issue. I do not have a problem compiling, running etc, so the details requested on the PRF are truly irrelevant. My question is about functionality, as described. I want to know if I can pick up the value of a hidden field as below, and post that back. <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> When I try to use RESPONSE_TOKEN=securitytoken, the value of this token is recorded as 'name', but (of course) I need to post back 123456789abcdef0123456. Kind regards, Peter Date: Wed, 16 Jun 2010 21:33:41 +0300 Subject: Re: Hidden fields in forms From: cor...@gm... To: cur...@li... Hi Peter, On Wed, Jun 16, 2010 at 11:42 AM, Peter Becker <pwb...@ho...> wrote: I have just started to use curl-loader and its looking great!But I have hit a problem with securit The site uses a hidden field which has a randomly generated value, like this:<input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> Please, provide your filled PRF (PROBLEM-REPORTING Form) I need to post this back when POSTing the form. Is this possible with curl-loader? If not, are there plans to implement it? It seems that scan_for_key and scan_for_value would need to be changed... Look in the examples and read the FAQs. There are a couple of ways to make POSTING, including taking params from a file. Hotmail: Powerful Free email with security by Microsoft. Get it now. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ curl-loader-devel mailing list cur...@li... https://lists.sourceforge.net/lists/listinfo/curl-loader-devel -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 |
From: Robert I. <cor...@gm...> - 2010-06-16 18:33:53
|
Hi Peter, On Wed, Jun 16, 2010 at 11:42 AM, Peter Becker <pwb...@ho...> wrote: > I have just started to use curl-loader and its looking great! > > But I have hit a problem with security. > > The site uses a hidden field which has a randomly generated value, like this: > > <input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> > > Please, provide your filled PRF (PROBLEM-REPORTING Form) > I need to post this back when POSTing the form. Is this possible with > curl-loader? > If not, are there plans to implement it? It seems that scan_for_key and > scan_for_value would need to be changed... > Look in the examples and read the FAQs. There are a couple of ways to make POSTING, including taking params from a file. > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now.<https://signup.live.com/signup.aspx?id=60969> > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Peter B. <pwb...@ho...> - 2010-06-16 08:42:57
|
I have just started to use curl-loader and its looking great!But I have hit a problem with security.The site uses a hidden field which has a randomly generated value, like this:<input type='hidden' id='securitytoken' name='securitytoken' value='123456789abcdef0123456' /> I need to post this back when POSTing the form. Is this possible with curl-loader? If not, are there plans to implement it? It seems that scan_for_key and scan_for_value would need to be changed... _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969 |
From: Peter B. <pwb...@ho...> - 2010-06-16 08:25:29
|
I have just started to use curl-loader and its looking great!I have hit a problem with security. The site uses a hidden field which has a randomly generated value, like this:<input type='hidden' id='csrfmiddlewaretoken' name='csrfmiddlewaretoken' value='60d74dd4115ee9e876d6a5f258a1ee9b' /> _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 |
From: Peter B. <pwb...@ho...> - 2010-06-16 08:25:05
|
I have just started to use curl-loader and its looking great!I have hit a problem with security. The site uses a hidden field which has a randomly generated value, like this:<input type='hidden' id='csrfmiddlewaretoken' name='csrfmiddlewaretoken' value='60d74dd4115ee9e876d6a5f258a1ee9b' /> _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 |
From: Robert I. <cor...@gm...> - 2010-06-14 14:14:10
|
David, On Mon, Jun 14, 2010 at 4:55 PM, David Stout <dav...@ca...>wrote: > The network is not a problem. There are 8 web servers . It is a Virtual > Machine, but we know what virtual machines are capable of and this should be > fine. However …. > I'd not be so confident about it. > > This is only generating 2000 connections. I’d like to run 3 threads of 2000 > connections each to test 6000 connections against the webservers. > > > > Now the question is how do I run multiple threads. The FAQ is not very > helpful. > > > > 1. Compile with optimization – Done > > 2. Login as SU – Done > > 3. Change default file descriptors – Done > > 4. Relax routing checks – Can’t do as I’m using eth2 > Yes, you can. > 5. Increase memory available for kernel tcp – Done > > 6. Create configuration files for each instance of curl-loader to > run – How ? What file names are required ? what do the files need to contain > ? > You are welcome to provide patches for the FAQs, etc. Y can create N config files with the same content, but different batch-name, if all the conf files are residing in the same directory > > > From the FAQ. > > > > “What is important is to give a unique value for tag BATCH_NAME, which is > in use by a separate instance of curl-loader. Logfile, report file, etc have > name, which are the derivatives of the BATCH_NAME value. Therefore, when > several instances of curl-loader are writing to the same file, this is not > helpful and may be even "crashful". Please, use in your configuration batch > files non-overlapping ranges of IP-addresses, else libcurl virtual clients > will compete for the IP-addresses to bind to.” > > > > This is not a very clear instruction on how to create the correct files and > this is why I am posting to this list. I have three files ... bulk0 bulk1 > and bulk2 ... one for each thread , but I get an error when I run > ./curl-loader –f bulk0 –t 3 > You are mixing up two different concepts. If you have a batch and you are willing to spread it through N CPUs, use -t N or -t N*2 yet another option is to run independently two parallel loads. Since each load is writing log files be careful about not giving the same names. Sorry, but since you are not posting the PRF, cannot help you any more. . -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: David S. <dav...@ca...> - 2010-06-14 13:55:51
|
The network is not a problem. There are 8 web servers being served by a loadbalancer and I'm testing against those. Our company is very experienced in webhosting and the tests I am doing are on a second datacenter which has no customer traffic on it yet. The issue is that I have 3 CPU's in the machine doing the testing. It is a Virtual Machine, but we know what virtual machines are capable of and this should be fine. However .... Here is a top output from the loading computer. top - 14:17:48 up 2:02, 3 users, load average: 1.10, 0.73, 1.09 Tasks: 104 total, 3 running, 101 sleeping, 0 stopped, 0 zombie Cpu0 : 22.4%us, 57.5%sy, 0.0%ni, 9.7%id, 0.0%wa, 0.0%hi, 10.4%si, 0.0%st Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : 0.0%us, 0.0%sy, 0.0%ni, 24.5%id, 0.0%wa, 0.8%hi, 74.7%si, 0.0%st Mem: 5961168k total, 880472k used, 5080696k free, 46880k buffers Swap: 786424k total, 0k used, 786424k free, 381628k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4088 root 25 0 207m 171m 1472 R 89.7 3.0 4:02.90 curl-loader 7 root 34 19 0 0 0 S 26.9 0.0 28:05.57 ksoftirqd/2 8 root 10 -5 0 0 0 S 0.3 0.0 0:05.23 events/0 1 root 15 0 10348 764 636 S 0.0 0.0 0:01.52 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.10 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.62 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.04 migration/1 5 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/1 6 root RT -5 0 0 0 S 0.0 0.0 0:02.66 migration/2 9 root 10 -5 0 0 0 S 0.0 0.0 0:00.18 events/1 10 root 10 -5 0 0 0 S 0.0 0.0 0:05.92 events/2 11 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper This is only generating 2000 connections. I'd like to run 3 threads of 2000 connections each to test 6000 connections against the webservers. Now the question is how do I run multiple threads. The FAQ is not very helpful. 1. Compile with optimization - Done 2. Login as SU - Done 3. Change default file descriptors - Done 4. Relax routing checks - Can't do as I'm using eth2 5. Increase memory available for kernel tcp - Done 6. Create configuration files for each instance of curl-loader to run - How ? What file names are required ? what do the files need to contain ? >From the FAQ. "What is important is to give a unique value for tag BATCH_NAME, which is in use by a separate instance of curl-loader. Logfile, report file, etc have name, which are the derivatives of the BATCH_NAME value. Therefore, when several instances of curl-loader are writing to the same file, this is not helpful and may be even "crashful". Please, use in your configuration batch files non-overlapping ranges of IP-addresses, else libcurl virtual clients will compete for the IP-addresses to bind to." This is not a very clear instruction on how to create the correct files and this is why I am posting to this list. I have three files ... bulk0 bulk1 and bulk2 ... one for each thread , but I get an error when I run ./curl-loader -f bulk0 -t 3 Contents of bulk0 file ########### GENERAL SECTION ################################ BATCH_NAME= bulk0 CLIENTS_NUM_MAX=2000 # Same as CLIENTS_NUM CLIENTS_NUM_START=100 CLIENTS_RAMPUP_INC=10 INTERFACE=eth1 NETMASK=24 IP_ADDR_MIN= 172.16.50.50 IP_ADDR_MAX= 172.16.50.100 IP_SHARED_NUM=50 CYCLES_NUM= -1 URLS_NUM= 28 ########### URL SECTION #################################### URL=http://195.3.186.10/img/IMG_0002.jpg URL_SHORT_NAME="test-img0002" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0003.jpg URL_SHORT_NAME="test-img0003" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0004.jpg URL_SHORT_NAME="test-img0004" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0006.jpg URL_SHORT_NAME="test-img0006" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0007.jpg URL_SHORT_NAME="test-img0007" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0010.jpg URL_SHORT_NAME="test-img0010" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0013.jpg URL_SHORT_NAME="test-img0013" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0016.jpg URL_SHORT_NAME="test-img0016" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0024.jpg URL_SHORT_NAME="test-img0024" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0025.jpg URL_SHORT_NAME="test-img0025" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0026.jpg URL_SHORT_NAME="test-img0026" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0029.jpg URL_SHORT_NAME="test-img0029" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0030.jpg URL_SHORT_NAME="test-img0030" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0031.jpg URL_SHORT_NAME="test-img0031" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0032.jpg URL_SHORT_NAME="test-img0032" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0033.jpg URL_SHORT_NAME="test-img0033" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0034.jpg URL_SHORT_NAME="test-img0034" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0035.jpg URL_SHORT_NAME="test-img0035" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0036.jpg URL_SHORT_NAME="test-img0036" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0037.jpg URL_SHORT_NAME="test-img0037" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0038.jpg URL_SHORT_NAME="test-img0038" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0039.jpg URL_SHORT_NAME="test-img0039" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0040.jpg URL_SHORT_NAME="test-img0040" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0041.jpg URL_SHORT_NAME="test-img0041" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0042.jpg URL_SHORT_NAME="test-img0042" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0043.jpg URL_SHORT_NAME="test-img0043" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0044.jpg URL_SHORT_NAME="test-img0044" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/test-html-page.html URL_SHORT_NAME="test-page" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 Contents of bulk1 file ########### GENERAL SECTION ################################ BATCH_NAME= bulk1 CLIENTS_NUM_MAX=2000 # Same as CLIENTS_NUM CLIENTS_NUM_START=100 CLIENTS_RAMPUP_INC=10 INTERFACE=eth1 NETMASK=24 IP_ADDR_MIN= 172.16.50.101 IP_ADDR_MAX= 172.16.50.150 IP_SHARED_NUM=50 CYCLES_NUM= -1 URLS_NUM= 28 ########### URL SECTION #################################### URL=http://195.3.186.10/img/IMG_0002.jpg URL_SHORT_NAME="test-img0002" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0003.jpg URL_SHORT_NAME="test-img0003" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0004.jpg URL_SHORT_NAME="test-img0004" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0006.jpg URL_SHORT_NAME="test-img0006" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0007.jpg URL_SHORT_NAME="test-img0007" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0010.jpg URL_SHORT_NAME="test-img0010" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0013.jpg URL_SHORT_NAME="test-img0013" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0016.jpg URL_SHORT_NAME="test-img0016" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0024.jpg URL_SHORT_NAME="test-img0024" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0025.jpg URL_SHORT_NAME="test-img0025" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0026.jpg URL_SHORT_NAME="test-img0026" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0029.jpg URL_SHORT_NAME="test-img0029" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0030.jpg URL_SHORT_NAME="test-img0030" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0031.jpg URL_SHORT_NAME="test-img0031" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0032.jpg URL_SHORT_NAME="test-img0032" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0033.jpg URL_SHORT_NAME="test-img0033" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0034.jpg URL_SHORT_NAME="test-img0034" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0035.jpg URL_SHORT_NAME="test-img0035" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0036.jpg URL_SHORT_NAME="test-img0036" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0037.jpg URL_SHORT_NAME="test-img0037" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0038.jpg URL_SHORT_NAME="test-img0038" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0039.jpg URL_SHORT_NAME="test-img0039" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0040.jpg URL_SHORT_NAME="test-img0040" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0041.jpg URL_SHORT_NAME="test-img0041" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0042.jpg URL_SHORT_NAME="test-img0042" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0043.jpg URL_SHORT_NAME="test-img0043" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0044.jpg URL_SHORT_NAME="test-img0044" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/test-html-page.html URL_SHORT_NAME="test-page" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 Contents of bulk2 file ########### GENERAL SECTION ################################ BATCH_NAME= bulk2 CLIENTS_NUM_MAX=2000 # Same as CLIENTS_NUM CLIENTS_NUM_START=100 CLIENTS_RAMPUP_INC=10 INTERFACE=eth1 NETMASK=24 IP_ADDR_MIN= 172.16.50.151 IP_ADDR_MAX= 172.16.50.200 IP_SHARED_NUM=50 CYCLES_NUM= -1 URLS_NUM= 28 ########### URL SECTION #################################### URL=http://195.3.186.10/img/IMG_0002.jpg URL_SHORT_NAME="test-img0002" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0003.jpg URL_SHORT_NAME="test-img0003" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0004.jpg URL_SHORT_NAME="test-img0004" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0006.jpg URL_SHORT_NAME="test-img0006" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0007.jpg URL_SHORT_NAME="test-img0007" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0010.jpg URL_SHORT_NAME="test-img0010" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0013.jpg URL_SHORT_NAME="test-img0013" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0016.jpg URL_SHORT_NAME="test-img0016" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0024.jpg URL_SHORT_NAME="test-img0024" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0025.jpg URL_SHORT_NAME="test-img0025" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0026.jpg URL_SHORT_NAME="test-img0026" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0029.jpg URL_SHORT_NAME="test-img0029" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0030.jpg URL_SHORT_NAME="test-img0030" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0031.jpg URL_SHORT_NAME="test-img0031" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0032.jpg URL_SHORT_NAME="test-img0032" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0033.jpg URL_SHORT_NAME="test-img0033" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0034.jpg URL_SHORT_NAME="test-img0034" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0035.jpg URL_SHORT_NAME="test-img0035" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0036.jpg URL_SHORT_NAME="test-img0036" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0037.jpg URL_SHORT_NAME="test-img0037" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0038.jpg URL_SHORT_NAME="test-img0038" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0039.jpg URL_SHORT_NAME="test-img0039" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0040.jpg URL_SHORT_NAME="test-img0040" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0041.jpg URL_SHORT_NAME="test-img0041" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0042.jpg URL_SHORT_NAME="test-img0042" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0043.jpg URL_SHORT_NAME="test-img0043" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/img/IMG_0044.jpg URL_SHORT_NAME="test-img0044" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 URL=http://195.3.186.10/test-html-page.html URL_SHORT_NAME="test-page" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 TIMER_AFTER_URL_SLEEP = 0 Does that help ? David Stout Carrenza Ltd 4th Floor 118 Commercial Street London, E1 6NF dav...@ca... www.carrenza.com<http://www.carrenza.com/> T: +44 (0) 845 337 0827 F: +44 (0) 20 7539 1965 M: +44 (0) 7824 361076 Registered in England No. 4189775 For Customers' emergency - out of hours and 24/7 support - please call 0845 337 0826. ------------------------------------------------------------------------ Confidentiality Notice This communication is strictly confidential. If you are not the intended recipient, you must not copy, distribute or take any action in reliance of it and destroy this email. Please immediately notify the sender or contact Carrenza on telephone +44 (0)700 2277 369 or email 'su...@ca...'. The views represented in this email are not necessarily those of Carrenza. ------------------------------------------------------------------------ From: Robert Iakobashvili [mailto:cor...@gm...] Sent: 14 June 2010 12:53 To: curl-loader-devel Subject: Re: Multiple Thread config files Hi David, On Mon, Jun 14, 2010 at 2:28 PM, David Stout <dav...@ca...<mailto:dav...@ca...>> wrote: Hello list ... I've been using curl-loader in a test setup but need to push more connections from the client machine to the webservers. I need to run multi-threading but I cannot get it to run. Always provide your filled PROBLEM-REPORTING form The How-To are slightly confusing when referring to multiple thread operation. I get this output when I try to run with multiple threads. main - RUNNING LOAD, STARTING THREADS create_thr_subbatches - error: subbatches should deal either with a single shared IP or with at least a single shared IP per subbatch main - note: Thread 0, started normally main - note: Thread 1, started normally Segmentation fault So do I have one configuration file or do I have two configuration files? Also what names do I give the files ? Does anyone have any examples or how to configure this ? Please, explain in PRF what your are doing, what your are going to do, etc. Are you sure, that your limit is at client side? Do you think that your network and servers will survive a higher load? Please, use the latest version of curl-loader. Please, monitor the memory and CPU at the loading computer. Please, read the FAQs and http://curl-loader.sourceforge.net/high-load-hw/index.html Cheers, David Stout Carrenza Ltd 4th Floor 118 Commercial Street London, E1 6NF dav...@ca...<mailto:dav...@ca...> www.carrenza.com<http://www.carrenza.com/> T: +44 (0) 845 337 0827 F: +44 (0) 20 7539 1965 M: +44 (0) 7824 361076 Registered in England No. 4189775 For Customers' emergency - out of hours and 24/7 support - please call 0845 337 0826. ------------------------------------------------------------------------ Confidentiality Notice This communication is strictly confidential. If you are not the intended recipient, you must not copy, distribute or take any action in reliance of it and destroy this email. Please immediately notify the sender or contact Carrenza on telephone +44 (0)700 2277 369 or email 'su...@ca...<mailto:su...@ca...>'. The views represented in this email are not necessarily those of Carrenza. ------------------------------------------------------------------------ ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ curl-loader-devel mailing list cur...@li...<mailto:cur...@li...> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com<http://www.ghotit.com> Assistive technology that understands you ...................................................................... |
From: Robert I. <cor...@gm...> - 2010-06-14 11:53:11
|
Hi David, On Mon, Jun 14, 2010 at 2:28 PM, David Stout <dav...@ca...>wrote: > Hello list … > > > > I’ve been using curl-loader in a test setup but need to push more > connections from the client machine to the webservers. I need to run > multi-threading but I cannot get it to run. > Always provide your filled PROBLEM-REPORTING form > > > The How-To are slightly confusing when referring to multiple thread > operation. > > > > I get this output when I try to run with multiple threads. > > > > main - RUNNING LOAD, STARTING THREADS > > > > create_thr_subbatches - error: subbatches should deal either with a single > shared IP or with at least a single shared IP per subbatch > > main - note: Thread 0, started normally > > main - note: Thread 1, started normally > > Segmentation fault > > > > > > > > So do I have one configuration file or do I have two configuration files? > Also what names do I give the files ? Does anyone have any examples or how > to configure this ? > > > Please, explain in PRF what your are doing, what your are going to do, etc. Are you sure, that your limit is at client side? Do you think that your network and servers will survive a higher load? Please, use the latest version of curl-loader. Please, monitor the memory and CPU at the loading computer. Please, read the FAQs and http://curl-loader.sourceforge.net/high-load-hw/index.html > Cheers, > > > > David Stout > > > > Carrenza Ltd > > 4th Floor > > 118 Commercial Street > > London, E1 6NF > > > > dav...@ca... > > www.carrenza.com > > T: +44 (0) 845 337 0827 > > F: +44 (0) 20 7539 1965 > > M: +44 (0) 7824 361076 > > Registered in England No. 4189775 > > > > For Customers’ emergency - out of hours and 24/7 support - please call 0845 > 337 0826. > > > > ------------------------------------------------------------------------ > > Confidentiality Notice > > This communication is strictly confidential. If you are not the intended > recipient, you must not copy, distribute or take any action in reliance of > it and destroy this email. Please immediately notify the sender or contact > Carrenza on telephone +44 (0)700 2277 369 or email 'su...@ca...'. > The views represented in this email are not necessarily those of Carrenza. > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: David S. <dav...@ca...> - 2010-06-14 11:41:51
|
Hello list ... I've been using curl-loader in a test setup but need to push more connections from the client machine to the webservers. I need to run multi-threading but I cannot get it to run. The How-To are slightly confusing when referring to multiple thread operation. I get this output when I try to run with multiple threads. main - RUNNING LOAD, STARTING THREADS create_thr_subbatches - error: subbatches should deal either with a single shared IP or with at least a single shared IP per subbatch main - note: Thread 0, started normally main - note: Thread 1, started normally Segmentation fault So do I have one configuration file or do I have two configuration files? Also what names do I give the files ? Does anyone have any examples or how to configure this ? Cheers, David Stout Carrenza Ltd 4th Floor 118 Commercial Street London, E1 6NF dav...@ca... www.carrenza.com<http://www.carrenza.com/> T: +44 (0) 845 337 0827 F: +44 (0) 20 7539 1965 M: +44 (0) 7824 361076 Registered in England No. 4189775 For Customers' emergency - out of hours and 24/7 support - please call 0845 337 0826. ------------------------------------------------------------------------ Confidentiality Notice This communication is strictly confidential. If you are not the intended recipient, you must not copy, distribute or take any action in reliance of it and destroy this email. Please immediately notify the sender or contact Carrenza on telephone +44 (0)700 2277 369 or email 'su...@ca...'. The views represented in this email are not necessarily those of Carrenza. ------------------------------------------------------------------------ |
From: Robert I. <cor...@gm...> - 2010-06-13 07:30:03
|
Ladies and Gentlemen, We are pleased to release version 0.52. version 0.52,stable, June 12, svn 578 * Probability of using URLs was broken. Thanks to Val Shkolnikov <va...@nv...> the patch restoring it back and for testing it. * Loading of configuration files sometimes failed due to passing to strtok a char instead of a string. Thanks to Val Shkolnikov <va...@nv...> the patch fixing it. * Some servers are wrong with regards to content length, that they are reporting. This happens for some video streaming. Added a new tag to ignore server-reported context length. Thans to Pranav Desai <pra...@gm...> for this patch Enjoy. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Robert I. <cor...@gm...> - 2010-06-13 06:18:39
|
Hi Vlad, On Sun, Jun 13, 2010 at 8:38 AM, Val Shkolnikov <va...@nv...> wrote: > Hi, Robert, > > > *From:* Nadia and Val Shkolnikov <nv...@ya...> > > *To:* curl-loader-devel <cur...@li...> > *Sent:* Fri, June 11, 2010 8:43:13 PM > > *Subject:* Re: url probability bug fix and random number use update > > Hi, Robert, > > > *From:* Robert Iakobashvili <cor...@gm...> > *To:* curl-loader-devel <cur...@li...> > *Sent:* Wed, June 9, 2010 11:22:27 PM > > *Subject:* Re: url probability bug fix and random number use update > > Hi, Val, > > On Wed, Mar 24, 2010 at 3:36 AM, Val Shkolnikov <va...@nv...> wrote: > >> Hi Robert, >> >> >> *From:* Val Shkolnikov <va...@nv...> >> >> *To:* curl-loader-devel <cur...@li...> >> *Sent:* Sun, March 21, 2010 9:13:04 PM >> >> *Subject:* Re: url probability bug fix and random number use update >> >> Hi Robert, >> >> *From:* Robert Iakobashvili <cor...@gm...> >> *To:* curl-loader-devel <cur...@li...> >> *Sent:* Sun, March 21, 2010 12:02:05 AM >> *Subject:* Re: url probability bug fix and random number use update >> >> Hi Val, >> >> On Sun, Mar 14, 2010 at 8:54 AM, Robert Iakobashvili <cor...@gm... >> > wrote: >> >>> Hi Val, >>> >>> On Mon, Mar 8, 2010 at 7:16 AM, Val Shkolnikov <va...@nv...> wrote: >>> >>>> Hi Robert, >>>> There is a major bug in the curl-loader regarding use of the >>>> FETCH_PROBABILITY tag. In loader_fsm.c, svn rev 574, line 1359 is >>>> >>>> cctx->url_curr_index = (size_t) url_next; >>>> >>>> The url index is updated but not the url pointer. The result of this >>>> bug is that all urls are selected regardless of the probability somewhat >>>> uniformly. >>>> >>>> While debugging this I also reworked the use of probability in the >>>> curl-loader to produce better pseudo-random numbers and also added a tag >>>> RANDOM_SEED that lets you control the seed. I am attaching the patch >>>> against svn rev 574. To use it >>>> >>>> cd curl-loader >>>> patch -p3 <curl-loader.patch.574+vs6 >>>> >>> >>> Applied the patch, thanks! >>> >>>> >>>> I also noticed that the tag FETCH_PROBAILITY_ONCE is not used, but will >>>> let you decide whether it's worth to keep. >>>> >>> >>> Please, look at the latest version in svn. Thanks! >>> >>> The array of url_fetch_decision was allocated per client only, when >>> FETCH_PROBAILITY_ONCE was defined. >>> The array is used to cache the fetching decision and to decrease >>> the calls to random() for high-load testing. >>> >>> In most of the cases, however, it will be of no use, and it was corrected >>> not to use url_fetch_decision array, when it is not supposed to be >>> allocated. >>> >>> >> >> Have you a chance to look at the version in svn and try the changes made? >> Thanks! >> >> -- >> Truly, >> Robert Iakobashvili, Ph.D. >> ...................................................................... >> www.ghotit.com >> Assistive technology that understands you >> ...................................................................... >> >> Sorry, a bit busy. I might have a chance to integrate the new code into >> mine next week. >> /Val >> >> I reviewed your code and it looks good. One minor change I suggest >> which is not terribly important if you think your code is clearer. The >> patch is attached. >> /Val >> >> > Could you, please, try the code from subversion and say, if it works > for your settings? > Thank you in advance. > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > I'll get to it this weekend, promise :-). > /Val > > OK, loaded rev 577, compiled from scratch and tested with my usual load, > everything looks good. > /Val > > Thank you very much for your assistance. Releasing the fixed version. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |
From: Val S. <va...@nv...> - 2010-06-13 06:05:18
|
Hi, Robert, > >From: Nadia and Val Shkolnikov <nv...@ya...> >To: curl-loader-devel <cur...@li...> >Sent: Fri, June 11, 2010 8:43:13 PM >Subject: Re: url probability bug fix and random number use update > > >Hi, Robert, > > >> >>From: Robert Iakobashvili <cor...@gm...> >>To: curl-loader-devel <cur...@li...> >>Sent: Wed, June 9, 2010 11:22:27 PM >>Subject: Re: url probability bug fix and random number use update >> >>>>Hi, Val, >> >> >>On Wed, Mar 24, 2010 at 3:36 AM, Val Shkolnikov <va...@nv...> wrote: >> >>Hi Robert, >>> >>> >>>> >>>>From: Val Shkolnikov <va...@nv...> >>>> >>>>To: curl-loader-devel <cur...@li...> >>>>Sent: Sun, March 21, 2010 9:13:04 PM >>>> >>>>Subject: Re: url probability bug fix and random number use update >>>> >>>> >>>> >>>>Hi Robert, >>>> >>>>From: Robert Iakobashvili <cor...@gm...> >>>>>To: curl-loader-devel <cur...@li...> >>>>>Sent: Sun, March 21, 2010 12:02:05 AM >>>>>Subject: Re: url probability bug fix and random number use update >>>>> >>>>>>>>>>Hi Val, >>>>> >>>>> >>>>>On Sun, Mar 14, 2010 at 8:54 AM, Robert Iakobashvili <cor...@gm...> wrote: >>>>> >>>>>>>>>>>Hi Val, >>>>>> >>>>>> >>>>>>On Mon, Mar 8, 2010 at 7:16 AM, Val Shkolnikov <va...@nv...> wrote: >>>>>> >>>>>>>>>>>>>Hi Robert, >>>>>>>>>>>>>> There is a major bug in the curl-loader regarding use of the FETCH_PROBABILITY tag. In loader_fsm.c, svn rev 574, line 1359 is >>>>>>> >>>>>>>>>>>>>>cctx->url_curr_index = (size_t) url_next; >>>>>>> >>>>>>>>>>>>>>The url index is updated but not the url pointer. The result of this bug is that all urls are selected regardless of the probability somewhat uniformly. >>>>>>> >>>>>>>>>>>>>>While debugging this I also reworked the use of probability in the curl-loader to produce better pseudo-random numbers and also added a tag RANDOM_SEED that lets you control the seed. I am attaching the patch against svn rev 574. To use it >>>>>>> >>>>>>>>>>>>>>cd curl-loader >>>>>>>>>>>>>>patch -p3 <curl-loader.patch.574+vs6 >>>>>>> >>>>>> >>>>>>Applied the patch, thanks! >>>>>> >>>>>>>>>>>>> >>>>>>> >>>>>>> >>>>>>>>>>>>>>I also noticed that the tag FETCH_PROBAILITY_ONCE is not used, but will let you decide whether it's worth to keep. >>>>>>> >>>>>> >>>>>>Please, look at the latest version in svn. Thanks! >>>>>> >>>>>>The array of url_fetch_decision was allocated per client only, when FETCH_PROBAILITY_ONCE was defined. >>>>>>>>>>>> >>>>>> >>>>>>The array is used to cache the fetching decision and to decrease >>>>>>the calls to random() for high-load testing. >>>>>> >>>>>>In most of the cases, however, it will be of no use, and it was corrected >>>>>>not to use url_fetch_decision array, when it is not supposed to be allocated. >>>>>>>>>>>> >>>>>> >>>>>> >>>>>Have you a chance to look at the version in svn and try the changes made? >>>>>Thanks! >>>>> >>>>>-- >>>>>Truly, >>>>>Robert Iakobashvili, Ph.D. >>>>>...................................................................... >>>>>www.ghotit.com >>>>>Assistive technology that understands you >>>>>...................................................................... >>>>> >>>>Sorry, a bit busy. I might have a chance to integrate the new code into mine next week. >>>>/Val >>>> >>>I reviewed your code and it looks good. One minor change I suggest which is not terribly important if you think your code is clearer. The patch is >>> attached. >>>/Val >>> >>Could you, please, try the code from subversion and say, if it works >>for your settings? >>Thank you in advance. >> >>-- >>Truly, >>Robert Iakobashvili, Ph.D. >>...................................................................... >>www.ghotit.com >>Assistive technology that understands you >>...................................................................... >>I'll get to it this weekend, promise :-). >/Val > OK, loaded rev 577, compiled from scratch and tested with my usual load, everything looks good. /Val |
From: Robert I. <cor...@gm...> - 2010-06-10 06:22:35
|
Hi, Val, On Wed, Mar 24, 2010 at 3:36 AM, Val Shkolnikov <va...@nv...> wrote: > Hi Robert, > > > *From:* Val Shkolnikov <va...@nv...> > > *To:* curl-loader-devel <cur...@li...> > *Sent:* Sun, March 21, 2010 9:13:04 PM > > *Subject:* Re: url probability bug fix and random number use update > > Hi Robert, > > *From:* Robert Iakobashvili <cor...@gm...> > *To:* curl-loader-devel <cur...@li...> > *Sent:* Sun, March 21, 2010 12:02:05 AM > *Subject:* Re: url probability bug fix and random number use update > > Hi Val, > > On Sun, Mar 14, 2010 at 8:54 AM, Robert Iakobashvili <cor...@gm...>wrote: > >> Hi Val, >> >> On Mon, Mar 8, 2010 at 7:16 AM, Val Shkolnikov <va...@nv...> wrote: >> >>> Hi Robert, >>> There is a major bug in the curl-loader regarding use of the >>> FETCH_PROBABILITY tag. In loader_fsm.c, svn rev 574, line 1359 is >>> >>> cctx->url_curr_index = (size_t) url_next; >>> >>> The url index is updated but not the url pointer. The result of this bug >>> is that all urls are selected regardless of the probability somewhat >>> uniformly. >>> >>> While debugging this I also reworked the use of probability in the >>> curl-loader to produce better pseudo-random numbers and also added a tag >>> RANDOM_SEED that lets you control the seed. I am attaching the patch >>> against svn rev 574. To use it >>> >>> cd curl-loader >>> patch -p3 <curl-loader.patch.574+vs6 >>> >> >> Applied the patch, thanks! >> >>> >>> I also noticed that the tag FETCH_PROBAILITY_ONCE is not used, but will >>> let you decide whether it's worth to keep. >>> >> >> Please, look at the latest version in svn. Thanks! >> >> The array of url_fetch_decision was allocated per client only, when >> FETCH_PROBAILITY_ONCE was defined. >> The array is used to cache the fetching decision and to decrease >> the calls to random() for high-load testing. >> >> In most of the cases, however, it will be of no use, and it was corrected >> not to use url_fetch_decision array, when it is not supposed to be >> allocated. >> >> > > Have you a chance to look at the version in svn and try the changes made? > Thanks! > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > Sorry, a bit busy. I might have a chance to integrate the new code into > mine next week. > /Val > > I reviewed your code and it looks good. One minor change I suggest which > is not terribly important if you think your code is clearer. The patch is > attached. > /Val > > Could you, please, try the code from subversion and say, if it works for your settings? Thank you in advance. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |