I'm trying to setup Jenkins on my laptop to run JMeter scripts. I have setup the job on the localhost also added the plugin required in JMeter. My window batch command looks like:

C:\apache-jmeter-3.0\bin\jmeter.bat -n -t C:\Users\delhivery\Desktop\Create.jmx -l C:\Users\delhivery\Desktop\Created.jtl

The build is getting executed successfully but the script doesn't actually get executed. The console output displays this message:

'findstr' is not recognized as an internal or external command,
operable program or batch file.
Not able to find Java executable or version. Please check your Java installation.
Press any key to continue . . . 
Finished: SUCCESS
  • What's in jmeter.bat? Sounds like it's trying to run the batch script, and that the system it's running on doesn't know about findstr
    – ernie
    Sep 21, 2017 at 17:07
  • Am I the only one wondering what the motivation is for running loadtests(JMeter) in a continuous integration/deployment framework (Jenkins)? It seems to me like JMeter tests are a clear example of the kind of test you don't want to have in your build process but should run manually or through a scheduler.
    – Cronax
    Sep 25, 2017 at 12:28

2 Answers 2


JMeter startup script checks for Java version using Findstr program. On "normal" Windows installation the Findstr program should exist in C:\Windows\System32 directory therefore it should be on your system PATH.

So if you fix this issue by either fixing your system PATH or copying the findstr.exe file to the "bin" folder of your Java or JMeter installation you should be in position to run your JMeter test.

Detailed steps on Jenkins build configuration you can find in the Continuous Integration 101: How to Run JMeter With Jenkins article.

  • Thanks! Copying the findstr.exe file into the JMeter bin folder worked. A couple of questions though: - The post build action of publishing performance test report doesn't have JMeter option. Do I need to add any other plugin as well! - The workspace contains only log file post every build not the jtl file? Sep 26, 2017 at 8:03

By seeing the given error, issue might be in your java environment variable configuration. When running jmeter.bat in command prompt manually without Jenkins, is it working?

In Jenkins, We can configure any batch or shell script and can schedule the job.

We can execute the Jmeter script in two ways:

With the setup of job by configuring the project by running batch command. In this case no need of the plugin.

Create a freestyle project. Configure the batch command.


Screenshots given. batchfile sample

Jenkins project configuration

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.