You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/02/28 09:01:03 UTC

[Bug 63394] JMeter should fail with non-zero when test execution fails (due to missing test plan or other reason)

https://bz.apache.org/bugzilla/show_bug.cgi?id=63394

--- Comment #6 from Konstantin Kalinin <ko...@kkalinin.pro> ---
Let me continue the discussion. The fix covers only "missing test plan" but not
"other reason" mentioned in the summary.

It would also be nice to have a non-zero exit code for the situation of CSV and
other data files unavailability that leads to test interruption.

E.g., I'm trying to read non-existent CSV using the CSV Data Set Config
element.

2020-02-28 11:35:46,665 INFO o.a.j.s.FileServer: Stored: 123.csv
2020-02-28 11:35:46,666 ERROR o.a.j.t.JMeterThread: Test failed!
java.lang.IllegalArgumentException: Could not read file header line for file
123.csv
        at
org.apache.jmeter.services.FileServer.reserveFile(FileServer.java:284)
~[ApacheJMeter_core.jar:5.2.1]
        at
org.apache.jmeter.config.CSVDataSet.iterationStart(CSVDataSet.java:189)
~[ApacheJMeter_components.jar:5.2.1]
        at
org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:399)
~[ApacheJMeter_core.jar:5.2.1]
        at
org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:391)
~[ApacheJMeter_core.jar:5.2.1]
...
2020-02-28 11:35:46,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread
Group 1-1
2020-02-28 11:35:46,754 INFO o.a.j.e.StandardJMeterEngine: Notifying test
listeners of end of test
...

-- 
You are receiving this mail because:
You are the assignee for the bug.