The nouto import and nouto export commands convert collections between formats from the command line.
nouto import <file> [options]
| Option |
Description |
Default |
--from <format> |
Source format (see below) |
Auto-detect |
-o, --output <file> |
Output file |
<name>.nouto.json |
| Format |
--from value |
Auto-detected by |
| Postman |
postman |
info.schema or info._postman_id in JSON |
| Insomnia |
insomnia |
_type: "export" in JSON |
| Hoppscotch |
hoppscotch |
Array with v and name fields |
| Thunder Client |
thunder-client |
Array with containerId field |
| HAR |
har |
log.version and log.entries in JSON |
| OpenAPI |
openapi |
openapi or swagger field, or .yaml/.yml extension |
| Bruno |
bruno |
.bru file extension |
| cURL |
curl |
Content starts with curl |
nouto import postman-collection.json
nouto import spec.yaml --from openapi
nouto import collection.json --output my-api.nouto.json
nouto export <collection-file> [options]
| Option |
Description |
Default |
--to <format> |
Target format: nouto, har |
nouto |
-o, --output <file> |
Output file |
<name>.<ext> |
nouto export my-api.nouto.json
nouto export my-api.nouto.json --to har --output traffic.har
| Code |
Meaning |
0 |
Success |
2 |
Input file not found |
4 |
Invalid collection format (export) |
6 |
Import format auto-detection failed |
7 |
Other error |
Convert a Postman collection for use with nouto run:
nouto import postman-collection.json --output my-api.nouto.json
nouto run my-api.nouto.json --reporter junit --output results.xml