Output summary of Automation framework

203 views
Skip to first unread message

Naveen Rajamannar

unread,
Apr 24, 2023, 8:53:26 AM4/24/23
to OWASP ZAP User Group
Hi,

when i run Automation framework with "output summary" from command line I get the following error

"Job outputSummary parent directory of summaryFile does not exist "


here is the sample yaml

- parameters:
    format: "NONE"
  rules: []
  name: "outputSummary"
  type: "outputSummary"

how to fix and use this? how does this work

Simon Bennetts

unread,
Apr 24, 2023, 12:21:11 PM4/24/23
to OWASP ZAP User Group
The "outputSummary" job is actually intended to be an internal only one, which is why we dont document it :)
We use it for the packaged scan jobs.
Why do you want to use it?
The "report" job is the documented way to get results...

Cheers,

Simon

Naveen Rajamannar

unread,
Apr 25, 2023, 6:15:23 AM4/25/23
to OWASP ZAP User Group
Sure thanks, 

I got the following error while trying a JSON report, any idea how to fix this

2023-04-25 15:34:12
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
2023-04-25 15:34:12
Job report failed to generate report:
2023-04-25 15:34:12
Automation plan failures:
2023-04-25 15:34:12
Job report finished
2023-04-25 15:34:12
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
2023-04-25 15:34:12
Job report failed to generate report:
2023-04-25 15:34:12
Job report started
Screenshot 2023-04-25 at 3.43.02 PM.png

Simon Bennetts

unread,
Apr 25, 2023, 8:53:36 AM4/25/23
to OWASP ZAP User Group
My guess is that you've set the report "displayReport" parameter to true.
If thats the case then change it to false - you can only display the report if your environment supports a GUI.

Cheers,

Simon

Naveen Rajamannar

unread,
Apr 25, 2023, 1:40:09 PM4/25/23
to OWASP ZAP User Group
Thanks that worked

Simon Bennetts

unread,
Apr 26, 2023, 4:53:14 AM4/26/23
to OWASP ZAP User Group
Thanks for letting us know :)
Reply all
Reply to author
Forward
0 new messages