You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the feature you want to add
Currently there is a bru.getCollectionVar implemented. I would also like to have a bru.setCollectionVar in order to modify the variable in a post execution script.
Mockups or Images of the feature
The syntax would be like this:
bru.setCollectionVar("token", res.body.token);
The text was updated successfully, but these errors were encountered:
Yes, I was actually able to solve my case using setVar.
However, from a consistency point of view, I think that Collection and Folder variables could have setters just like Environment variables. In any case, if there is a strong technical or philosophical reason for considering them immutable maybe it could be a good idea to include that in the documentation. It would also help clarify which kind of values are suitable for each variable type.
I have checked the following:
Describe the feature you want to add
Currently there is a bru.getCollectionVar implemented. I would also like to have a bru.setCollectionVar in order to modify the variable in a post execution script.
Mockups or Images of the feature
The syntax would be like this:
bru.setCollectionVar("token", res.body.token);
The text was updated successfully, but these errors were encountered: