Automation Framework

This add-on provides a framework that allows ZAP to be automated in an easy and flexible way.

It provides the following command line options:

  • -autorun <filename> Run the automation jobs specified in the file.
  • -autogenmin <filename> Generate template automation file with the key parameters.
  • -autogenmax <filename> Generate template automation file with all parameters.
  • -autogenconf <filename> Generate template automation file using the current configuration.

To use the automation framework:

  1. Generate a template automation file using one of the -autogen* command line options
  2. Edit the file to match your requirements
  3. Run the file using the -autorun commandline option

In all cases it is recommended to also use the -cmd command line option so that the ZAP desktop is not displayed and ZAP exits as soon as it has finished generating or running the jobs defined in the file.


The environment section of the file defines the applications which the rest of the jobs can act on.


The following automation jobs are supported by this add-on:

This framework is plugable and so other add-ons may add support for other jobs.

The ‘min’ and ‘max’ templates include comments giving more information about the fields.