loadsim-users Mailing List for Web Application Load Simulator (Page 2)
Brought to you by:
vsheffer
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(3) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
(1) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <Tim...@we...> - 2001-12-19 14:51:33
|
Hello. I've followed the procedures to record a web session. I select the file to save to. I run the web app. Data appears in the muffin.loadsim window, but does not get saved to a file. |
From: <Tim...@we...> - 2001-12-18 22:14:58
|
Hello all. I've just downloaded loadsim, and set it up. I have a couple of questions. a) Is this still a viable product? The last release was made several months ago. b) any know bugs/ issues? c) is it easy to extend / are there any extensions for it that people have created? Thanks! |
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 > |
From: sandeep k. <sbk...@ya...> - 2001-10-31 12:36:58
|
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 |
From: Vincent S. <vsh...@op...> - 2001-10-31 04:51:49
|
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 > |
From: sandeep k. <sbk...@ya...> - 2001-10-30 11:10:06
|
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 |
From: <vi...@ne...> - 2001-07-31 00:24:04
|
Sorry for the delay, Bob, but I've been on vacation. If you haven't already found a solution or haven't already gotten fed up and moved on to something else, it would help to have your results.csv file. If the information contained is too sensitive to send to me I certainly understand. (NOTE: if you send it to me send it directly to my vsh...@op... address, not the loadsim users mailing list). I just did a very simple test against google and loadsim_pub worked fine for me. The one thing I can think of is if your results.csv file was created by an earlier version of loadsim then the loadsim_pub won't work. This is because an extra column has been introduced into the CSV file that tells which load driver host produced the result. This would throw off what the publish system is expecting in that file. -vince >Hello > > Just downloaded this software. Got it to generate me a >report.csv file. However, I can't generate the html from publish. > > I did the following: > >bash-2.05$ loadsim_pub results.csv -html -h >loadsim publish version 0.9.5 >Exception in thread "main" java.lang.NumberFormatException: text/html;charset=utf-8 > at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1176) > at java.lang.Double.valueOf(Double.java:168) > at java.lang.Double.<init>(Double.java:240) > at org.openware.loadsim.stats.SampleSet.<init>(SampleSet.java:64) > at org.openware.loadsim.stats.Stats.main(Stats.java:418) > >-- > >I have downloaded CVS but had some java problems (didn't get this >far). > >Please let me know what I'm doing wrong. It seems to me that the >Java code is tring to interpret text/html;charset=utf-8 as a Decimal >which is wrong, but ??? > >Bob >-- >Non-Determinism is not meant to be reasonable. > -- M.J. 0'Donnell > >_______________________________________________ >Loadsim-users mailing list >Loa...@li... >http://lists.sourceforge.net/lists/listinfo/loadsim-users > > |
From: Bob W. <bo...@al...> - 2001-07-26 15:49:08
|
Hello Just downloaded this software. Got it to generate me a report.csv file. However, I can't generate the html from publish. I did the following: bash-2.05$ loadsim_pub results.csv -html -h loadsim publish version 0.9.5 Exception in thread "main" java.lang.NumberFormatException: text/html;charset=utf-8 at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1176) at java.lang.Double.valueOf(Double.java:168) at java.lang.Double.<init>(Double.java:240) at org.openware.loadsim.stats.SampleSet.<init>(SampleSet.java:64) at org.openware.loadsim.stats.Stats.main(Stats.java:418) -- I have downloaded CVS but had some java problems (didn't get this far). Please let me know what I'm doing wrong. It seems to me that the Java code is tring to interpret text/html;charset=utf-8 as a Decimal which is wrong, but ??? Bob -- Non-Determinism is not meant to be reasonable. -- M.J. 0'Donnell |
From: <ke...@ke...> - 2001-05-07 13:46:50
|
On 05/04/2001 05:26:46 PM, vinny wrote: > If you look in the file created during the record session do you > see the link that you are supposed to be redirected to? Yes, I do see that, so it looks like it handled the redirect. I can't get you access to a public server for a few days (it's being reinstalled w/ the latest code). In the meantime, I'll try the page capture filter. ken |
From: <vi...@ne...> - 2001-05-04 21:27:17
|
I just tried it on an application that we have that uses redirect and it works fine, at least in record mode. That is, it successfully records the URL for the redirect. If you look in the file created during the record session do you see the link that you are supposed to be redirected to? If so, then LoadSim should "play" it back for you. Basically, LoadSim is pretty stupid and will just blindly follow any link in your sequence file. -vince > >Does loadsim work when run against an IIS/ASP web site? >The problem I'm having is that the simulation.xml file >runs, but doesn't work as expected. What I do in this >simple recorded test is: >1) log into ASP site (session authentication is used) >2) create a user by posting a form >3) log out > >The loadsim user seems to log in successfully, but >never seems to log out. It also doesn't successfully >create a user, so it looks like it just fails to do anything >after the first step. > >We also have a trace log for our web objects. >The last thing it does is get the URL of the user's >"home page". After the login is done, the server >gives the browser a redirect. While recording >the session, I did notice that loadsim printed out >messages about ignoring 304 commands (the >redirects). Does it barf if it encounters a redirect? > >Any idea on the best way to find out what's going >wrong? > > thanks, > > ken > > > >_______________________________________________ >Loadsim-users mailing list >Loa...@li... >http://lists.sourceforge.net/lists/listinfo/loadsim-users > > |
From: <ke...@ke...> - 2001-05-04 17:27:16
|
Does loadsim work when run against an IIS/ASP web site? The problem I'm having is that the simulation.xml file runs, but doesn't work as expected. What I do in this simple recorded test is: 1) log into ASP site (session authentication is used) 2) create a user by posting a form 3) log out The loadsim user seems to log in successfully, but never seems to log out. It also doesn't successfully create a user, so it looks like it just fails to do anything after the first step. We also have a trace log for our web objects. The last thing it does is get the URL of the user's "home page". After the login is done, the server gives the browser a redirect. While recording the session, I did notice that loadsim printed out messages about ignoring 304 commands (the redirects). Does it barf if it encounters a redirect? Any idea on the best way to find out what's going wrong? thanks, ken |
From: <vi...@ne...> - 2001-04-19 15:55:03
|
Alright, here is the history... When I first starting working on this about 1 1/2 ago, I was jusing JDK 1.1.8. The implementation of the HTTP client code flat out didn't work (I forget exactly what the problem was, but it simply didn't work). So, I hunted around and found HTTPClient, which using the property that you give, did work. At the job that I was doing when I first used LoadSim I only simulated up to around 80 users (only about 20 per machine). HTTPClient worked fine. More recently, however, I used LoadSim simulating much large numbers of users (upwards of 200 per machine). HTTPClient started breaking down and not working very well. So, I decided to see if the JDK 1.3 (which is the JDK I use now exclusively -- we use Weblogic instead of Websphere) had improved their HTTP client implementation. To my surprise and happiness it was markedly better. So, now, by default, LoadSim uses the built-in HTTP client implementation (which, for that reason, I would recommend using JDK 1.3 for running simulations). LoasSim still ships with HTTPClient, which you should be able to use. Now, for those interested, the version of HTTPClient that I use is from over a year ago. Maybe newer versions work better. If you'd like to try a new version check out the link to the HTTPClient site in the acknowledgements section of the LoadSim homepage (I think LoadSim ships with 0.3.1 and the newer version is 0.3.2). Well, that is probably about as cleas as mud, wouldn't you say? > > >On 04/18/2001 03:27:31 PM, vinny wrote: >> It looks like JDK 1.3 is the first version of the JDK that has a good >> implementation of the HTTP client code. > >But shouldn't the built-in http code from running it this >way have worked? >java -classpath $LOADSIM_HOME/lib/loadsim.jar >-Djava.protocol.handler.pkgs=HTTPClient org.openware.loadsim.LoadSim > >I'll confirm when I get JDK1.3 on my >current system. Tied up w/ performance >tweaking now. > > > ken > > >_______________________________________________ >Loadsim-users mailing list >Loa...@li... >http://lists.sourceforge.net/lists/listinfo/loadsim-users > > |
From: <ke...@ke...> - 2001-04-18 19:30:26
|
On 04/18/2001 03:27:31 PM, vinny wrote: > It looks like JDK 1.3 is the first version of the JDK that has a good > implementation of the HTTP client code. But shouldn't the built-in http code from running it this way have worked? java -classpath $LOADSIM_HOME/lib/loadsim.jar -Djava.protocol.handler.pkgs=HTTPClient org.openware.loadsim.LoadSim I'll confirm when I get JDK1.3 on my current system. Tied up w/ performance tweaking now. ken |
From: <ke...@ke...> - 2001-04-18 15:38:59
|
On 04/17/2001 01:46:15 AM, Vincent Sheffer wrote: > After typing 'start' I get "Started simulation on > '//localhost:8000". Do you get that message? > To get the Tcl prompt back you do need to hit the return key. Yes, I do get this. The copy/paste I sent you shows the TCL prompt. > using the simulation.xml that I sent you a couple of days ago? I modified it to do just 5 iterations w/ 1 user to make sure I see the Stop msg more quickly. I just tried it on a different machine w/ Sun JDK 1.3_02 (the latest Win32 one). It does stop properly on that one. I'll try a different JDK on my system. It's a bummer that it doesn't work on 1.2.2 because that is my main Java development environment (VisualAge for Java w/ Websphere)... ken |
From: Vincent S. <vsh...@op...> - 2001-04-17 05:48:46
|
I've just tried it again with the simulation.xml file that I sent you. After typing 'start' I get "Started simulation on '//localhost:8000". Do you get that message? To get the Tcl prompt back you do need to hit the return key. I've also exited the simulation before it was over and it works fine. LoadSim has replaced the Tcl exit command with one of it's own to stop all of the other simulations running. This takes a few seconds, but you should see something to the effect of: Stopping simulation //localhost:8000 Simulation complete: remote host is '//localhost:8000': elapsed time is 00:01:30 ms I've also tried the IBM JDK 1.3 (I run Linux), and I get the same behavior. Unfortunately, I don't have a JDK 1.2.2, so I am unable to try it (and it is too late right now to download it). I am troubled as to why you are having so much difficulty. Are you using the simulation.xml that I sent you a couple of days ago? It should absolutely not hang. When I ran the simulation it did take somewhere around 10-20 minutes (I didn't notice the elapsed time unfortunately) to complete, and there is no feedback during the simulation, so it *will* look like it is just sitting there doing nothing. -vince On Mon, 16 Apr 2001, ke...@ke... wrote: > On 04/16/2001 03:37:21 PM, Vincent Sheffer wrote: > > Try this: > > java -classpath $LOADSIM_HOME/lib/loadsim.jar > > -Djava.protocol.handler.pkgs=HTTPClient org.openware.loadsim.LoadSim > > Behavior is exactly the same :-( > It starts the simulation and never finishes. > "Exit" hangs. > I'll try upgrading my JDK to 1.3. Can't think > of anything else... > > > ken > > > _______________________________________________ > Loadsim-users mailing list > Loa...@li... > http://lists.sourceforge.net/lists/listinfo/loadsim-users |
From: <ke...@ke...> - 2001-04-17 00:56:59
|
On 04/16/2001 03:37:21 PM, Vincent Sheffer wrote: > Try this: > java -classpath $LOADSIM_HOME/lib/loadsim.jar > -Djava.protocol.handler.pkgs=HTTPClient org.openware.loadsim.LoadSim Behavior is exactly the same :-( It starts the simulation and never finishes. "Exit" hangs. I'll try upgrading my JDK to 1.3. Can't think of anything else... ken |
From: <ke...@ke...> - 2001-04-16 19:01:27
|
On 04/16/2001 01:41:26 PM, Vincent Sheffer wrote: > Which JDK are you using? I use JDK 1.3. In the past, I've had > problems with the HTTPConnection class in earlier JDKs. Currently using IBM JDK 1.2.2 (needed for Websphere). I'll try the 1.3 JDK though it will unfortunately break Websphere :-P > LoadSim also ships with something called HTTPClient, > which is another, 3rd party implementation of the HTTP comms > layer. This worked better than the JDK 1.1.x implementations How do you get loadsim to use this instead? Should be a quick way of finding out whether the JDK is the culprit. ken |
From: <ke...@ke...> - 2001-04-16 17:15:09
|
On 04/16/2001 11:22:04 AM, Vincent Sheffer wrote: > Typing stop should work. I'll check into that. The only thing I can think of is that it has something to do w/ running on localhost since it sounds like you don't run this way. I shouldn't even need to type in "stop" since I trivialized the sequence file by setting it to only run 5 iterations using 1 user; this should have taken a minute at most. I'll switch to the standard distributed mode of running after I get the test scripts captured and working on my local dev machine. I'll also try to set up loadsim in a distributed mode to see if that's the culprit. > When I ran the simulation with the 10 virtual users my CPU > utilization was basically 0, with short bursts of around 40-50% I have a dual Celeron 400 (Abit BP6 MB). It'll go to a dual 1Ghz Athlon after the motherboards come out in another quarter or so. > Is it the same simulation that we've exchanged before? Yes. That's obviously not the real app I will test. I just wanted to capture a few simple URLs and make sure it works before investing more extensive time into it (had bad experience w/ MS's web stress tool and a few others where I put time in only to run into a major roadblock later). > the project, and maybe adding you as a developer I have to be an experienced user first. Can't add new features w/o knowing how everything works :-) ken |
From: <ke...@ke...> - 2001-04-03 15:50:27
|
Please put up a binary distribution on loadsim's web page so we can download and try it quickly instead of having to build it first. I tried grabbing the sources w/ CVS under Win2K and building, but ran into a lot of problems building it. I grabbed the latest Ant and XML libraries, but that didn't help. The build error is: J:\Win32Dev\loadsim\build\build.xml:49: Cannot use classic compiler, as it is no t available A common solution is to set the environment variable JAVA_HOME to yo ur jdk directory. I have the 1.2.2 JDK. JAVA_HOME points to it the right directory. I can run javac on the command line w/o problems. I tried switching the build.compiler to modern, but that didn't work either. :-P ken |