
It can run all those tests by a simple command and you can schedule it with some cron jobs. But what about test automation? Is it possible to automate Postman script’s execution?
#How to use postman tool for testing manual
So you can simulate each endpoint in a Postman Collection to view the potential responses, without actually reaching the back end.Īll those things make QA engineers’ life easier when it comes to manual testing. To make QA and Front-end developers’ lives easier Postman provides a Mock Service feature to simulate the backend server.
#How to use postman tool for testing software
That section allows you to write some javascript code to do those operations.īut where does Postman comes into software development lifecycle? During the development process, there’s always a delay between the front end or back-end development. It’s not easy to check the response manually so you might want to do some validation against the response automatically. This section runs after a request is made.

Consider this as the pre-processor in JMeter. It supports Javascript and does whatever you want like creating a variable, reading some values from a file,etc. This section runs before any request is made. It can be a plain text, JSON, XML object or a file. The body represents the data to be sent to the server. Those headers change according to your endpoint’s implementation. In case they are not defined properly, a server cannot handle the request properly and it can lead to a failure. They define the operating parameters of an HTTP transaction. Data following the header are sometimes called the payload or body. Header refers to supplemental data placed at the beginning of a transmitted block of data. Then you just type your AWS region, server name, credentials and you are ready to use it. For example, in case you need to use your AWS Signature you can choose AWS Signature from Authorization. That’s why Postman supports OAuth 1.0, OAuth 2.0, Basic Auth, etc as an authorization mechanism.

The endpoint might work with or without authorization. Postman request consists of 5 different sections Authorization Let’s see what the key features of a POSTMAN request are. Postman supports any HTTP request type like the POST, PUT, GET, etc. Creating a collection from requests, extracting data from any response and storing in a variable are the least you can do with Postman. It has an easy to use interface to make the request to the given endpoints. It can work with any given endpoint even if it’s Restful or XML based. Postman is an open source API testing tool.
