0

java.lang.NoClassDefFoundError

While opening JMeter 5.1v in log I came across an issue

i.e WARN o.j.r.Plugin: Unable to load class: com.atlantbh.jmeter.plugins.oauth.OAuthSampler java.lang.NoClassDefFoundError: org/apache/jmeter/protocol/http/sampler/HTTPSampler2 I had added oAuth sampler plugins in lib/ext also

please suggest me to overcome this issue

  • How did you add the plugin(s)? I wouldn't expect these types of issues when you use the pluginmanager – Ray Oei Mar 25 at 13:34
0

The required class - HTTPSampler2 has been removed as a part of Bug 60727 - Drop commons-httpclient-3.1 and related elements hence the latest version you can use with this OAuthSample plugin seems to be JMeter 3.1

You can download JMeter 3.1 from JMeter Archives page

  • tq for ur guidence @Dmitri T – Guruganesh Mar 28 at 4:56
0

The class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 has been removed in JMeter v3.2. The corresponding bugzilla entry is 60727.

The documentation for the plugin states that the plugin is deprecated. You would probably have to change the base class in the sources.

That seems not to be an easy task.

  • Thanks for ur guidance @ Felix Schumacher – Guruganesh Mar 28 at 4:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.