Re: a few questions.. huge load testing job
Status: Alpha
Brought to you by:
coroberti
From: aaron s. <bei...@gm...> - 2007-12-07 07:32:34
|
>Please, read about HTTP multipart form data POST-ing as in RFC1867 I took a look at this. The key difference, and where the flash player (I think)breaks this standard, is with posting data. It doesn't conform to this multi-part rfc. Specifically in section 3.3 it says "the HTTP protocol can transport arbitrary BINARY data". That's what the flash player does. It arbitrarily puts AMF into the body, and gives the content-type / content-length. hmm. Here is a sample conf I'm thinking will maybe do the trick.. Based off of one of the examples.. ########### URL SECTION ################################## # GET-part URL= http://10.30.6.42:8888/vax/root/Admin URL_SHORT_NAME="Login-GET" #URL_DONT_CYCLE = 1 REQUEST_TYPE=GET TIMER_URL_COMPLETION = 4000 TIMER_AFTER_URL_SLEEP =0 # POST-part URL="" URL_SHORT_NAME="Login-POST" URL_USE_CURRENT= 1 #URL_DONT_CYCLE = 1 REQUEST_TYPE=POST MULTIPART_FORM_DATA="htmlcode=<HTML></HTML>;type=application/x-amf" MULTIPART_FORM_DATA="file=@myamf.amf" I'm also wondering about taking out the file=? so like so? MULTIPART_FORM_DATA="@myamf.amf" To try and get arbitrary binary in the body.. What do you think? Anyway, I'm gonna try some of this out tomorrow. hopefully i'll be able to get something working.. -Thanks -Aaron On Dec 6, 2007 11:01 PM, aaron smith <bei...@gm...> wrote: > >Examples were inside from the day one. > They're not in 0.4.4. There aren't any make files either, It looks like > 0.4.4. is a patch, lot's of files missing. > > >By the way, you can use Bugnux linux Live-CD curl-loader version > >just to start from any computer, even Windows. > >The Bugnux version, however, might have some performance penalty. > Sweet! That's perfect. > > >Doe it have a linux version > Yep. It's java. > > >It should be an example of posting a file. I will look into it later. > >If it is not (somehow) supported > >by curl-loader, it will be rather easy to add. > > Ah I think I got it. So basically when you post a file, it's just posting > the binary data. So I can just post whatever file the AMF is in and that > will be the AMF. Right? I don't see why that wouldn't work. > > > > > > > On Dec 6, 2007 10:42 PM, Robert Iakobashvili <cor...@gm...> wrote: > > > Aaron, > > > > On Dec 7, 2007 8:33 AM, 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? > > > > Please, read about HTTP multipart form data POST-ing as in RFC1867 > > > > > >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. > > > > Doe it have a linux version > > > > >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? > > > > It should be an example of posting a file. I will look into it later. > > If it is not (somehow) supported > > by curl-loader, it will be rather easy to add. > > > > > > > > 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.. > > > > Examples were inside from the day one. > > > > By the way, you can use Bugnux linux Live-CD curl-loader version > > just to start from any computer, even Windows. > > The Bugnux version, however, might have some performance penalty. > > -- > > 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 > > > > |