Re: Couldn't find or load essential class

2002-04-02 Thread david garcia
In general I always find myself digging around for missing stuff in .jar files. I have a little bash script to which speeds up this process greatly. it should work on all *nix platforms; as well as Intel platforms using cygwin or mkstoolkit. ---

RE: nongui jmeter

2002-04-02 Thread Mo, Jennifer
You were right about not having a test plan tag in the jmx file. I resaved my jmx file version from the Test Plan level in the GUI and it included the test plan tag. Thanks for your help Kate! -Original Message- From: Kate Rosenbloom [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 20

Re: Couldn't find or load essential class

2002-04-02 Thread Henrik Ridder
Ok. I stand corrected. I looked i my rt.jar and you where right it is there. The thing is that I don't have rt.jar in my CLASSPATH and I don't have any trouble to compile or run JMeter. All I include i tools.jar, thats it. I did a test to unset CLASSPATH and tried again and still no problem.

RE: nongui jmeter

2002-04-02 Thread Mo, Jennifer
do you have a sample jmx file that includes the test plan tag? i only see controllers in mine. -Original Message- From: Kate Rosenbloom [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:55 AM To: Mo, Jennifer; [EMAIL PROTECTED] Subject: Re: nongui jmeter Jennifer, I've succes

Re: Recording HTTP sessions and 401s

2002-04-02 Thread Kate Rosenbloom
Unfortunately the authorization handling works during playback, but not during recording (Michael Stover has a previous posting about this). You'll have to turn off the Basic Auth on your server during recording, then you can reenable during your actual testing. It worked for me... Kate

Re: Couldn't find or load essential class

2002-04-02 Thread Andy Barnett
Henrik, Since you asked to be corrected, Patrice's original error was "NoClassDefFoundError java/lang/Object". In my Sun JRE 1.3.1_02 for Windows installation, the java.lang.Object class is located in the rt.jar file. So you do need the rt.jar included somehow/somewhere. As for actually helpful

AW: Couldn't find or load essential class

2002-04-02 Thread Edgar Knobloch
I don't think, thats a good idea. CLASSPATH gets constructed in the lines before the java call (the script appends the jmeter jars in the CLASSPATH) Edgar > -Original Message- > Von: Mo, Jennifer [mailto:[EMAIL PROTECTED]] > Betreff: RE: Couldn't find or load essential class > > > how

Re: nongui jmeter

2002-04-02 Thread Kate Rosenbloom
Jennifer, I've successfully used the non-gui driver. I think I recall that at one point I ran into the same error message as you, and that it was due to not having a test plan in the .jmx file (e.g. it had a controller instead of a test plan at the top level). Good luck,

RE: Multiple users.

2002-04-02 Thread Antti Holappa
I did a similar hack to my JMeter sources last month. I had a group of users, user1-100 with the same password and a site that needs two post parameters "username" and "password" for login. After studying the code I made some quick changes to the source (see below) to quickly get some tests going

Re: Couldn't find or load essential class

2002-04-02 Thread Henrik Ridder
I don't think (correct me if I'm wrong) that you need rt.jar. But you do need tools.jar located i JAVA_HOME/lib Do you have this in you build.sh: if test -f $JAVA_HOME/lib/tools.jar ; then CLASSPATH=$CLASSPATH:${JAVA_HOME}/lib/tools.jar fi And what shell are you using? /Henrik --On Tuesday,

Re: Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
It doesn't work "Mo, Jennifer" wrote: > how about going into the jmeter file and changing the references from > CLASSPATH to JAVA_HOME. > > OLD: > java -classpath $CLASSPATH:`dirname $0`/ApacheJMeter.jar $JAVA_PROPS > -D$LOG4JCONFIG org.apache.jmeter.NewDriver $PROPERTIES > > NEW: > java -classp

Re: Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
rt.jar is present in /share/local/java/jdk1.2.2/jre/lib and my java programs work fine so I don't think my java installation is corrupted "Stover, Michael" wrote: > It seems most likely to me that your java installation has become corrupted > somehow - perhaps some of the jars have been moved or

RE: Couldn't find or load essential class

2002-04-02 Thread Mo, Jennifer
how about going into the jmeter file and changing the references from CLASSPATH to JAVA_HOME. OLD: java -classpath $CLASSPATH:`dirname $0`/ApacheJMeter.jar $JAVA_PROPS -D$LOG4JCONFIG org.apache.jmeter.NewDriver $PROPERTIES NEW: java -classpath $JAVA_HOME:`dirname $0`/ApacheJMeter.jar $JAVA_PROPS

Re: Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
I've allready tried it but the problem remains unsolved "Mo, Jennifer" wrote: > i'm not sure how the unix verison works, but you might want to set the > CLASSPATH to the same value as JAVA_HOME. if you look at the jmeter file it > references CLASSPATH. jmeter probably cannot find where you have

Re: Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
CLASSPATH (one word) Henrik Ridder wrote: > Is this a typo CLASS_PATH? > The correct varible is CLASSPATH one word. > > If you have CLASSPATH it should be allright. > > /Henrik > > --On Tuesday, April 02, 2002 17:36:29 +0200 Patrice Le Cozler > <[EMAIL PROTECTED]> wrote: > > > my JAVA_HOME is se

RE: Couldn't find or load essential class

2002-04-02 Thread Mo, Jennifer
i'm not sure how the unix verison works, but you might want to set the CLASSPATH to the same value as JAVA_HOME. if you look at the jmeter file it references CLASSPATH. jmeter probably cannot find where you have your class files stored. -Original Message- From: Patrice Le Cozler [mailto:[

Re: Couldn't find or load essential class

2002-04-02 Thread Henrik Ridder
Is this a typo CLASS_PATH? The correct varible is CLASSPATH one word. If you have CLASSPATH it should be allright. /Henrik --On Tuesday, April 02, 2002 17:36:29 +0200 Patrice Le Cozler <[EMAIL PROTECTED]> wrote: > my JAVA_HOME is set to /share/local/java/jdk1.2.2/ > CLASS_PATH is unset and th

Re: Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
my JAVA_HOME is set to /share/local/java/jdk1.2.2/ CLASS_PATH is unset and the JMeter script (unix version) is the default one "Mo, Jennifer" wrote: > what is your JAVA_HOME and CLASSPATH set to? you might also have to make > some changes to the jmeter.bat file. > > -Original Message- >

RE: Couldn't find or load essential class

2002-04-02 Thread Mo, Jennifer
what is your JAVA_HOME and CLASSPATH set to? you might also have to make some changes to the jmeter.bat file. -Original Message- From: Patrice Le Cozler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:28 AM To: [EMAIL PROTECTED] Subject: Couldn't find or load essential class

Couldn't find or load essential class

2002-04-02 Thread Patrice Le Cozler
Hello, When I try to run JMeter, I get the following error : "Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object" my JAVA_HOME var is set to the right directory, so what's wrong ? thanks, Patrice -- To unsubscribe, e-mail:

nongui jmeter

2002-04-02 Thread Mo, Jennifer
i saw a similar question to this one, but no one responded. has anyone tried using the nongui mode of jmeter? i get the following error when i try to run a project: C:\jakarta-jmeter\bin>java -cp ;c:\jdk1.3.1_02\bin;.;../lib/xerces.jar;ApacheJMeter.jar;../lib/Tidy.jar;../ lib/log4j.jar; -Dlog4j