How to fix error in JMeter Thread: Cannot find firefox binary in PATH

Apache JMeter ERROR - jmeter.threads.JMeterThread: Test failed! org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed.

This error occurs because you either have two different Firefox version installed or the app directory PATH is incorrect.

To fix this you need to edit JMeter properties and locate the path.
1. Go to Apache JMeter directory folder /bin
2. Open using any text editor
3. Add this piece of line below. Then restart Apache JMeter and rerun your scripts.

webdriver.firefox.bin={firefox path}


Happy JMeter scripting! 🙂