Friday, January 13, 2023

Simplifying Your API Testing with POSTMAN's Advanced Features

  1.  New: This feature is used to create a unique environment or request.
  2. Import: This feature is used for importing a collection or environment.
  3. Runner: This feature is used for executing automation tests.
  4. Collaboration: This feature is used for inviting team members for interaction.
  5. Collections: Collections are created for arranging the test suite.
  6. Open New: This feature is used for opening new tabs.  
  7. My Workspace: New Workspace is created individually, or as a team.
  8. History: This feature is used for displaying past requests.
  9. Request Tab: This feature is used for displaying the title of the request.
  10. HTTP Request: This feature is used for displaying the dropdown list of various requests.  
  11. Params: This feature is used for writing the required parameters for a request.
  12. Authorization: To use APIs, appropriate authorization is required.
  13. Save: This feature is used to save the changes made to a request.
  14. Headers: You can set headers depending on the requirement of the organization.
  15. Pre-request Script: This feature is used for executing the test scripts before requests.

Thursday, January 12, 2023

What is an Application Programming Interface (API) and Examples

 API:
  • API is Application Programming Interface this acts intermediate between two different applications.
  • API is a collection of software functions and procedures.
  • In simple terms, API means a software code that can be accessed or executed.

Why would we need an API?
  • API helps two different software’s to communicate and exchange data with each other.

Everyday Examples of API:
1. Weather Snippets
  • Weather data is a popular API example that we come across regularly.
  • Google Search, Apple's Weather app, and even your smart home device.
2. Log in Using XYZ
  • log in with Facebook/Twitter/Google/GitHub capability seen on many websites.
3. Pay with PayPal

4. Google Maps
  • Google Maps is a popular app on billions of mobile devices around the world.
  • Google Maps APIs to pull customized location data, send directions, and analyze all types of location data that can help businesses provide better services and establish streamlined connections with suppliers, customers, delivery services, and more.
5. Okta
  • Okta is an identity authentication system that operates in the cloud.



Friday, January 6, 2023

Impact of slow load time on website performance

An estimated 4.4 billion in revenue loss is recorded annually due to poor web performance.

Impact on Revenue / Sales:
  • If an e-commerce site makes $100,000 per day, a 1-second page delay could cost you $2.5 million in lost sales every year.
  • 1 second of load lag time would cost Amazon $1.6 billion in sales per year.
Main Issues:


Consequences of slow page load:










Thursday, January 5, 2023

Software Testing Real Time Examples

 Classification of Software Testing:

Techniques of Black Box Testing:


1. Equivalence Partitioning

2. Boundary Value

3. Decision Table


4. State Transition


5. Error Guessing



Equivalence Partitioning VS Boundary Value Analysis

Types of Testing Methods:


Black Box VS White Box


Wednesday, January 4, 2023

Performance Testing Real Time Examples

 Performance Testing:




Types of Performance Testing:



1. Load Test


2. Stress Test



3. Scalability Test


4. Soak Test


5. Load vs Stress



JMeter Works:


Thread Group


Thread count vs Loop count


Duration Assertion


Monday, January 2, 2023

Introduction to Postman API Testing

 Postman API:

  • Postman is an API Development Environment that helps developers easily test and work with APIs.
  • It is used for backend testing where we enter the end-point URL, send the request to the server, and receive the response back from the server.
  • It provides an easy-to-use interface for developing, testing and debugging REST APIs.
  • Postman also includes a comprehensive library of pre-defined requests and response objects, making it an ideal tool for quickly testing and prototyping APIs.
Request Methods:
  • GET - Get requests are used to retrieve information from the given URL.
  • POST - To send the new data to an API.
  • PUT - This method is used to update the existing data.
  • DELETE - This is used to remove or delete the existing data.

API test actions:
  1. Verify the correct HTTP status code.
  2. Verify response payload: Check valid JSON body and correct field names, types, and values - including in error responses.
  3. Verify response headers: HTTP server headers have implications on both security and performance.
  4. Verify correct application state: This is optional and applies mainly to manual testing, or when a UI or another interface can be easily inspected.
  5. Verify basic performance sanity: If an operation was completed successfully but took an unreasonable amount of time, the test fails.

HTTP Status Codes: