usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.74k stars 1.28k forks source link

Large request bodies make Bruno irresponsive #3371

Open raymondandreassen opened 1 month ago

raymondandreassen commented 1 month ago

I have checked the following:

Describe the feature you want to add

A large request body, like json, makes Bruno irresponsive. For me it begins at a few MB and we work on performance, a large request body is the whole purpose for us.

Why not make a new type: json-file, csv-file, or whatever? This will keep the large request body away from Bruno up to the moment of POST and hopefully make it more responsive if a large request body is used. Meaning, all it does is to read the file and use the content in a POST. Validation, prettify, etc. leaves Bruno to external programs.

Mockups or Images of the feature

image

New menu item: File. The options in the dialog can be "filepath", "browse", and filetype: json, csv, ... Actions like "validate json", etc. can be made optional in the request.

zachary-berdell-elliott commented 4 weeks ago

I worked on something that does some of what you want. Not sure when/if it will be merged but you can get the code in the branch and compile: https://github.com/usebruno/bruno/pull/2755

helloanoop commented 4 weeks ago

We are prioritizing support for File Body Upload to be completed in November. @zachary-berdell-elliott, we'll be revisiting your PR soon.

zachary-berdell-elliott commented 4 weeks ago

We are prioritizing support for File Body Upload to be completed in November. @zachary-berdell-elliott, we'll be revisiting your PR soon.

Thanks for the update. I was assuming you might be busy.