3

I have run a thread group in JMeter in GUI mode it is working and getting results, but while running same ThreadGroup.jmx file through terminal(Non GUI] mode,I am getting an error Couldn't load .jmx file.

Can anybody suggest me how to resolve the issue.

Ori Marko
  • 56,308
  • 23
  • 131
  • 233
Kumar
  • 31
  • 4
  • Please share the command you are using to run the test, with the relative paths of the file. – Aditya Jul 05 '19 at 11:32
  • Is "Thraed" in the title a typo? – Paul Floyd Jul 05 '19 at 12:05
  • I have used below command: sh jmeter -n -t /Users/suneelkumar/apache-jmeter-5.1.1/bin/examples/SampleThreadGroup.jmx -l /Users/suneelkumar/apache-jmeter-5.1.1/bin/Result.csv – Kumar Jul 05 '19 at 15:44

1 Answers1

3

In linux using files is case sensitive, so use exact letters(as sampleThreadGroup.jmx)

Also make sure the file is saved in the correct folder

And check your user have permission to execute it (try chmod 777 for jmx file)

Ori Marko
  • 56,308
  • 23
  • 131
  • 233