Re: a few questions.. huge load testing job
Status: Alpha
Brought to you by:
coroberti
From: aaron s. <bei...@gm...> - 2007-12-07 06:39:44
|
Ok, i answered the question of associating amf in the body myself. Just reaind some HTTP specs duh. http://www.jmarshall.com/easy/http/#structure So the part that is the "body" will be some raw AMF. Is there a way to attach a raw body from a file in curl-loader?. I'll keep reading too. thanks. On Dec 6, 2007 10:33 PM, aaron smith <bei...@gm...> wrote: > >There are two ways of doing POST-ing: > >a) a regular one; > >b) a multiform POST-ing. > > What is the difference? > > >Try to capture the traffic, remove all private info and send here to see, > >what happens. > > I've attached a Charles Debugging Proxy tool session. It can sniff and > deserialize AMF. If you download Charles, you can go to file->open session > and open that file. It'll show you one request I made to a remoting gateway. > as well as the response. > > It's pretty basic, all that's happening is the content-type is set to > application/x-amf. I'm just unsure of how to attach the correct request AMF > with a request from curl loader.. I can save the AMF to a file, but from > curl-loader, how do I tell it to load that file as the content to send? > > Thanks for those examples btw. I didn't realize that 1.4.3 had them in it. > I DL 1.4.4, not in there.. 1.4.4 must be a patch eh. Anyway, for the most > part I see through the examples of what has to be done. Just this one issue > of associating the AMF as the content with it.. > > Thanks.. > > > > > > On Dec 6, 2007 10:02 PM, Robert Iakobashvili <cor...@gm... > wrote: > > > Hi Aaron, > > > > On Dec 7, 2007 7:32 AM, aaron smith < bei...@gm...> > > wrote: > > > -This should work on a mac right? (intel mac) > > > > It works on linux. If you have managed to run linux on some MAC HW > > - you can try. > > > > > -Are there any other documentation/examples of using curl-loader? > > > > Examples of the batches (testing plans) are inside the tarball in > > conf-examples directory. The FAQs are here: > > http://curl-loader.sourceforge.net/doc/faq.html > > even more docs are here: > > http://curl-loader.sourceforge.net > > > > > The request from the flash player comes over as a POST, but i'm not > > sure if > > > the AMF comes over in a form variable? Usually in a remoting gateway I > > can > > > get the AMF from the request.raw_body. How does that correlate to a > > request? > > > > Y can try to sniff the traffic, using wireshark (ethereal) and know, > > what are > > the HTTP request/responses. > > > > > The workflow that I see with curl loader is the batch file, changing > > the > > > header to supply the content-type of application/x-amf, and the > > > content-length. Then associating the AMF from a file with the > > content/body > > > of the request.. The site is expected to be getting millions of hits > > daily > > > possibly weekly. In any case huge loads. > > > > There are two ways of doing POST-ing: > > a) a regular one; > > b) a multiform POST-ing. > > > > Try to capture the traffic, remove all private info and send here to > > see, > > what happens. > > > > > Has anything like this been accomplished with curl-loader? > > > > Let's say 10 mln of hits per day are only about 400 000 per hour, which > > means only 7000 heats/minute. I do not see any problem for curl-loader f > > rom the point of number of request. > > Your scenario, however, may require high bandwidth, high CPU, > > but a dual core Core2 Intel CPU with some 2G of memory should manage it. > > > > > > The question is about your application part. > > > > > Thanks much for any help! > > > -Aaron > > > > 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 > > > > |