mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
26 lines
729 B
Markdown
26 lines
729 B
Markdown
## hrp convert
|
|
|
|
convert to JSON/YAML/gotest/pytest testcases
|
|
|
|
```
|
|
hrp convert $path... [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for convert
|
|
-d, --output-dir string specify output directory, default to the same dir with har file
|
|
-p, --profile string specify profile path to override headers (except for auto-generated headers) and cookies
|
|
--to-gotest convert to gotest scripts (TODO)
|
|
--to-json convert to JSON scripts (default)
|
|
--to-pytest convert to pytest scripts
|
|
--to-yaml convert to YAML scripts
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [hrp](hrp.md) - Next-Generation API Testing Solution.
|
|
|
|
###### Auto generated by spf13/cobra on 23-May-2022
|