Running performance tests in postman
Now that we have covered some of the different types of performance testing, let’s try running some performance tests in Postman. You can run a very simple performance test by going to a collection, clicking on Run, and then, on the Performance tab, setting up a simple load profile like one of those discussed above and hitting Run.
When running this kind of load, Postman will use the same input data for each of the different users that is simulates. However, if you want a bit more control and variation in the data, you can create a data file to control this. We will use the todo list application mentioned earlier:
- Create a todo list item in the application and get the ID of it (for this example, I will use an ID of
1
). - Create a collection, and in the collection, create a request.
- Set the URL to
{{url}}/tasks/1
and the type toPUT
. - Add this code to the Body of the request:
{ "description"...