thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.62k stars 127 forks source link

Pre Run allows the modification to ENV #1436

Closed wjxiz1992 closed 9 months ago

wjxiz1992 commented 9 months ago

Please describe feature/problem details and the solution you'd like. I have a Pre run request whose return value is a value in my ENV section. Everytime I run this request, I have to manually copy it to my env. Then run my main request.

Describe alternatives you've considered /

Are you using the free version/paid version/trial: free

rangav commented 9 months ago

Hi @wjxiz1992

you can use Tests tab to set response value to Env

https://github.com/rangav/thunder-client-support#setenv

rangav commented 9 months ago

I am closing this issue, feel free to continue the discussion.