Search code examples
jmeterwebdriverblazemeter

Jmeter script with Webdriver Sampler unable to find Chromedriver on Blazemeter


I do have a load testing script built using jmeter and works fine on local machine as I know where is my chrome driver. But when I upload same script on Blazemeter it does not work because not sure where chromedriver is.

Can someone tell me how to find chromedrive path on blazemeter?

enter image description here


Solution

  • This question should rather go to BlazeMeter support because we don't know anything about their infrastructure hence cannot provide the comprehensive answer.

    I think they use Taurus tool under the hood so you can add Selenium Executor to your existing test, however it has different syntax than the WebDriver Sampler.

    It might also be possible to upload linux64 version of chromedriver along with your test plan however I don't think BlazeMeter allows uploading and executing random binaries from security perspective (at least I wouldn't allow it)


    In case they do - don't forget to:

    1. Make chromedriver executable somewhere in setUp Thread Group using JSR223 Sampler with the code

      "chmod +x chromedriver".execute()
      
    2. Tick Headless box in ChromeDriver Config

    3. Use just chromedriver as the executable path.