Giter Club home page Giter Club logo

Comments (6)

rangav avatar rangav commented on May 20, 2024

Hi @kattiegrab, setting variable from tests won’t show up in test results, as it’s not a test.

it will only show up in test results when there is an error in parsing the json query.

from your screenshot, looks the variables are not saved in the environment or the env not set default or casing is wrong.

when the variable name matches your variable in environment it will turn green color.

Let me know if this helps, I will update the documentation.

from thunder-client-support.

rangav avatar rangav commented on May 20, 2024

And did you select drop down set env variable option?

from thunder-client-support.

kattiegrab avatar kattiegrab commented on May 20, 2024

Ok, got it. If variable set it will not show in tests tab, but still I think that saving is not working.
Yes I used set env variable . I opened another tab to make a request with this variable and it didn't turn green when I tried to use it, so looks like not saved? Shouldn't it be added to env variables tab after running request with that set env variable? I think it is like that in postman, it would be nice to have it there, so I could check if it is saved.

from thunder-client-support.

rangav avatar rangav commented on May 20, 2024

it will set an existing variable in environment with the response content, so the variable name needs to be in env before.

not exactly sure how postman works here.

from thunder-client-support.

kattiegrab avatar kattiegrab commented on May 20, 2024

ok, I added a variable to my env without value, and you are right it worked!
Thank you very much for help.
And thanks for nice tool! πŸ‘

from thunder-client-support.

rangav avatar rangav commented on May 20, 2024

No problem, great to know you like the tool. Please leave a rating or review in the marketplace, will be useful for new users.

from thunder-client-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.