Thanks Jordi, I had overlooked the 'Clear cookies' checkbox. Not a JMeter question per se, but a JMeter test technique question for sure - If I keep iterating, and leave the servlet and container some pauses occasionally, why won't garbage collection keep the container alive provided I've provided enough memory using -Xmx -Xms and don't invoke any more simultanous sessions than that memory allotment allows?
Also, I still want to invoke JMeter in batch mode ... so I'd appreciate anyone's advice on how to resolve the java.util.zip.ZipException problem. Thanks. Lee > -----Original Message----- > From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2003 7:37 PM > To: JMeter Users List > Subject: Re: ZipException during batch invocation > > > If you don't use a Cookie Manager, each request will create a > new session. > > If you use a Cookie Manager and mark the "Clear cookies after each > iteration" box, each iteration of the script within a thread > group will > create a new session. > > Note however, that accumulation of sessions created in this way will > very likely (depending on the rate at which you create sessions, the > size of session data and your session timeout value) kill > your servlet > container, but cannot by any means be called a "memory leak". > > Hope this helps. > > -- > Salut, > > Jordi. > > Lee Peterson wrote: > > Hi all. > > > > We want to exercise our servlet, deliberately trying to > make any memory > > leak cause an eventual crash. > > > > I don't think a continuous JMeter execution will do what we > need it to, > > because we want to repeatly and continually spawn new > sessions. That's > > the scenario that will expose memory leaks. I believe a > single JMeter > > 'run' starts a number of sessions only equivalent to the summation : > > > > ((all Thread Groups) x (# of threads in the group)) > > > > If that's so, it will only give us a finite number of sessions. > > However, I think repeating a JMeter batch job *will* do the trick. > > > > In trying to run JMeter in batch, I'm running into exception : > > > > [ OTHER 'Loaded' stuff snipped ... ] > > > > [Loaded java.util.zip.ZipException from C:\Program > Files\Java\j2re1.4.1\lib\rt.jar] > > Exception in thread "main" java.util.zip.ZipException: > The filename, directory name, or volume label syntax is incorrect > > [Loaded java.lang.StackTraceElement from C:\Program > Files\Java\j2re1.4.1\lib\rt.jar] > > at java.util.zip.ZipFile.open(Native Method) > > at java.util.zip.ZipFile.<init>(ZipFile.java:112) > > at java.util.jar.JarFile.<init>(JarFile.java:117) > > at java.util.jar.JarFile.<init>(JarFile.java:55) > > [Loaded java.util.HashMap$KeySet from C:\Program > Files\Java\j2re1.4.1\lib\rt.jar] > > [Loaded java.util.HashMap$KeyIterator from C:\Program > Files\Java\j2re1.4.1\lib\rt.jar] > > > > CLASSPATH problem ? I thought I had enough in there. > > > > Has anyone else experienced this? > > > > Thanks. > > > > > > Lee Peterson > > > > SAS Institute, Inc. > > SAS ... The Power to Know > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

