-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newman failed on Invalid array length when the response body greater than 100MB #3268
Comments
I think I'm experiencing the same: postmanlabs/postman-app-support#13086 |
|
Version and environment information:
Steps to reproduce the problem:
Create a new GET request like this one to download file that is greater than 100MB
GET /data/v60.0/sobjects/file/0ATewrewrweoHOAW
Host: test.my.postman.com
Add a test script to this request with this line, for example:
console.log("------------------ Hello World ----------------");
Run the collection from newman lib
The collection did not reach the script and failed on different errors according to the NodJS version,
To workaround this error, I copied the response.stream to the collection variable and deleted it from the stream. If I wanted to call the async function in the request event, I should change the response.stream reference to a new variable; otherwise, even if I deleted the buffer from response.stream and called to async function, it failed.
In NodeJs version 22.6.0, the service will throw this error:
In NodeJs version 20.12.2, the service will crash with the following logs:
The text was updated successfully, but these errors were encountered: