Config
The config file explaination
Table of contents
overview
the config file example
debug: false
failFast: true
timeout: 2000
order:
- pattern: examples/post.toml
- pattern: examples/get.toml
- pattern: examples/asserts.*
env:
hello: world
name: tom
host: 'http://httpbin.org'
content_type: application/json
array:
- a
- b
- c
debug
: equals to./fetch run -v
, will show request/response detail. (defaultfalse
)timeout
:ms
, the timeout for each case (default0
, meansno timeout
)failFast
: if true, will exit if got fail(defaultfalse
)order
: run cases in order- if
order
is not empty, you can run without any file path, just only the config./fetch -c config.yaml
- if