Skip to content

Commandline

thc202 edited this page Mar 31, 2023 · 3 revisions

The Zest Java Reference library can run scripts from the command line.

After building unpack the standalone command line application (e.g. zest-0.16.0.zip) and cd into the extracted directory.

The options supported are reported when you run the Zest shell script:

./bin/zest
Usage: -script <file>[-summary | -list] [-prefix <http://prefix>] [-token <name>=\<value>]...
    [-http-auth-site <site> -http-auth-realm <realm> -http-auth-user <user> -http-auth-password <password>]
    For more information about Zest visit https://github.com/zaproxy/zest/

Parameters

Name Description
-script Allows you to specify the Zest script to use
-summary Displays a summary of the Zest script without running it
-list Lists the Zest script without running it
-prefix Replaces the prefix with the one specified when the script is run
-token Sets the specified token values when the script is run
-http-auth-site Replaces the HTTP authentication site with the one specified when the script is run
-http-auth-realm Replaces the HTTP authentication realm with the one specified when the script is run
-http-auth-user Replaces the HTTP authentication user with the one specified when the script is run
-http-auth-password Replaces the HTTP authentication password with the one specified when the script is run

If a script is supplied and neither -summary or -list are specified then the script will be run.

See also

  • Example for more examples
  • Home for an overview of Zest
Clone this wiki locally