7.2 pserun

Usage: pserun [OPTIONS] FILE

Runs the specified servlet file as though it was requested through the web server, and prints the output.

OPTIONS can be:

Specify query arguments for the servlet.
Use a different pse.conf file than the default.
This help message.
Specify the retrieval method for the servlet.
Do not output HTTP headers.
Specify a Cookie according to RFC 2109.
Specify session ID to simulate a PSE session.

FILE is the path to a servlet source file (.pt file), even if only the compiled version is available (as in HTTP requests).

If --method=POST is specified, then POST data will be read from standard input, which must be in application/x-www-form-urlencoded format.