Nombre | Description |
-exe | Directory to the binary of your automation utility or test tool.
It is also possible to select the internal mode:
\*\* Windows only:
PDR - complex desktop check tool.
\*\* windows & linux:
PWR - complex web check tool (with Selenium).
\*\* requires curl in the PATH:
stats - fast web server performance monitoring.
\*\* linux only:
goliat - web checks based on Pandora Webserver |
-args (opcional) | Arguments for the automation tool |
| Script(s) to be executed.
You can define as many as you need. For example:
-script script1,script2,script3.
|
-folder (opcional) | Directory in which the screenshots will be stored |
| \* PWR: defines the name of the transaction.
\* PWD: name of the phase, you can define as many as you need.
example: -name phase1,phase2,phase3
should match with the defined scripts |
-pwr\_port(opcional) | PWR server listening port
4444 by default, requires -exe PWR |
-pwr\_host(opcional) | Host on which the PWR server is located
Localhost by default, requires -exe PWR |
-pwr\_browser(opcional) | Browser in which PWR checks will be executed
\*Firefox by default, requires -exe PWR |
-pwr\_classic(opcional) | Use the old libraries
Test::WWW::Selenium
PandoraFMS::WebDriver, requires -exe PWR, default 0 |
-pwr\_override\_global\_phase\_time (opcional) | Substitute the value of the global module time, by the sum of all phases.
If the token is set to 1, the sum of all phases will be used as the module value.
|
-retries (opcional) | Maximum number of retries in case of error |
-ss\_config (opcional) | Configuration of the screenshots: X,Y,Width,Height
example: -ss\_config 0,0,0,100,100
will get a 100x100 image from coordinates 0,0
\[Windows only\]: activate the -ss\_config parameter to capture the active window. |
-checkpoint (opcional) | Create a new control screenshot |
-s(opcional) | Substitution macro, replaces each instance of \_text\_ with the configured value. It is possible to use now+1 as the value to insert the current day. You can set as many macros (-s) as you need, followed by formatting (-f) if
is needed:
-s macro1=value1 -f format1 -s macro2=value2 -f format2 |
-f(opcional) | Format for date type macros
uses std notation:
example: -f "%y%m%d" with date 2016, Sep 13 to get 160913. |
| Uses the errorlevel output for checks in case of failure. It is checked by
default in case the plugin returns any '\[error\]' phase. |
-max\_differences(opcional) | Specifies the maximum percentage difference between the control image and those obtained as a result of the test. By default it is set to the numerical value 0.5. |