![]() The first thing will be to create a new collection in Postman and add a variable with the main url. Here you can get the details of the services available. We will use a public api to create our tests. So without further ado, let’s put this into practice. ![]() It is important to mention that the integration (or end-to-end) tests in Postman are a complement to the unit tests of your application, so I encourage you to work with both pieces when developing a service API. The Postman tests are written in Javascript and allow you to ensure that your API works correctly and each of the services processes the parameters properly returning the expected outputs, perfectly simulating the experience of a consumer client of your application. ![]() With this pseudo-descriptive headline, I’ll try to show you the fundamental steps that allow you to try this. Among these capabilities is the main topic of this post: the use of Postman as a solution to the creation and execution of integration tests in our service application. Certainly Postman is a much more complete tool, with dozens of features to create requests, manage and share collections, synchronize accounts, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |