chotkos
chotkos

Reputation: 180

JMeter + Selenium testing stops after Firefox is opened

I tried to learn JMeter+Selenium but there is small problem: I started with this: http://blazemeter.com/blog/jmeter-webdriver-sampler done everything to the heading "Code Review". When I run Thread group it opens Firefox but does not open requested website.

My FF version is 34.0.5

JMeterPlugins-WebDriver-1.2.0

Any ideas?

Upvotes: 1

Views: 736

Answers (2)

djangofan
djangofan

Reputation: 29669

If you are doing any native calls in the driver, such as .get or .sendKeys, then the latest version of Firefox you can use is 31.0.6 . If you avoid those native calls and do non-native Javascript calls instead, such as using a JavascriptExecutor to navigate the browser, then you should be able to use a later version of Firefox.

Upvotes: 1

Dmitri T
Dmitri T

Reputation: 167992

Take a look into The WebDriver Sampler: Your Top 10 Questions Answered guide

Q. How do I Know Which Browsers are Supported? section explains how to identify appropriate Firefox version for WebDriver plugin.

  • JMeterPlugins-WebDriver-1.2.0 contains selenium-firefox-driver-2.39.0.jar
  • Looking into Selenium changelog

    v2.39.0
    =======
    WebDriver:
    * Update to support native events for Firefox 26.
    

So you need to use Firefox 26 with WebDriver-1.2.0 plugin version. You can download Firefox 26 from Mozilla FTP site

Upvotes: 3

Related Questions