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

            Bug ID: 63394
           Summary: JMeter should fail with non-zero if test plan cannot
                    be opened
           Product: JMeter
           Version: 5.1.1
          Hardware: Macintosh
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.1.1

nit: I'm on Mac OS X 10.14 but that wasn't available in your selection

problem: jmeter exits 0, e.g. success, despite not being able to open the test
plan. this results in pipeline jobs consuming the false positive and promoting
a revision under the presumption that load testing completed successfully

expected behavior: if test plan could not be opened, jmeter exits with non-zero

steps to reproduce:

```
% jmeter -n -t somefilenamethatisntatestplan.jmx ; echo $?
Could not open somefilenamethatisntatestplan.jmx
0
```

i've looked through the commandline options and cannot see a flag that would
allow it to run in a stricter fashion (e.g. failing non-zero on "could not
open"). please advise. many thanks!

/a

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

Reply via email to