usebruno / bruno

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

The environment variable does not return the saved value as expected. #3064

Open jyunsay3colts opened 1 week ago

jyunsay3colts commented 1 week ago

I have checked the following:

Describe the bug

.bru file to reproduce the bug

No response

Screenshots/Live demo link

env saved-env

bstupid commented 6 days ago

I had to go back to 1.24 ran into other env variable issues in latest

cbolivar-neostella commented 5 days ago

I think those variables that you create on script are keep into the eye icon at right image

bstupid commented 5 days ago

Hi you are correct they are kept as a variable but in 1.24 and 1.25 you can recall those values in the query body it doesnt appear that in later builds that is possible. just stating this is a regression and likely affects a bunch of folks. I use a query in one request, save a value from that response for another request.

oehnstro commented 4 days ago

I'm seeing a similar issue. I have a request where I use the Vars tab to save a post response variable. In 1.24 the variable shows up in runtime variables with the correct value, but in 1.28 the variable shows up as undefined.