I've encountered problems with starting JMeter and WebDriver Set.
I set - as in http://jmeter-plugins.org/wiki/WebDriverTutorial/ - Thread Group
with:
jp@gc FF Driver Config
jp@gc Web Driver Sampler
View Results in Table
In Web Driver Sampler I have following lines:
WDS.sampleResult.sampleStart()
WDS.browser.get('http://google.com')
WDS.sampleResult.sampleEnd()
And I get following error:
ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.impl.conn.ManagedHttpClientConnectionFactory
Switching to Chrome does not solve the problem, I get the very same error.
How can I make it work?
Delete older / Duplicate http jars from [apache-jmeter-2.13\lib]
now it will work fine
There were few libraries (httpclient*-4.4.jar) in different versions, I removed old ones and it works:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With