Skip to content

Error for json reporter when length is large #3340

@banjand

Description

@banjand

/githubrunner/_work/tool/node/20.19.6/x64/lib/node_modules/newman/lib/reporters/json/index.js:19
content: JSON.stringify(
.omit(o.summary, 'exports'), 0, 2)
^

RangeError: Invalid string length
at JSON.stringify ()
at EventEmitter. (/githubrunner/_work/_tool/node/20.19.6/x64/lib/node_modules/newman/lib/reporters/json/index.js:19:27)
at EventEmitter.emit (node:events:536:35)
at done (/githubrunner/_work/_tool/node/20.19.6/x64/lib/node_modules/newman/lib/run/index.js:314:29)
at /githubrunner/_work/_tool/node/20.19.6/x64/lib/node_modules/newman/node_modules/postman-runtime/lib/backpack/index.js:58:34
at PostmanCollectionRun._process (/githubrunner/_work/_tool/node/20.19.6/x64/lib/node_modules/newman/node_modules/postman-runtime/lib/runner/run.js:160:13)
at PostmanCollectionRun. (/githubrunner/_work/_tool/node/20.19.6/x64/lib/node_modules/newman/node_modules/postman-runtime/lib/runner/run.js:166:76)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions