We can define sequence of steps ( API calls) in the collection runner. This is where collection runners come into picture and is a really useful tool. Adding personal details such as address. Taking an example of an ecommerce website, there will be a good number of steps that you have to take in order to purchase an item. Usually a user has to go through a set of actions, in turn set of API calls, to complete the user journey. Most of the user journeys are not simple one or two API calls. End to end testing is done to check the flow of an application from start to finish, just as it is designed to work. We need a sequential run to test end to end api flow to check whether everything is correct or not. If you noticed earlier, it is a sequential order run. In this chapter we will focus on:Īs we discussed above, collection runner runs the requests in a particular order. If you did not, we will do it in this tutorial and consider modifying it in detail. But, if you noticed there is a pattern on how collection runner runs the requests. A collection runner is a very important feature in Postman and without it, it becomes very hard for a person to execute more than one request and perform different tests on them at once. Till now we have seen how to run tests on a request and how to run many requests with many tests simultaneously in Collection runner.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |