fl-run-test(1)

fl-run-test1

Runs a funkload test file

Usage

fl-run-test [options] file [{class.method | class | suite}]

Overview

A FunkLoad test can be used like a standard unittest using a unittest.main() and a 'python MyFile.py'.

Note that fl-run-test can be used to launch normal unittest.TestCase and (if you use python2.4) doctest in a plain text file or embedded in a python docstring. The --debug option makes doctests verbose.

Options

--version

show program's version number and exit

--help, -h

show this help message and exit

--quiet, -q

Minimal output.

--verbose, -v

Verbose output.

--debug, -d

FunkLoad and doctest debug output.

--debug-level=DEBUG_LEVEL

Debug level 3 is more verbose.

--url=MAIN_URL, -uMAIN_URL

Base URL to bench without ending '/'.

--sleep-time-min=FTEST_SLEEP_TIME_MIN, -mFTEST_SLEEP_TIME_MIN

Minumum sleep time between request.

--sleep-time-max=FTEST_SLEEP_TIME_MAX, -MFTEST_SLEEP_TIME_MAX

Maximum sleep time between request.

--dump-directory=DUMP_DIR

Directory to dump html pages.

--firefox-view, -V

Real time view using firefox, you must have a running instance of firefox in the same host.

--no-color

Monochrome output.

--loop-on-pages=LOOP_STEPS, -lLOOP_STEPS

Loop as fast as possible without concurrency on pages expect a page number or a slice like 3:5. Output some statistics.

--loop-number=LOOP_NUMBER, -nLOOP_NUMBER

Number of loop.

--simple-fetch

Don't load additional links like css or images when fetching an html page.

--stop-on-fail

Stop tests on first failure or error.

--regex=REGEX, -eREGEX

The test names must match the regex.

--list

Just list the test names.

--pause

Pause between request, press ENTER to continue.

Releases

6 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0–10

--pause since Debian 6.0 (Squeeze).

Author

Funkload was written by Benoit Delbosc.

This manual page was written by Jose Parrella <[email protected]>, for the Debian project (but may be used by others).

From funkload 1.17.1-2 in Debian 10 (Buster). Parsed by carta from the page's man source.