Quality testing is the process of ensuring that your product is of the highest possible quality for your customers. QA is simply the techniques used to prevent issues with your software product or service and to ensure great user experience for your customers.
Hey, @dad_dare congrats on taking part in the challenge - I never tried this particular one, but, I did try a few others and I very much like the concept, itβs a nice motivation to learn something new every day!
-
API testing is testing integration with the services. We check if they meet expectations for functionality, reliability, performance and security.
-
API testing is like Michelin Guide inspector.
He goes to the restaurant and checks if the waiter communicates the order appropriately to the kitchen and delivery exactly what you ordered.
API is like a waiter in a restaurant. The customer provides an order (API request) and the waiter takes the order to the kitchen (server) and then brings it back to your food (API response).
- API is like a translator mediating between 2 people that speak different languages (client and server). API testing is making sure that the translator is intrepreting and communicating message properly.
Day 1 : what is Api Testing?
SO we can break down this question into three parts : 1. What is api : API refers to application programming interface , this is a business layers and the name suggest it is an interface so what do we mean by interface .Interface mainly refers to a platform or boundary that is shared by two different computers or systems or websites etc.
So by the above discussion we got to know that api is a layer connecting two separate systems via particular logic or program.
2. What is testing : If we look into test as layman term we all have given test in our school days so what did those test meant actually . they were the assessment/verification done against certain parameters namely answer to particular question taught by professor etc.
Similarly in software testing we do certain verification or validation depending on the business requirement and check whether all the required conditions are met or not.
3. what is api testing: If we combine the above two parts we will get to know that api testing refers to verification of apiβs at integration level and individual level to check whether all fucntionalities are working as expected by business.
Just keep at it, API testing is an immensely useful skill to have as a tester. Not only it will make you more technical (therefore more employable) it can also make your day-to-day testing activities much easier!
An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other. APIs define the methods and data formats applications can use to request and exchange information.
Types of APIs
- Web APIs (HTTP-based APIs)
- REST (Representational State Transfer)
- SOAP (Simple Object Access Protocol)
- GraphQL
- Library APIs (Used within programming languages)
- Operating System APIs (e.g., Windows API, Linux system calls)
- Hardware APIs (Interfaces for interacting with hardware components)
API Testing
API testing is a type of software testing that validates the functionality, reliability, security, and performance of an API by sending requests and verifying the responses. Unlike UI testing, API testing focuses on the business logic, security, and data exchange between software components.
Types of API Testing
- Functional Testing β Ensures the API works as intended.
- Load Testing β Measures the APIβs performance under heavy traffic.
- Security Testing β Checks for vulnerabilities like unauthorized access.
- Negative Testing β Tests how the API handles invalid inputs.
- Validation Testing β Ensures the API follows correct data formats.
- Integration Testing β Checks how the API interacts with other systems.
- Error Handling Testing β Ensures proper error responses.
Some of the ways of testing APIβs are :
Manual API Testing Tools:
- Postman
- Swagger (OpenAPI UI)
- SoapUI
- Insomnia
AI-Based API Testing Tools:
- KushoAI
- TestRigor
Automation Frameworks for API Testing:
- Rest Assured
- Karate DSL
- Tavern
- Playwright