https://bz.apache.org/bugzilla/show_bug.cgi?id=64873
Bug ID: 64873
Summary: Exception in thread "Example Thread Group 1-1"
java.lang.NoSuchMethodError:
'org.apache.http.impl.client.HttpClientBuilder
org.apache.http.impl.client.HttpClientBuilder.setDnsRe
solver(org.apache.http.conn.DnsResolver)'
Product: JMeter
Version: 5.3
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.4
Created attachment 37545
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37545&action=edit
the file to reoccur the bug
When running the src file in the attached, the blocker issue raised but in the
previous version 5, it can work:
org.apache.jmeter.samplers.SampleResult:151 - sampl result.nanoThreadSleep=5000
2020-11-05 09:19:48,690 [Request-Id:] [Example Thread Group 1-1] INFO
org.apache.jmeter.threads.JMeterThread:327 - Thread finished: Example Thread
Group 1-1
Exception in thread "Example Thread Group 1-1" java.lang.NoSuchMethodError:
'org.apache.http.impl.client.HttpClientBuilder
org.apache.http.impl.client.HttpClientBuilder.setDnsResolver(org.apache.http.conn.DnsResolver)'
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.setupClient(HTTPHC4Impl.java:1104)
at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:613)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:66)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1281)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1270)
at
org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:630)
at
org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558)
at
org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
at java.base/java.lang.Thread.run(Thread.java:832)
2020-11-05 09:19:48,694 [Request-Id:] [main] INFO
org.apache.jmeter.engine.StandardJMeterEngine:213 - Notifying test listeners of
end of test
2020-11-05 09:19:48,697 [Request-Id:] [main] INFO
org.apache.jmeter.reporters.Summariser:326 - summary = 0 in 00:00:00 =
******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err:
0 (0.00%)
summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807
Max: -9223372036854775808 Err: 0 (0.00%)
Test completed. See
E:\Programing\JmeterRestAPI\JmeterInstallation\apache-jmeter-5.0\exampleQiuhuiDesign.jtl
file for results
JMeter .jmx script is available at
E:\Programing\JmeterRestAPI\JmeterInstallation\apache-jmeter-5.0\exampleQiuhuiDesign.jmx
--
You are receiving this mail because:
You are the assignee for the bug.