-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Windows 10 - Bruno cannot start/hangs/get killed when a request body is too large #223
Comments
Can you try this for the test.
module.exports = `
<xml>
...
</xml>
`; In the pre-request script in const largeXml = require("./data/large-xml");
req.setBody(largeXml); PS: We definitely need to fix the performance issue, just suggesting a workaround for your test. |
Hi, Thanks for the quick replies! I tried that, and at least the app doesn't break because of this request in the collection :) When trying to call the API, I got this error in bruno
Which makes some sense if there is a hard coded limit somewhere for the body length. Is this "body length" parameter" maybe overridable in some way? |
@l0new4nder3r Bruno uses axios underneath. It appears to be an axios config related issue. Will have this fixed in the next release. https://stackoverflow.com/questions/58655532/increasing-maxcontentlength-and-maxbodylength-in-axios |
@ganesh-bruno Can you try to reproduce this issue using a large payload? |
I tested this with files around |
Any news on this issue? I'm trying to post a large set of data, 65MB, and Bruno just hangs and I have to kill it |
No good news yet. The problem here is that the As a workaround: I would suggest putting the body into a seperate file and set the body inside the pre-request script. See: #385 (comment) |
v0.15.2
Bruno cannot start/hangs/get killed (app not responding, one thread gets stuck or takes too long to answer?) when a request has a large XML body.
This request was in a postman collection, it worked in Postman (even though postman took a few seconds to open the "body" tab).
The test itself was to validate that an API was able to handle a large content
The xml body line count is around 210200 lines in the "bru" file.
The file itself weighs 17-18Mb
The text was updated successfully, but these errors were encountered: