postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.83k stars 1.16k forks source link

Add response Truncate limit to truncate large responses #3119

Open Ahmedfcis opened 1 year ago

Ahmedfcis commented 1 year ago

Introduce 'responseTruncateLimit' in run() options, so large responses body are truncated if exceeds 'responseTruncateLimit', related to issue #2632

sample code newman.run({ collection: collection, responseTruncateLimit: 1024, ...});