Files
httprunner/docs/cmd/hrp_convert.md
2024-11-09 23:06:38 +08:00

30 lines
914 B
Markdown

## hrp convert
convert multiple source format to HttpRunner JSON/YAML/gotest/pytest cases
```
hrp convert $path... [flags]
```
### Options
```
--from-curl load from curl format
--from-har load from HAR format
--from-json load from json case format (default true)
--from-postman load from postman format
--from-yaml load from yaml case format
-h, --help help for convert
-d, --output-dir string specify output directory
-p, --profile string specify profile path to override headers and cookies
--to-json convert to JSON case scripts (default true)
--to-pytest convert to pytest scripts
--to-yaml convert to YAML case scripts
```
### SEE ALSO
* [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 9-Nov-2024