Re: [Loadsim-users] extend loadsim for functional testing of site
Brought to you by:
vsheffer
From: Vincent S. <vsh...@op...> - 2001-11-06 09:01:06
|
If you mean stuff like the HTTP headers and such, there is no way to do that "out of the box". You can modify org.openware.loadsim.link.Link to do this. In the 'sample' method is where the communication between client and web server takes place. You could modify this to output anything you want. If you just want the contents of the page you can use the content handlers. Unfortunately, the content handler interface that you can implement has no way to get the HTTP header information. That would be the logical place to support your functionality. Maybe modify that to also take the HTTP header information. -vince On Wed, 2001-10-31 at 04:36, sandeep kshirsagar wrote: > Hi, > Thanks for your quick reply. I could find this > solution by looking in the code. I do agree with the > answer. > > I want to ask one more question. > Is it possible to log/dump http data in a file, when > running the simulation? > We need this because we want to extend loadsim for > testing the functionality of a web-site. > The idea is to record set of test sequence and run the > simulator. Now check the dump log file for proper > response. > > Any other suggestion is also welcome. > > regards > Sandeep > > > --- Vincent Sheffer <vsh...@op...> wrote: > > You cannot record in SSL mode. > > > > SSL is meant to encrypt the HTTP stream between the > > client and server. > > The only thing that can decrypt the stream (which > > the recorder needs to > > be able to do) is the server and your browser. > > Think of it this way: if > > all you have to do to break SSL encryption is put a > > proxy server (which > > is all the recorder is) in between a browser and the > > webserver then > > HTTPS wouldn't be very secure. > > > > What you have to do is record using HTTP. You can > > do the playback (the > > load test) using HTTPS (that is where the jar file > > comes in) but you > > will need to edit the resulting recorded session and > > replace all > > occurences of 'http' with https. > > > > One last thing: the only JVM that I know loadsim > > will work with is JDK > > 1.3.0. > > > > Hope that helps. > > Vince > > > > On Tue, 2001-10-30 at 03:10, sandeep kshirsagar > > wrote: > > > Hi, > > > > > > I am new to loadsim. I am using loadsim for > > recording > > > the http & https. > > > loadsim when run in record mode, works fines with > > http > > > request. But when SSL based request comes, it does > > not > > > work. > > > Working with SSL, you mention to load the jar > > files in > > > loadsim lib directory and you should see a message > > > that says SSL has been enabled. > > > I copied the jar files, but when I start the > > > loadsim --record > > > it does not show any message for SSL. > > > I want to know how to enable SSL while recording? > > > Do I need do set some option? > > > > > > I do get the message for SSL when I run the > > recorded > > > sequence file by loadsim --startconsole > > > > > > Please reply asap. > > > Thanks & Regards > > > Sandeep Kshirsagar > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Make a great connection at Yahoo! Personals. > > > http://personals.yahoo.com > > > > > > _______________________________________________ > > > Loadsim-users mailing list > > > Loa...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/loadsim-users > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > _______________________________________________ > Loadsim-users mailing list > Loa...@li... > https://lists.sourceforge.net/lists/listinfo/loadsim-users > |