-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] Different behavior of getHeaders
in single request and collection run
#1436
Comments
hey @ahuemmer, i tried that bug but it's working fine for me. maybe i missed something? could you add some pictures and explain more? |
I'm having the same problem with the same header (content-type). |
Hi @sanjai0py , thanks for your quick reply and support! |
Update: Silly me, you don't even need the first request! The error occurs already when running the second one (returning 404) as the only request in the collection. (Running it like in the video, via the context menu besides the collection name --> "Run" --> "Run collection"). |
It happens as well when the request is in the folder (even if it's the only request there). @sanjai0py Could you let us know if the above comments are enough explanation for you to start working on this issue? |
I've noticed it's not only related to 404, but also 400, 415 and 422 (at least in my case). |
@ahuemmer Thank you for purchasing the Golden Edition 💛 @ahuemmer @zenum4 @sanjai0py I have fixed this bug. This will be shipped in the upcoming release (hopefully tonight) |
hey, that's really great that you fixed the issue, @helloanoop. i've also been working on it. can't wait for the fix to be merged so i can learn the code! |
Thank you @helloanoop , I can confirm that the issue is gone in 1.7.1. 🙂 Thanks a lot for the quick fix! |
I like Bruno very much and it makes a real difference compared to other tools for its purpose, so that I signed up for the golden edition! Thank you for your effort!
Nevertheless, there's a nasty little issue I encountered testing my API via Bruno.
This is my test code:
When I execute a get request individually (using the arrow in the upper right, besides the orange disk symbol), the test is executed correctly. The console output is:
However, if I run the same test as part of a folder within a collection (using the three dots beside the collection folder name and then choosing "Run"), the test fails, saying:
The console log indeed shows
res.getHeaders()
to be a two-dimensional array now:Interestingly, this just applies to the second GET request in my collection folder. The first one contains the same test and executes fine in either way. I tried adding a third GET request and the problem persists (now for the second and third request).
The text was updated successfully, but these errors were encountered: