Do you have questions ? We got the answers!

Ask a question:

0
How to use POSTMAN plugin in API testing

Open 2 Answers 52 Views
How to use POSTMAN plugin in API testing. what are the benefits of POSTman on SOAP

2 Answers

0

Before starting with the installation and usage process, let me first give you a brief overview about the API testing

What is API

API (Application Programming Interface) testing is a software testing which involves testing application programming interfaces to determine if they are meeting the expectations of the desired functionality.

In other words, we can also say that an API is a collection of software functions and procedures [which are also known as API calls] that can be executed by other software applications

An API does not have any UI, therefore API testing is performed at the message layer. API testing requires less code and thus provides better and faster test coverage than automated GUI tests.

How API Works

One of the available application to perform API testing is using Postman. To use Postman, you must configure it in your chrome browser using below steps:

Installing POSTMAN

  1. Run Google Chrome and go to More Tools > Extensions
  2. Click Get more extensions
  3. Search POSTMAN by www.getpostman.com
  4. Add to Chrome
  5. Wait for the downloading and installation process to complete
  6. Run Postman

Using Postman

  1. Open Postman
  2. Select an API method
  3. Enter the request URL
  4. Click the Authorization tab and add authorization tokens and credentials as per requirements
  5. Enter headers (if required)
  6. Click Send to make your request
  7. If authentication is successful, the API shows a 200/OK response.
  8. You can also click on Save button to save that API request for future purpose
answered Sep 5 by Neha
edited Sep 5
1Comments
commented Sep 6 by stbadmin (4,970 points)
Removed the promotional content.
0

You can install Postman as plugin to your Chrome browser. Software testing companies use postman for API Testing. Postman's most important features is to run automated tests on your request.
You can use POSTMAN plugin for API testing using below mentioned steps.

Writing tests through Postman:
1. First select the API method in the method list (GET,POST,DELETE,PUT,etc.)
2. Enter the API endpoint in request url section.
3. Provide authorization header in 'Headers' section.
4. Enter request body under 'Body' section
5. Now click on 'Send' button to send the request.
6. You can check your response under 'Response' section.

 

answered Oct 6 by sumitkumarwatts (364 points)

Top Contributors

  • 4970 pointsstbadmin

    34 questions 454 answers218 comments

  • 433 pointsSunilBhaskar

    41 questions 15 answers32 comments

  • 425 pointsMehedi

    36 questions 3 answers14 comments

  • 364 pointssumitkumarwatts

    0 questions 14 answers0 comments

  • 354 pointsSoft Tester

    43 questions 0 answers4 comments

  • 327 pointsKeeshaGolden

    0 questions 17 answers2 comments

  • 322 pointsVipul Sharma

    44 questions 0 answers24 comments

  • 310 pointsvysh.sharma

    25 questions 0 answers0 comments

  • 267 pointsOnkar_Nimje

    33 questions 15 answers15 comments

  • 258 pointsVanitha

    26 questions 0 answers6 comments

...