Skip to content

JMeter Jar updates cause class compatiblity issues #268

@tilln

Description

@tilln

Describe the bug
The jar_updater.py replaces JMeter Jar files with more recent versions, however, this causes an IncompatibleClassChangeError for (at least) the Blazemeter HTTP2 plugin's HTTP2 Sampler.

To Reproduce
Run a JMeter scenario with a script that includes an HTTP2 Sampler.

Expected behavior
HTTP2 sampler should work.

Please complete the following information about the solution:

  • Version: 4.0.0
  • Region: independent of region
  • Was the solution modified from the version published on this repository? No
  • If the answer to the previous question was yes, are the changes available on GitHub? n/a
  • Have you checked your service quotas for the services this solution uses? n/a
  • Were there any errors in the CloudWatch Logs? n/a

Screenshots
n/a

Logs
jmeter-<...>.log

java.lang.IncompatibleClassChangeError: Method 'org.eclipse.jetty.util.QuotedStringTokenizer$Builder org.eclipse.jetty.util.QuotedStringTokenizer.builder()' must be Methodref constant
	at org.eclipse.jetty.http.HttpField.<clinit>(HttpField.java:37) ~[jetty-http-12.0.25.jar:12.0.25]
	at org.eclipse.jetty.client.HttpClient.<init>(HttpClient.java:135) ~[jetty-client-11.0.15.jar:11.0.15]
	at com.blazemeter.jmeter.http2.core.HTTP2JettyClient.<init>(HTTP2JettyClient.java:174) ~[jmeter-bzm-http2-2.0.6.jar:?]
	at com.blazemeter.jmeter.http2.sampler.HTTP2Sampler.buildClient(HTTP2Sampler.java:240) ~[jmeter-bzm-http2-2.0.6.jar:?]
	at com.blazemeter.jmeter.http2.sampler.HTTP2Sampler.getClient(HTTP2Sampler.java:255) ~[jmeter-bzm-http2-2.0.6.jar:?]
	at com.blazemeter.jmeter.http2.sampler.HTTP2Sampler.sample(HTTP2Sampler.java:162) ~[jmeter-bzm-http2-2.0.6.jar:?]
	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1311) ~[ApacheJMeter_http.jar:5.6.3]
	at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1300) ~[ApacheJMeter_http.jar:5.6.3]
	at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651) ~[ApacheJMeter_core.jar:5.6.3]
	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570) ~[ApacheJMeter_core.jar:5.6.3]
	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501) ~[ApacheJMeter_core.jar:5.6.3]
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268) ~[ApacheJMeter_core.jar:5.6.3]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions