JMeter

Introduction

jmeter -n -t path_to_script -l path_to_results

For example:

jmeter -n -t C:\Soft\apache-jmeter-5.3\bin\examples\LoadTextPlan.jmx -l C:\Soft\apache-jmeter-5.3\bin\examples\LoadTestResult.csv

Errors

couldn't save test plan to file (Access is denied) jmeter

This error can be caused by saving the JMeter folder under Program Files, for example. And JMeter may work poorly if the path contains a space. This is written on their official website.

Move JMeter to a new folder with a space-free name. Do not forget to update the PATH system variable

Article author: Andrei Olegovich