Generate Newman report
generate_newman_reportRuns a Postman collection and writes JSON, JUnit, or HTML Extra reports to an output directory for auditing, test results, and CI/CD pipelines.
Instructions
Runs a collection and generates a report for auditing or CI/CD (JSON, JUnit, HTML Extra).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collectionSource": "<collectionSource>",
"reportFormats": "<reportFormats>",
"outputDir": "<outputDir>"
},
"name": "generate_newman_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| insecure | No | Ignore certificate errors | |
| outputDir | Yes | Output directory | |
| reportFormats | Yes | Report formats | |
| environmentPath | No | Environment path | |
| collectionSource | Yes | Collection (path, https URL, or Postman UID) | |
| iterationDataPath | No | Iteration data path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | Yes | ||
| aborted | Yes | ||
| reports | Yes | ||
| success | Yes | ||
| timings | Yes | ||
| failures | Yes | ||
| truncated | Yes | ||
| consoleLogs | Yes | ||
| exportedFiles | Yes |