ResponseToFile-Postman
ResponseToFile-Postman copied to clipboard
Postman is crashing if API has large response data
Seems like this script is not working for the API with large response data. Do you have any ideas on how to do this for large response data like 500mb?
@satishdabilpur Try updating the limits in the script.js file:
// Change the limits according to your response size
app.use(bodyParser.json({limit: '1024mb', extended: true}));
app.use(bodyParser.urlencoded({ limit: '1024mb', extended: true }));
No luck, I think the JS code on Postman tests are not handling correctly as the postman application crashes abruptly.
If we remove the Tests in Postman, API works fine.
Does Transfer-Encoding: Chunked would make any difference?