Re: a few questions.. huge load testing job
Status: Alpha
Brought to you by:
coroberti
From: aaron s. <bei...@gm...> - 2007-12-10 17:04:47
|
Thanks Robert! I''ll be trying this out sometime today or tomorrow and let you know what happens.. -A On Dec 9, 2007 11:54 PM, Robert Iakobashvili <cor...@gm...> wrote: > Aaron, > > On Dec 10, 2007 3:45 AM, aaron smith <bei...@gm...> > wrote: > > I would appreciate the help so much, and a patch would be awesome! > Thanks! > > Here is a wireshark dump. > > POST //amfphp/gateway.php HTTP/1.1 > Accept: */* > Accept-Language: en-US > Referer: http://www.petmoustache.com/global/swf/main.swf > x-flash-version: 9,0,115,0 > Content-Type: application/x-amf > Content-Length: 55561 > Accept-Encoding: gzip, deflate > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) > Host: petmoustache.com > Connection: Keep-Alive > Cache-Control: no-cache > Cookie: __utma=110968324.1943311580.1197250082.1197250082.1197250082.1; > __utmb=110968324; __utmc=110968324; > __utmz=110968324.1197250082.1.1.utmccn= > (direct)|utmcsr=(direct)|utmcmd=(none); > PHPSESSID=70624e053d197b61ce5e704d45f1a5ff > > ----------------------------------------------------------------------------- > body > > ----------------------------------------------------------------------------- > > This is the POST, which we see. > > The url to be used seems to be: > http://petmoustache.com/amfphp/gateway.php > > The essential header to be added via HEADER-tag up to me are: > > HEADER="Referer: http://www.petmoustache.com/global/swf/main.swf" > HEADER="x-flash-version: 9,0,115,0" > HEADER="Content-Type: application/x-amf" > HEADER="Cache-Control: no-cache" > HEADER="Cookie: > __utma=110968324.1943311580.1197250082.1197250082.1197250082.1; > __utmb=110968324; __utmc=110968324; > __utmz=110968324.1197250082.1.1.utmccn= > (direct)|utmcsr=(direct)|utmcmd=(none); > PHPSESSID=70624e053d197b61ce5e704d45f1a5ff" > > Note, that Cookie is a separate story, which is generated per user and > it depends on > the policy of you web-server. Y may need to play with it or without it, > etc. > > What the POST is doing is actually uploading some binary file. > We have such an example for the PUT method, namely put.conf. > > Your url section may be similar: > > -------------------------------------------------------------------------------------------------------- > URL=http://petmoustache.com/amfphp/gateway.php > URL_SHORT_NAME="POST-file" > REQUEST_TYPE=POST > UPLOAD_FILE=Atterntion!!!** place a path to your file from > curl-loader, like ./myfile*** > HEADER="Referer: http://www.petmoustache.com/global/swf/main.swf" > HEADER="x-flash-version: 9,0,115,0" > HEADER="Content-Type: application/x-amf" > HEADER="Cache-Control: no-cache" > HEADER="Cookie: > __utma=110968324.1943311580.1197250082.1197250082.1197250082.1; > __utmb=110968324; __utmc=110968324; > __utmz=110968324.1197250082.1.1.utmccn= > (direct)|utmcsr=(direct)|utmcmd=(none); > PHPSESSID=70624e053d197b61ce5e704d45f1a5ff" > TIMER_URL_COMPLETION = 0 # In msec. When positive, Now it is enforced > by cancelling url fetch on timeout > TIMER_AFTER_URL_SLEEP =3000 > > Please, run that (sure on linux) with a single client > and a single cycle with -v and -u options also added (verbose > debugging) to curl-loader > command line (learn for -f <batch file> and other options) and > wireshark capture to see, if there are any problems. > > If it works, start increasing, etc. > If not, send to me: > a) the log of curl-loader <your-batch-name>.log; > b) the wireshark capture. > > > Sincerely, > Robert Iakobashvili, > coroberti %x40 gmail %x2e com > ........................................................... > http://curl-loader.sourceforge.net > An open-source web testing and traffic generation. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |