My apologies - by bug report does suck. I swear - I don't normally make such horrifically vague and uninformative bug reports!
When using the "HTTP Request Sampler," jmeter seems to work correctly.
When using the "HTTP Request HTTPClient Sampler," I get the attached output in jmeter.log. IMHO, the most interesting part of the log is this:
"ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:833)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
... 8 more"
"org.apache.commons.codec.DecoderException" can be found in Apache Commons Codec, which is Ubuntu's libcommons-codec-java, which I do have installed. In /usr/share/java/commons-codec-1.3.jar, org.apache.commons.codec.DecoderException is defined... so I don't know why jmeter is unable to find it.
My apologies - by bug report does suck. I swear - I don't normally make such horrifically vague and uninformative bug reports!
When using the "HTTP Request Sampler," jmeter seems to work correctly.
When using the "HTTP Request HTTPClient Sampler," I get the attached output in jmeter.log. IMHO, the most interesting part of the log is this:
"ERROR - jmeter. threads. JMeterThread: Test failed! java.lang. NoClassDefFound Error: org/apache/ commons/ codec/DecoderEx ception commons. httpclient. HttpMethodBase. <init>( HttpMethodBase. java:220) commons. httpclient. methods. GetMethod. <init>( GetMethod. java:89) jmeter. protocol. http.sampler. HTTPSampler2. sample( HTTPSampler2. java:833) jmeter. protocol. http.sampler. HTTPSamplerBase .sample( HTTPSamplerBase .java:1037) jmeter. protocol. http.sampler. HTTPSamplerBase .sample( HTTPSamplerBase .java:1023) jmeter. threads. JMeterThread. process_ sampler( JMeterThread. java:346) jmeter. threads. JMeterThread. run(JMeterThrea d.java: 243) Thread. run(Thread. java:636) ClassNotFoundEx ception: org.apache. commons. codec.DecoderEx ception URLClassLoader$ 1.run(URLClassL oader.java: 217) AccessControlle r.doPrivileged( Native Method) URLClassLoader. findClass( URLClassLoader. java:205) ClassLoader. loadClass( ClassLoader. java:323) Launcher$ AppClassLoader. loadClass( Launcher. java:294) ClassLoader. loadClass( ClassLoader. java:268) ClassLoader. loadClassIntern al(ClassLoader. java:336)
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at java.lang.
Caused by: java.lang.
at java.net.
at java.security.
at java.net.
at java.lang.
at sun.misc.
at java.lang.
at java.lang.
... 8 more"
"org.apache. commons. codec.DecoderEx ception" can be found in Apache Commons Codec, which is Ubuntu's libcommons- codec-java, which I do have installed. In /usr/share/ java/commons- codec-1. 3.jar, org.apache. commons. codec.DecoderEx ception is defined... so I don't know why jmeter is unable to find it.