The best source of information regarding JMETER that I have found is here 
http://jlorenzen.blogspot.com/2008/03/automated-performance-tests-using.html?showComment=1234202880000#c1509976267762769707

After following Jame's blog, I was able to record and successfully execute 
a script in JMeter.  I then moved the JMX to my local project and it's 
failing with the below message.  I'm running on Maven 2.0.9, JDK 1.5.  I 
followed the install/deploy instructions exactly (well, I think I did). 
The java.lang.NoSuchMethodError makes me think I'm not using the correct 
version of JOrphan or jmeter.jar itself.  Has anyone encountered this 
before or have ideas?

2009/03/02 12:12:04 INFO  - jmeter.util.JMeterUtils: Setting Locale to 
en_US 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: Copyright (c) 1998-2006 The 
Apache Software Foundation 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: Version 2.2 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: java.version=1.5.0_14 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: os.name=Windows XP 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: os.arch=x86 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: os.version=5.1 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: Default Locale=English (United 
States) 
2009/03/02 12:12:04 INFO  - jmeter.JMeter: JMeter  Locale=English (United 
States) 
...
2009/03/02 12:12:05 INFO  - jmeter.util.SSLManager: JmeterKeyStore type: 
class org.apache.jmeter.util.keystore.DefaultKeyStore 
2009/03/02 12:12:05 INFO  - jmeter.util.JsseSSLManager: class 
org.apache.jmeter.util.keystore.DefaultKeyStore 
2009/03/02 12:12:05 INFO  - jmeter.util.SSLManager: TrustStore Type: JKS 
2009/03/02 12:12:05 INFO  - jmeter.util.SSLManager: TrustStore Location: 
2009/03/02 12:12:05 INFO  - jmeter.util.SSLManager: TrustStore type: class 
org.apache.jmeter.util.keystore.DefaultKeyStore 
2009/03/02 12:12:05 INFO  - jmeter.util.JsseSSLManager: JsseSSLManager 
installed 
2009/03/02 12:12:06 ERROR - jmeter.threads.JMeterThread: Test failed! 
java.lang.NoSuchMethodError: 
org.apache.jorphan.util.JOrphanUtils.encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at 
org.apache.jmeter.protocol.http.util.EncoderCache.getEncoded(EncoderCache.java:45)
        at 
org.apache.jmeter.protocol.http.util.HTTPArgument.getEncodedName(HTTPArgument.java:144)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getQueryString(HTTPSamplerBase.java:570)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:186)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:404)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
        at 
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
        at 
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
        at java.lang.Thread.run(Thread.java:595)

I also have a few more questions:
1.  Is the JMETER Maven plug-in in a repository somewhere yet?  I'm 
suprised an apache project is not in a maven2 repo.
2.  Where would I find more recent updates?
3.  Does anyone have a recommendation for an automated testing tool like 
JMETER (record or create scripts that are played back) that they feel is 
better?

Thank you!




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Reply via email to