I think it is not necessary to tell for a long time what it can be used for. Now you have a file where you can save variables and read them later. To create a file is quite simple, in the upper right corner, click on the gear icon, and then on the Add button. Adding them to your collection and spending a little time saving the necessary values in them, and then using them, you will get a lot of pleasure from using this tool, and you can surprise developers with the convenience and thoughtfulness if you share your collection with them. One of the key features of Postman and extremely necessary for writing tests in it is the ability to pass variables from query to query via environment variables. All that remains is to adjust everything to your parameters and the tests are ready. – or convert the XML response to a JSON object, for ease of working with it.Īll this is already ready and available to you by clicking the corresponding item in the examples. This approach is so simple and convenient that it has almost supplanted all the others. In other words, the user’s identity (authorization token) and all the parameters of the operation are passed in each request. The REST feature is that the server does not remember the user’s state between requests. One of them is REST, a standard for the architecture of interaction between applications and sites, which uses the HTTP protocol. To allow programs to communicate with each other, their API must be built according to a single standard. The API works on the same principle - it accepts your request, passes the information to the system, processes it, and returns a response. The waiter passes your order to the kitchen, where cooking magic happens, and after a while, the long-waited dish appears in front of you. The waiter comes and you place your order. Imagine that you are sitting in a restaurant, choosing a dish on the menu. Or it can be open or public – in this case, it allows external users or other programs to receive information that can be integrated into their applications.
The API can be internal, or private-when the software components are interconnected and used within the system.
The API allows you to send information directly from one program to another, bypassing the user interface.
What is the API?Īn API is an Application Programming Interface, through which one application can interact with another. But experienced coders will immediately think of using a Postman. At this point, many people may experience a little confusion.
Currently, testers often encounter a situation where the task sounds like this “man, please test this API, the backendner has sent me all of the docs”.