Similarly, variables in Postman have two scopes While having a passport changes your scope to the world. For example, if you are an engineer and do not have a passport, your scope is limited to India since you cannot go outside. Scope of Variables in PostmanĪ scope of anything is the boundary in which that thing can be accessed and perform. In the future chapters, we will use this modified request only. NOTE: Remember to save the request by clicking Save button. So, if by any chance the URL changes, we can just go to environment and change the URL value and it will be reflected in every request. You can see the response which is same as before we were using the full URL. This variable can be now used instead of the actual URL. Now, we have created an environment and used a variable called URL here. Now we can access all the variables of this environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |