Showing posts with label Postman. Show all posts
Showing posts with label Postman. Show all posts

Monday 11 December 2023

API Testing tutorials 1 - Idempotency, Safe, Cache and Versioning Concept

We are going to understand some of the important Concepts in rest API for sample example I have added a screenshot from Postman which is a popular API testing.

Concept in rest API

we are going to cover four important concepts like:

  • Idempotency
  • save
  • cache 
  • versioning
Let us understand the first concept idempotency:
Idempotent methods can be called multiple times with same input, and it produces same result.
example if we are having a get request and we are hitting it multiple times then we are going to get same result so what we can say get is idempotent.

I have talked about these concepts in detail in this video:


Sunday 15 November 2020

GraphQL API Automation with Postman

GraphQL API Automation with Postman | API Testing Part 2

How to automation GraphQL with the postman.

 

GraphQL Open API: https://github.com/APIs-guru/graphql-apis

 

GraphQL API used: https://countries-274616.ew.r.appspot.com/


A query language for your API

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.




 

Wednesday 23 August 2017

Testing Rest API with Postman






What is Rest API.


A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST, and DELETE data.

What is the Architecture of API
  • HTTP headers used for authorization and generation of token it also has content-type mostly as application/JSON
  • HTTP Request  (POST,GET,PUT,DELETE )
  • Status Code/ Response Code :2XX,3XX,4XX,5XX
To install the extension of PostMan on Chrome follow step:
  1. Open a Google chrome
  2. Click on: https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en
  3. Launch app
Now for Testing the API we need a testing Endpoint

  1. Enter the URL of the API in the URL textbox
  2. Select the type of Http method like POST
  3. Provide the Header 
  4. Now click on send
  5. You will get a response if the API is up and Working
Still in the process of writing this article, Sorry for any inconvenience. Happy Reading. 

Interview Experience with AMAZON for the role of Quality Assurance Tester

This role was for Digital/ IoT/Mobile Application based testing :)  Amazon is a dream company and everyone wants to work for that company a...

Popular Posts