Includes short flags and environment variable names where applicable.
Command Line args take precedent over environment variables
- --version
- other parameters are ignored
- environment variables are ignored
- --help
- -h
- other parameters are ignored
- environment variables are ignored
- -h
- --dry-run bool
- -d
- validate and display parameter values but do not execute tests
- -d
- --server string1 [string2 string3]
- -s
- SERVER
- server Url (i.e.
https://www.microsoft.com
) required
- server Url (i.e.
- --files file1 [file2 file3 ...]
- -f
- FILES
- one or more json test files
- default location current directory
required
- --delay-start int
- DELAY_START
- delay starting the validation test for int seconds
- default
0
- DELAY_START
- --log-format enum
- LOG_FORMAT
- format of log items (TsvMin, Tsv, Json, JsonCamel, None)
- default
TsvMin
- LogFormat.None conflicts with --verbose and will throw a parse error
- LOG_FORMAT
- --max-errors int
- MAX_ERRORS
- end test after max-errors
- if --max-errors is exceeded, WebV will exit with non-zero exit code
- ignored if --run-loop is specified
- default
10
- MAX_ERRORS
- --region string
- REGION
- deployment Region for logging (user defined)
- default:
null
- REGION
- --sleep int
- -l
- SLEEP
- number of milliseconds to sleep between requests
- default
0
- --strict-json bool
- -j
- STRICT_JSON
- use strict RFC rules when parsing json
- json property names are case sensitive
- exceptions will occur for
- trailing commas in json arrays
- comments in json
- default
false
- --summary
- SUMMARY
- Display test summary (None, Tsv, Json, JsonCamel, Xml)
- Xml output is in JUnit format
- default
None
- SUMMARY
- --tag string
- TAG
- user defined tag to include in logs and App Insights
- can be used to identify location, instance, etc.
- default
null
- user defined tag to include in logs and App Insights
- TAG
- --timeout int
- -t
- TIMEOUT
- HTTP request timeout in seconds
- default
30 sec
- --verbose bool
- VERBOSE
- log 200 and 300 results as well as errors
- default
false
- VERBOSE
- --verbose-errors bool
- VERBOSE_ERRORS
- display validation error messages
- default
false
- VERBOSE_ERRORS
- --zone string
- ZONE
- deployment Zone for logging (user defined)
- default:
null
- ZONE
-
Some parameters are only valid if
--run-loop
is specified -
Some parameters have different defaults if
--run-loop
is specified -
/metrics will be exposed if --run-loop is true
-
--run-loop bool
- -r
- RUN_LOOP
- runs the test in a continuous loop
- default:
false
-
--duration int
- DURATION
- run test for duration seconds then exit
- default
0 (run until OS signal)
- DURATION
-
--max-errors int
- MAX_ERRORS
- ignored if --run-loop is specified
- MAX_ERRORS
-
--port int
- -p
- PORT
- Port to use for web endpoints
- valid:
0 < port < 64K
- default:
8080
-
--random bool
- RANDOM
- randomize requests
- default
false
- RANDOM
-
--sleep int
- -l
- SLEEP
- number of milliseconds to sleep between requests
- default
1000
- note this is different with
--run-loop
- note this is different with