few of the most commonly used tools in REST API
testing and how to use some of their most important
features. Based on this information, you will get a better
idea of how to determine which one suits a particular
development process the best.
Postman
One of the most intuitive and popular HTTP clients is a
tool called Postman
(https://www.getpostman.com/downloads/). It has a
very simple user interface and is very easy to use, even if
you’re just starting out with RESTful APIs. It can handle
the following:
Sending simple GETs and POSTs
Creating and executing collections (to group together requests and run
those requests in a predetermined sequence)
Writing tests (scripting requests with the use of dynamic variables,
passing data between requests, and so on)
Chaining, which allows you to use the output of response as an input to
another request
Generating simple code samples in multiple programming languages
Importing and executing collections created by the community
Now, let’s take a look at several Postman examples.
Figure 7-12 shows the user interface of Postman calling
an HTTP GET to the Postman Echo server, and Figure 7-
13 shows how easy it is to send a POST request using the
same interface.