As developers, we all know how useful and convenient variables are - define something once and use it everywhere. We have extended this idea with the online security testing suite. Apart from the organizational benefits, you have a single source of truth which allows for quicker edits.
The beauty of variables is that they are suitable for use in the simplest of cases to the most complex ones. The things you can keep inside a variable vary from single word strings to text builders containing lists with thousands of elements. It is up to you to decide what's worth putting in.
- Open Rest.
- Go to the Variables section and define your first variables.
- Type 'var' in the place where you decided to use your variable and select Variable from the suggestions list.
- Click on the blue element and select the variable's name that you would like to use.
- You have just learned how to use Variables. Congrats!