Security TestRunner Arguments

Use the security test runner to run ReadyAPI security tests from the command line.

The runner is located in the <ReadyAPI>/bin directory. The file name is securitytestrunner.bat (Windows) or securitytestrunner.sh (Linux and macOS).

To configure the command line of the runner visually, start it from the ReadyAPI user interface. See Command Line Runner GUI.

General syntax

The command line has the following format:

securitytestrunner.bat [optional-arguments] <test-project>

Required arguments

Optional arguments

Examples

  • The following command runs all the security tests of the specified project:

    securitytestrunner.bat "C:\my projects\my-project.xml"
  • The following command runs the SecurityTest1 test of the specified project and exports the results in the PDF format to the C:/Results directory:

    securitytestrunner.bat -FPDF -f"C:\Test Results" -R"Security Issues Report" -nSecurityTest1 "C:\my projects\my-project.xml"

See Also

Publication date: